Enum | Description |
---|---|
Schema.AccessMode | |
Schema.AdditionalPropertiesValue | |
Schema.RequiredMode |
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() |
PatternProperties |
Container for repeatable
PatternProperty annotation |
PatternProperty |
The annotation may be used in OpenAPI 3.1 schemas / JSON Schema.
|
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.
|
SchemaProperties |
Container for repeatable
SchemaProperty annotation |
SchemaProperty |
The annotation may be used to define properties for an Object Schema
|
Copyright © 2022. All rights reserved.