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

Use OpenAPI tag names to generage Java API interfaces #20

Merged
merged 1 commit into from
Mar 25, 2024

Commits on Mar 25, 2024

  1. Use OpenAPI tag names to generage Java API interfaces

    Add the `<useTags>true</useTags>` configuration option to the
    `openapi-generator-maven-plugin`, so it generates Java API interfaces
    based on the tags of each operation instead of using the URI paths.
    
    This leads to the following refactoring of classes:
    
    `CollectionsApi` -> `DataApi`
    `DefaultApi` -> `CapabilitiesApi`
    
    Additionally, some methods from the `DataApi` are moved to the
    `CapabilitiesApi`, as they're annotated with the `Capabilities` tag in
    the OpenAPI definition.
    groldan committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    6e05c84 View commit details
    Browse the repository at this point in the history