Annotation Interface Components
Describes the Components object that holds various reusable objects for different aspects of the OpenAPI
Specification (OAS).
- See Also:
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionCallback[]
An object to hold reusable Callback Objects.An object to hold reusable Example Objects.Header[]
An object to hold reusable Header Objects.Link[]
An object to hold reusable Link Objects.An object to hold reusable Parameter Objects.An object to hold reusable Request Body Objects.An object to hold reusable Response Objects.Schema[]
An object to hold reusable Schema Objects.An object to hold reusable Security Scheme Objects.
-
Element Details
-
schemas
Schema[] schemasAn object to hold reusable Schema Objects.- Returns:
- the reusable Schema objects.
- Default:
- {}
-
responses
APIResponse[] responsesAn object to hold reusable Response Objects.- Returns:
- the reusable ApiResponse objects.
- Default:
- {}
-
parameters
Parameter[] parametersAn object to hold reusable Parameter Objects.- Returns:
- the reusable Parameter objects.
- Default:
- {}
-
examples
ExampleObject[] examplesAn object to hold reusable Example Objects.- Returns:
- the reusable Example objects.
- Default:
- {}
-
requestBodies
RequestBody[] requestBodiesAn object to hold reusable Request Body Objects.- Returns:
- the reusable RequestBody objects.
- Default:
- {}
-
headers
Header[] headersAn object to hold reusable Header Objects.- Returns:
- the reusable Header objects.
- Default:
- {}
-
securitySchemes
SecurityScheme[] securitySchemesAn object to hold reusable Security Scheme Objects.- Returns:
- the reusable SecurityScheme objects.
- Default:
- {}
-
links
Link[] linksAn object to hold reusable Link Objects.- Returns:
- the reusable Link objects.
- Default:
- {}
-
callbacks
Callback[] callbacksAn object to hold reusable Callback Objects.- Returns:
- the reusable Callback objects.
- Default:
- {}
-