Operation
to define one or more responses of the
Operation.ApiResponse
annotationCallback
annotationInfo.contact()
to define a contact for the OpenAPI spec.Parameter.content()
, RequestBody.content()
or ApiResponse.content()
.Schema.discriminatorMapping()
to define an optional mapping definition
in scenarios involving composition / inheritance where the value of the discriminator field does not match the schema
name or implicit mapping is not possible.Content.encoding()
Parameter.examples()
or Content.examples()
Extension
annotationOperation
to add a reference to an external
resource for extended documentation of an Operation (OpenAPI specification).ApiResponse.headers()
or Content.encoding()
.OpenAPIDefinition.info()
to populate the Info section of the OpenAPI document.Info.license()
to define a license for the OpenAPI spec.ApiResponse.links()
to add OpenAPI links to a response.OpenAPIDefinition
, with the same fields defined, behaviour is inconsistent.Parameter
annotationOperation.security()
()} to define security requirements for the
single operation (when applied at method level) or for all operations of a class (when applied at class level).SecurityRequirement
annotationSecurityScheme
annotationOperation.servers()
to define servers for the
single operation (when applied at method level) or for all operations of a class (when applied at class level).Server
annotationOperation.tags()
to define tags for the
single operation (when applied at method level) or for all operations of a class (when applied at class level).Tag
annotationCopyright © 2018. All rights reserved.