-
Notifications
You must be signed in to change notification settings - Fork 9
[fix included] produces / consumes mapping is generated multiple times #126
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
Comments
yes, the example makes the missing distinct quite obvious 🤨 Thanks for reporting. |
hauner
added a commit
to openapi-processor/openapi-processor-core
that referenced
this issue
Apr 23, 2021
hauner
added a commit
to openapi-processor/openapi-processor-core
that referenced
this issue
Apr 23, 2021
hauner
added a commit
that referenced
this issue
Apr 23, 2021
hauner
added a commit
to openapi-processor/openapi-processor-micronaut
that referenced
this issue
Apr 23, 2021
hauner
added a commit
to openapi-processor/openapi-processor-micronaut
that referenced
this issue
Apr 23, 2021
hauner
added a commit
to openapi-processor/openapi-processor-core
that referenced
this issue
Apr 25, 2021
(cherry picked from commit 7874d6b)
hauner
added a commit
to openapi-processor/openapi-processor-core
that referenced
this issue
Apr 25, 2021
(cherry picked from commit 81e5eb0)
hauner
added a commit
to openapi-processor/openapi-processor-micronaut
that referenced
this issue
Apr 25, 2021
hauner
added a commit
to openapi-processor/openapi-processor-micronaut
that referenced
this issue
Apr 25, 2021
…s/produces (cherry picked from commit 77b0be3)
hauner
added a commit
to openapi-processor/openapi-processor-micronaut
that referenced
this issue
Apr 25, 2021
fixed & published in 2021.3.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There must be a distinct filter applied to the produces and consumes mappings since otherwise it generates the following structure:
from this yaml:
Fix:
openapi-processor-spring/src/main/kotlin/io/openapiprocessor/spring/writer/java/MappingAnnotationWriter.kt
Line 46 in b6cc315
openapi-processor-spring/src/main/kotlin/io/openapiprocessor/spring/writer/java/MappingAnnotationWriter.kt
Line 57 in b6cc315
The text was updated successfully, but these errors were encountered: