# 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")))

Related Packages
Package
Description
org.eclipse.microprofile.openapi.annotations
A set of annotations, many derived from Swagger Core library.
Class
Description
Content
This object provides schema and examples for a particular media type.
DiscriminatorMapping
This object maps payload values to a particular Schema.
Encoding
Single encoding definition to be applied to single Schema Object
ExampleObject
This object illustrates an example of a particular content
Schema
The Schema Object allows the definition of input and output data types.
Schema.False
Marker class for use in `additionalProperties` to indicate that the corresponding schema's `additionalPropertiesBoolean` value is to be set to boolean `false`.
Schema.True
Marker class for use in `additionalProperties` to indicate that the corresponding schema's `additionalPropertiesBoolean` value is to be set to boolean `true`.
SchemaProperty
The SchemaProperty Object allows the definition of input and output data types nested within the `properties` attribute of a `Schema` annotation.