Annotation Type | Description |
---|---|
ArraySchema |
The annotation may be used to define a schema of type "array" for a set of elements of the OpenAPI spec, and/or to define additional
properties for the schema.
|
Content |
The annotation may be used to define the content/media type of a parameter, request or response, by definining it as
field
Parameter.content() , RequestBody.content() or ApiResponse.content() . |
DiscriminatorMapping |
The annotation may be used in
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. |
Encoding |
The annotation may be used to add encoding details to the definition of a parameter, request or response content,
by definining it as field
Content.encoding() |
ExampleObject |
The annotation may be used to add one or more examples to the definition of a parameter, request or response content,
by definining it as field
Parameter.examples() or Content.examples() |
Schema |
The annotation may be used to define a Schema for a set of elements of the OpenAPI spec, and/or to define additional
properties for the schema.
|
Copyright © 2017. All rights reserved.