Skip to content
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 updates #7669

Merged
merged 3 commits into from
Sep 27, 2023

Commits on Sep 26, 2023

  1. 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 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 committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    f7b0e33 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    80c36ec View commit details
    Browse the repository at this point in the history
  3. Incorporate review feedback:

    - Use FQN the provide statement in openapi/openapi-ui/src/main/java/module-info.java
    - Update META-INF/openapi.yml
    romain-grecourt committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    06a5782 View commit details
    Browse the repository at this point in the history