openapi-processor-spring
openapi-processor-spring copied to clipboard
an OpenAPI 3.0 & 3.1 interface & model java code generator for Spring Boot
Trying to get started with code generation. Created a new gradle subproject with my openapi.yaml and these files straight out of the docs: build.gradle: ```` plugins { id 'io.openapiprocessor.openapi-processor' version...
Given a definition like: ``yaml Data: type: object properties: status: type: string) readOnly: true ``` get generated java: ```java public record Data { @JsonProperty(value = "status", access = JsonProperty.Access.READ_ONLY) String...
Bumps [io.openapiprocessor:openapi-processor-api](https://github.com/openapi-processor/openapi-processor-api) from 2024.1 to 2024.2. Release notes Sourced from io.openapiprocessor:openapi-processor-api's releases. 2024.2 extracted integration testing interface from: io.openapiprocessor.api.v2.OpenApiProcessorTest to: io.openapiprocessor.test.api.OpenApiProcessorTest with group/artifact openapi-processor:openapi-processor-test-api:<core version> Commits 331b65d next release 7bbe182...
Generation of the oneOf interface works fine if you only reference it once in the spec. For every time you reference the interface it seems like the code generator adds...
I've pushed a failing test case to illustrate this behaviour: https://github.com/openapi-processor/openapi-processor-spring/compare/master...vvanpo:openapi-processor-spring:master When running this, the test output shows the following diff: ``` /.../openapi-processor-spring/build/resources/testInt/tests/params-request-body-annotation/outputs/api/Api.java --- /.../openapi-processor-spring/build/resources/testInt/tests/params-request-body-annotation/outputs/api/Api.java +++ /.../generated/api/Api.java @@ -1,8 +1,9...
Bumps [org.apache.groovy:groovy-bom](https://github.com/apache/groovy) from 4.0.28 to 5.0.2. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...