@Target(value=FIELD) @Retention(value=RUNTIME) @Inherited public @interface Content
Modifier and Type | Optional Element and Description |
---|---|
Encoding[] |
encoding
An array of encodings
The key, being the property name, MUST exist in the schema as a property.
|
ExampleObject[] |
examples
An array of examples used to show the use of the associated schema.
|
String |
mediaType
The media type that this object applies to.
|
Schema |
schema
The schema defining the type used for the request body.
|
public abstract String mediaType
public abstract ExampleObject[] examples
public abstract Schema schema
public abstract Encoding[] encoding
Copyright © 2017. All Rights Reserved.