ParameterBuilder
class ParameterBuilder(context: OpenApiDslContext, name: String, kind: ParameterKind) : Buildable<Parameter> , ParameterDsl
Builder for ParameterDsl
Properties
Link copied to clipboard
If true, the parameter value can be empty. Valid only for query parameters. Default is false.
Link copied to clipboard
If true, the parameter value can contain reserved characters.
Link copied to clipboard
Specifies that a parameter is deprecated and should be transitioned out of usage. False by default.
Link copied to clipboard
A brief description of the parameter. This could contain examples of use. CommonMark syntax may be used for rich text representation.
Link copied to clipboard
Functions
Link copied to clipboard
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.