Package-level declarations
Types
A default builder for anything that needs to implement BodyDsl.
DSL for body-like objects, i.e. objects that contain a "content" property.
A content type.
Builder object for the info object.
DSL for the info object.
A builder for MediaTypeDsl.
DSL for media type objects(https://spec.openapis.org/oas/v3.1.0#media-type-object
Represents multiple content types. This is useful for functions that can be applied to multiple content types at a time (mostly for the sake of concision).
This interface is passed to most of the builder classes and provides utilities that need to be present through the "DSL tree".
A version of the OpenAPI standard. This only includes the x.y
part of the x.y.z
version scheme.
Builder for OperationDsl
DSL for the operation object.
Builder for ParameterDsl
DSL for https://spec.openapis.org/oas/v3.1.0#parameter-object
The kind of parameter (i.e. its location).
Builder for PathDsl
DSL for the path item object.
Builder for PathsDsl.
DSL for the paths object.
Interface that contains standard content types.
Builder for the request body DSL
DSL for the request body object.
Builder for Response objects, implementing the ResponseDsl.
DSL for https://spec.openapis.org/oas/v3.1.0#response-object.
Builder for the RootDsl.
Builder for the security scheme DSL.
DSL for the security scheme object.
Builder for ServerDsl.
DSL for the server object.
An implementation of OpenApiDslContext that keeps context information for Swagger Core.
Actual builder for TagDsl.
DSL for the tag object.
Functions
Set the schema to be of type T
.
Set the schema to be of type T
, with the given object set as the example.
Set the schema to be of type ktype, with the given object set as the example.
Dumps this OpenAPI object to a JSON string.
Converts this OpenAPI object to a version 3.1 OpenAPI object.
Dumps this OpenAPI object to a prettified YAML string.