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

Added support additionalEnumTypeAnnotations, additionalModelTypeAnnotations, additionalOneOfTypeAnnotations properties to generator. #1771

Merged

Conversation

altro3
Copy link
Collaborator

@altro3 altro3 commented Sep 16, 2024

Added ability to set additionalProperties by gradle / maven plugin

@altro3
Copy link
Collaborator Author

altro3 commented Sep 16, 2024

@scprek this PR solve problem with new properties. After micronaut-openapi 6.12.4 we could set properties with block additionalProperties like this:

micronaut {
    openapi {
        client(file("swagger.yml")) {
            additionalProperties = [
                apiPackageName : "com.api.openapi.generated.api",
                useReactive : false,
                useAuth : true
            ]
        }
    }
}

@altro3 altro3 force-pushed the additional-properties branch from 182f87d to 5b4e311 Compare September 16, 2024 17:06
@altro3 altro3 force-pushed the additional-properties branch from 5b4e311 to 12f8a27 Compare September 21, 2024 08:03
…notations`, `additionalOneOfTypeAnnotations` properties to generator.

Added ability to set `additionalProperties` by gradle / maven plugin
@altro3 altro3 force-pushed the additional-properties branch from 12f8a27 to 9949831 Compare September 21, 2024 08:09
@graemerocher graemerocher merged commit 77cc718 into micronaut-projects:6.12.x Sep 26, 2024
6 checks passed
@scprek
Copy link
Contributor

scprek commented Oct 1, 2024

IS this in ?

micronaut {
    openapi {
        version.set("6.12.4-SNAPSHOT")

and

micronautGradlePlugin=4.4.4-SNAPSHOT

@altro3
Copy link
Collaborator Author

altro3 commented Oct 2, 2024

IS this in ?

micronaut {
    openapi {
        version.set("6.12.4-SNAPSHOT")

and

micronautGradlePlugin=4.4.4-SNAPSHOT

planned to release 6.12.4, but the team had a different vision. so the next release is 6.13.0

you will be able to set additionalProperties in the gradle only after merging this pull request: micronaut-projects/micronaut-gradle-plugin#1034

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants