-
Notifications
You must be signed in to change notification settings - Fork 96
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
Add support extra Schemas #1610
Conversation
openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiExtraSchemaVisitor.java
Outdated
Show resolved
Hide resolved
*/ | ||
@Internal | ||
@SupportedOptions(MICRONAUT_OPENAPI_ENABLED) | ||
public class OpenApiExtraSchemaVisitor implements TypeElementVisitor<Object, Object> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
override getVisitorKind
and return ISOLATING
since this processes just a single annotation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if I set ISOLATING
kind, it doesn't work
openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiExtraSchemaVisitor.java
Outdated
Show resolved
Hide resolved
openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiExtraSchemaVisitor.java
Outdated
Show resolved
Hide resolved
7518b61
to
2423d33
Compare
could you target the 6.12.x branch? |
openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiExtraSchemaVisitor.java
Outdated
Show resolved
Hide resolved
@graemerocher done |
Thanks for the contribution |
Move schema definition logic to different class Fixed micronaut-projects#1598
Move schema definition logic to different class
Fixed #1598