Uses of Package
io.swagger.v3.oas.annotations.media
-
Classes in io.swagger.v3.oas.annotations.media used by io.swagger.v3.oas.annotations Class 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 fieldParameter.content()
,RequestBody.content()
orApiResponse.content()
.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 fieldParameter.examples()
orContent.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. -
Classes in io.swagger.v3.oas.annotations.media used by io.swagger.v3.oas.annotations.headers Class Description 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. -
Classes in io.swagger.v3.oas.annotations.media used by io.swagger.v3.oas.annotations.media Class 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.DiscriminatorMapping The annotation may be used inSchema.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 fieldContent.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 fieldParameter.examples()
orContent.examples()
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.Schema.AccessMode Schema.AdditionalPropertiesValue Schema.RequiredMode SchemaProperty The annotation may be used to define properties for an Object Schema -
Classes in io.swagger.v3.oas.annotations.media used by io.swagger.v3.oas.annotations.parameters Class Description Content The annotation may be used to define the content/media type of a parameter, request or response, by defining it as fieldParameter.content()
,RequestBody.content()
orApiResponse.content()
. -
Classes in io.swagger.v3.oas.annotations.media used by io.swagger.v3.oas.annotations.responses Class Description Content The annotation may be used to define the content/media type of a parameter, request or response, by defining it as fieldParameter.content()
,RequestBody.content()
orApiResponse.content()
.