-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.x] OpenAPI parsing fails to handle default
in some cases
#7643
Comments
github-actions
bot
added
4.x
Version 4.x
backport
Issues that are merged into a single branch, but missing in either master or previous release
bug
Something isn't working
open-api
labels
Sep 20, 2023
PR #5289 contains the fix for 3.x which is the same as needed for 4.x. Romain already knows this as he found the bug still in the 4.x codebase. |
romain-grecourt
added a commit
to romain-grecourt/helidon
that referenced
this issue
Sep 26, 2023
- Minimalistic SE OpenAPI support with SPI to implement the MicroProfile support and OpenAPI UI - Make openapi a multi-module with two sub-modules: openapi and openapi-ui - Add openapi/tests and move helidon-iogh-5792 from tests/integration - Microprofile OpenAPI refactorings: - MPOpenAPIBuilder into FilteredIndexViewsBuilder as a utility to create List<FilteredIndexView> - MpOpenApiManager implements OpenApiManager using SmallRye OpenAPI (what was before in MpOpenApiFeature - Prefix utility classes with OpenApi: - ParserHelper -> OpenApiParser - Serializer -> OpenApiSerializer - Renamed HelidonAnnotationScannerExtension to JsonpAnnotationScannerExtension to remove 'Helidon' from the class name - Renamed tests to use Test as a suffix instead of prefix Fixes helidon-io#7247 (SE OpenAPI static file support) Fixes helidon-io#7240 (Fix helidon-iogh-5792 integration test) Fixes helidon-io#6130 (Port OpenAPI UI integration to 4.x) Fixes helidon-io#7643 (OpenAPI parsing fails to handle default in some cases) Fixes helidon-io#7668 (Routing path with optional sequence not supported)
romain-grecourt
added a commit
to romain-grecourt/helidon
that referenced
this issue
Sep 26, 2023
- Minimalistic SE OpenAPI support with SPI to implement the MicroProfile support and OpenAPI UI - Make openapi a multi-module with two sub-modules: openapi and openapi-ui - Add openapi/tests and move helidon-iogh-5792 from tests/integration - Re-enabled test, make it strictly a test (not an app) and use version.lib.snakeyaml to override the SnakeYAML version - Created OpenApiFormat to formalize what was before OpenApiFeature.OpenAPIMediaType - Microprofile OpenAPI refactorings: - MPOpenAPIBuilder into FilteredIndexViewsBuilder as a utility to create List<FilteredIndexView> - MpOpenApiManager implements OpenApiManager using SmallRye OpenAPI (what was before in MpOpenApiFeature - Prefix utility classes with OpenApi: - ParserHelper -> OpenApiParser - Serializer -> OpenApiSerializer - Renamed HelidonAnnotationScannerExtension to JsonpAnnotationScannerExtension to remove 'Helidon' from the class name - Renamed tests to use Test as a suffix instead of prefix - Updated examples/openapi to remove the in-memory model related features (i.e. reader, filter) - Renamed examples/microprofile/openapi-basic to examples/microprofile/openapi (to be symetrical with SE) - Updated tests to use new testing patterns (i.e. helidon-microprofile-testing-junit5 for MP and helidon-webserver-testing-junit5 for SE) Fixes helidon-io#7247 (SE OpenAPI static file support) Fixes helidon-io#7240 (Fix helidon-iogh-5792 integration test) Fixes helidon-io#6130 (Port OpenAPI UI integration to 4.x) Fixes helidon-io#7643 (OpenAPI parsing fails to handle default in some cases) Fixes helidon-io#7668 (Routing path with optional sequence not supported)
romain-grecourt
added a commit
to romain-grecourt/helidon
that referenced
this issue
Sep 26, 2023
- Minimalistic SE OpenAPI support with SPI to implement the MicroProfile support and OpenAPI UI - Make openapi a multi-module with two sub-modules: openapi and openapi-ui - Add openapi/tests and move helidon-iogh-5792 from tests/integration - Re-enabled test, make it strictly a test (not an app) and use version.lib.snakeyaml to override the SnakeYAML version - Created OpenApiFormat to formalize what was before OpenApiFeature.OpenAPIMediaType - Microprofile OpenAPI refactorings: - MPOpenAPIBuilder into FilteredIndexViewsBuilder as a utility to create List<FilteredIndexView> - MpOpenApiManager implements OpenApiManager using SmallRye OpenAPI (what was before in MpOpenApiFeature - Prefix utility classes with OpenApi: - ParserHelper -> OpenApiParser - Serializer -> OpenApiSerializer - Renamed HelidonAnnotationScannerExtension to JsonpAnnotationScannerExtension to remove 'Helidon' from the class name - Renamed tests to use Test as a suffix instead of prefix - Updated examples/openapi to remove the in-memory model related features (i.e. reader, filter) - Renamed examples/microprofile/openapi-basic to examples/microprofile/openapi (to be symetrical with SE) - Updated tests to use new testing patterns (i.e. helidon-microprofile-testing-junit5 for MP and helidon-webserver-testing-junit5 for SE) - Generated config docs for openapi/openapi, openapi/openapi-ui, microprofile/openapi (Removed old files) Fixes helidon-io#7247 (SE OpenAPI static file support) Fixes helidon-io#7240 (Fix helidon-iogh-5792 integration test) Fixes helidon-io#6130 (Port OpenAPI UI integration to 4.x) Fixes helidon-io#7643 (OpenAPI parsing fails to handle default in some cases) Fixes helidon-io#7668 (Routing path with optional sequence not supported)
romain-grecourt
added a commit
to romain-grecourt/helidon
that referenced
this issue
Sep 26, 2023
- Minimalistic SE OpenAPI support with SPI to implement the MicroProfile support and OpenAPI UI - Make openapi a multi-module with two sub-modules: openapi and openapi-ui - Add openapi/tests and move helidon-iogh-5792 from tests/integration - Re-enabled test, make it strictly a test (not an app) and use version.lib.snakeyaml to override the SnakeYAML version - Created OpenApiFormat to formalize what was before OpenApiFeature.OpenAPIMediaType - Microprofile OpenAPI refactorings: - MPOpenAPIBuilder into FilteredIndexViewsBuilder as a utility to create List<FilteredIndexView> - MpOpenApiManager implements OpenApiManager using SmallRye OpenAPI (what was before in MpOpenApiFeature - Prefix utility classes with OpenApi: - ParserHelper -> OpenApiParser - Serializer -> OpenApiSerializer - Renamed HelidonAnnotationScannerExtension to JsonpAnnotationScannerExtension to remove 'Helidon' from the class name - Renamed tests to use Test as a suffix instead of prefix - Updated examples/openapi to remove the in-memory model related features (i.e. reader, filter) - Renamed examples/microprofile/openapi-basic to examples/microprofile/openapi (to be symetrical with SE) - Updated tests to use new testing patterns (i.e. helidon-microprofile-testing-junit5 for MP and helidon-webserver-testing-junit5 for SE) - Generated config docs for openapi/openapi, openapi/openapi-ui, microprofile/openapi (Removed old files) Fixes helidon-io#7247 (SE OpenAPI static file support) Fixes helidon-io#7240 (Fix helidon-iogh-5792 integration test) Fixes helidon-io#6130 (Port OpenAPI UI integration to 4.x) Fixes helidon-io#7643 (OpenAPI parsing fails to handle default in some cases) Fixes helidon-io#7668 (Routing path with optional sequence not supported)
Merged
Merged
romain-grecourt
added a commit
to romain-grecourt/helidon
that referenced
this issue
Sep 26, 2023
- Minimalistic SE OpenAPI support with SPI to implement the MicroProfile support and OpenAPI UI - Make openapi a multi-module with two sub-modules: openapi and openapi-ui - Add openapi/tests and move helidon-iogh-5792 from tests/integration - Re-enabled test, make it strictly a test (not an app) and use version.lib.snakeyaml to override the SnakeYAML version - Created OpenApiFormat to formalize what was before OpenApiFeature.OpenAPIMediaType - Microprofile OpenAPI refactorings: - MPOpenAPIBuilder into FilteredIndexViewsBuilder as a utility to create List<FilteredIndexView> - MpOpenApiManager implements OpenApiManager using SmallRye OpenAPI (what was before in MpOpenApiFeature - Prefix utility classes with OpenApi: - ParserHelper -> OpenApiParser - Serializer -> OpenApiSerializer - Renamed HelidonAnnotationScannerExtension to JsonpAnnotationScannerExtension to remove 'Helidon' from the class name - Renamed tests to use Test as a suffix instead of prefix - Updated examples/openapi to remove the in-memory model related features (i.e. reader, filter) - Renamed examples/microprofile/openapi-basic to examples/microprofile/openapi (to be symetrical with SE) - Updated tests to use new testing patterns (i.e. helidon-microprofile-testing-junit5 for MP and helidon-webserver-testing-junit5 for SE) - Generated config docs for openapi/openapi, openapi/openapi-ui, microprofile/openapi (Removed old files) Fixes helidon-io#7247 (SE OpenAPI static file support) Fixes helidon-io#7240 (Fix helidon-iogh-5792 integration test) Fixes helidon-io#6130 (Port OpenAPI UI integration to 4.x) Fixes helidon-io#7643 (OpenAPI parsing fails to handle default in some cases) Fixes helidon-io#7668 (Routing path with optional sequence not supported)
romain-grecourt
added a commit
that referenced
this issue
Sep 27, 2023
* OpenAPI updates. - Minimalistic SE OpenAPI support with SPI to implement the MicroProfile support and OpenAPI UI - Make openapi a multi-module with two sub-modules: openapi and openapi-ui - Add openapi/tests and move gh-5792 from tests/integration - Re-enabled test, make it strictly a test (not an app) and use version.lib.snakeyaml to override the SnakeYAML version - Created OpenApiFormat to formalize what was before OpenApiFeature.OpenAPIMediaType - Microprofile OpenAPI refactorings: - MPOpenAPIBuilder into FilteredIndexViewsBuilder as a utility to create List<FilteredIndexView> - MpOpenApiManager implements OpenApiManager using SmallRye OpenAPI (what was before in MpOpenApiFeature - Prefix utility classes with OpenApi: - ParserHelper -> OpenApiParser - Serializer -> OpenApiSerializer - Renamed HelidonAnnotationScannerExtension to JsonpAnnotationScannerExtension to remove 'Helidon' from the class name - Renamed tests to use Test as a suffix instead of prefix - Updated examples/openapi to remove the in-memory model related features (i.e. reader, filter) - Renamed examples/microprofile/openapi-basic to examples/microprofile/openapi (to be symetrical with SE) - Updated tests to use new testing patterns (i.e. helidon-microprofile-testing-junit5 for MP and helidon-webserver-testing-junit5 for SE) - Generated config docs for openapi/openapi, openapi/openapi-ui, microprofile/openapi (Removed old files) Fixes #7247 (SE OpenAPI static file support) Fixes #7240 (Fix gh-5792 integration test) Fixes #6130 (Port OpenAPI UI integration to 4.x) Fixes #7643 (OpenAPI parsing fails to handle default in some cases) Fixes #7668 (Routing path with optional sequence not supported) * Update MapMatcher javadoc * Incorporate review feedback: - Use FQN the provide statement in openapi/openapi-ui/src/main/java/module-info.java - Update META-INF/openapi.yml
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Backport of #5288 for Helidon 4.x
The text was updated successfully, but these errors were encountered: