Package org.eclipse.microprofile.openapi.annotations.media
@Version("1.2")
@ProviderType
package org.eclipse.microprofile.openapi.annotations.media
A set of annotations to represent input and output data type, media type and relevant examples.
Example usage:
content = @Content(
examples = @ExampleObject(
name = "example",
value = "1")))
-
ClassDescriptionThis object provides schema and examples for a particular media type.This object maps payload values to a particular Schema.Single encoding definition to be applied to single Schema ObjectThis object illustrates an example of a particular contentThe Schema Object allows the definition of input and output data types.Marker class for use in
additionalPropertiesto indicate that the corresponding schema'sadditionalPropertiesBooleanvalue is to be set to booleanfalse.Marker class for use inadditionalPropertiesto indicate that the corresponding schema'sadditionalPropertiesBooleanvalue is to be set to booleantrue.The SchemaProperty Object allows the definition of input and output data types nested within thepropertiesattribute of aSchemaannotation.