Enum | Description |
---|---|
Schema.AccessMode |
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 defining it as
field
Parameter.content() , RequestBody.content() or ApiResponse.content() . |
DiscriminatorMapping |
The annotation may be used in
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. |
Encoding |
The annotation may be used to add encoding details to the definition of a parameter, request or response content,
by defining 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 defining 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 © 2021. All rights reserved.