Representation of Callback Object
Representation of Components Object
Representation of Contact Object
Representation of Discriminator Object
Representation of Encoding Object
Representation of Example Object
Representation of External Documentation Object
Representation of Header Object
Representation of Info Object
Representation of License Object
Representation of Link Object
Representation of Media Type Object
Representation of OAuth Flow Object
Representation of OAuth Flows Object
Representation of OpenAPI Object from OpenAPI 3.0 specification.
Representation of
OpenAPI Object
from OpenAPI 3.0 specification.
It may be serialized to OpenAPI 3.0 compliant JSON using JsonStringOutput
.
This JSON can then be consumed by tools that support OpenAPI 3.0, e.g.
Swagger UI.
Representation of Operation Object
Representation of Parameter Object
Representation of Path Item Object
Representation of Paths Object
Representation of Paths Object
Represents a value which is either some directly available, inlined value (usually one of the OpenAPI objects, e.g.
Represents a value which is either some directly available, inlined value (usually one of the OpenAPI objects, e.g. Schema, Parameter, Operation, etc.) or a Reference Object.
Representation of Request Body Object
Representation of Response Object
Representation of Responses Object
Intermediate typeclass which serves as basis for RestResponses and RestRequestBody.
Intermediate typeclass which serves as basis for RestResponses and RestRequestBody. RestMediaTypes is derived by default from RestSchema. It should be defined manually for every type which has custom serialization to HttpBody defined so that generated OpenAPI properly reflects that custom serialization format.
Typeclass which defines how OpenAPI RequestBody Object will look like for a Given type when that type is used as a type of Body parameter of a CustomBody method.
Typeclass which defines how OpenAPI RequestBody Object will look like for a Given type when that type is used as a type of Body parameter of a CustomBody method. By default, RestRequestBody is derived from RestMediaTypes which by itself is derived by default from RestSchema.
Typeclass which defines how an OpenAPI Responses Object will look like for a given type.
Typeclass which defines how an OpenAPI Responses Object will look like for a given type. By default, RestResponses is derived based on RestMediaTypes for that type which is itself derived by default from RestSchema for that type. It should be defined manually for every type which has custom serialization to RestResponse defined so that generated OpenAPI properly reflects that custom serialization format.
Just like RestResponses, RestResultType is a typeclass that defines how an OpenAPI Responses Object will look like for an HTTP method which returns given type.
Just like RestResponses,
RestResultType is a typeclass that defines how an OpenAPI
Responses Object will look like for an HTTP method which returns given type. The difference between
RestResultType and RestResponses
is that RestResultType is defined for full result
type which usually is some kind of asynchronous wrapper over actual result type (e.g. Future
).
In such situation, RestResponses must be provided for T
while
RestResultType is provided
for Future[T]
(or whatever async wrapper is used), based on the RestResponses
instance of T
. You can see an example of this in FutureRestImplicits.
RestResultType for OpenApiMetadata is analogous to HttpResponseType for RestMetadata.
Representation of Schema Object
An implementation of SchemaResolver which registers named RestSchemas and replaces them with a Reference Object.
An implementation of SchemaResolver which registers named RestSchemas and replaces them with a Reference Object. All the registered schemas can then be extracted and listed in the Components object.
Representation of Security Requirement Object
Representation of Security Requirement Object
Representation of Security Scheme Object
Representation of Security Scheme Object
Representation of Server Object
Representation of Server Variable Object
Representation of parameter style
Representation of Tag Object
Representation of Xml Object
Representation of Callback Object