Annotation Interface OpenAPI
This annotation is a more structured way to document data that could be added with custom Javadoc
tags. Values from this annotation have precedence over the Javadoc values. If values from this
annotation are empty, data from the Javadoc comment will be used.
- Author:
- chhorz
-
Element Details
-
tags
String[] tagsList of OpenAPI tags that are described in theoas-generator.yml
file.If empty the Javadoc tags
@category
and@tag
will be evaluated.- Default:
- {}
-
securitySchemes
String[] securitySchemesList of security scheme names from theoas-generator.yml
fileIf empty the Javadoc tags
@security
will be evaluated.- Default:
- {}
-
responses
OpenAPIResponse[] responsesList of responses for the given method.If empty the Javadoc tags
@response
will be evaluated.- Default:
- {}
-