···2727}
28282929export interface IROperationObject {
3030+ /**
3131+ * OpenAPI extension fields (x-*) from the original operation.
3232+ * These are custom fields that can be used by plugins.
3333+ */
3434+ [extension: `x-${string}`]: unknown;
3035 body?: IRBodyObject;
3136 deprecated?: boolean;
3237 description?: string;
···3641 parameters?: IRParametersObject;
3742 path: keyof IRPathsObject;
3843 responses?: IRResponsesObject;
3939- security?: ReadonlyArray<IRSecurityObject>;
4044 servers?: ReadonlyArray<IRServerObject>;
4145 summary?: string;
4246 tags?: ReadonlyArray<string>;
4747+ security?: ReadonlyArray<IRSecurityObject>;
4348}
44494550interface IRParametersObject {
···51565257interface IRParameterObject
5358 extends Pick<JsonSchemaDraft2020_12, 'deprecated' | 'description'> {
5959+ /**
6060+ * OpenAPI extension fields (x-*) from the original parameter.
6161+ * These are custom fields that can be used by plugins.
6262+ */
6363+ [extension: `x-${string}`]: unknown;
5464 /**
5565 * Determines whether the parameter value SHOULD allow reserved characters, as defined by RFC3986 `:/?#[]@!$&'()*+,;=` to be included without percent-encoding. The default value is `false`. This property SHALL be ignored if the request body media type is not `application/x-www-form-urlencoded` or `multipart/form-data`. If a value is explicitly defined, then the value of `contentType` (implicit or explicit) SHALL be ignored.
5666 */
···143153 | 'title'
144154 | 'example'
145155 > {
156156+ /**
157157+ * OpenAPI extension fields (x-*) from the original schema.
158158+ * These are custom fields that can be used by plugins.
159159+ */
160160+ [extension: `x-${string}`]: unknown;
146161 /**
147162 * If the schema is intended to be used as an object property, it can be
148163 * marked as read-only or write-only. This value controls whether the schema
···453453 */
454454export interface OperationObject {
455455 /**
456456+ * OpenAPI extension fields (x-*) from the original operation.
457457+ * Specification Extensions may be used to add additional metadata.
458458+ */
459459+ [extension: `x-${string}`]: unknown;
460460+ /**
456461 * A map of possible out-of band callbacks related to the parent operation. The key is a unique identifier for the Callback Object. Each value in the map is a {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#callback-object Callback Object} that describes a request that may be initiated by the API provider and the expected responses.
457462 */
458463 callbacks?: Record<string, CallbackObject | ReferenceObject>;
···489494 */
490495 security?: ReadonlyArray<SecurityRequirementObject>;
491496 /**
492492- * An alternative `servers` array to service this operation. If a `servers` array is specified at the {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#path-item-servers Path Item Object} or {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#oas-servers OpenAPI Object} level, it will be overridden by this value.
493493- */
494494- servers?: ReadonlyArray<ServerObject>;
495495- /**
496497 * A short summary of what the operation does.
497498 */
498499 summary?: string;
···500501 * A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.
501502 */
502503 tags?: ReadonlyArray<string>;
504504+ /**
505505+ * An alternative `servers` array to service this operation. If a `servers` array is specified at the {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#path-item-servers Path Item Object} or {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#oas-servers OpenAPI Object} level, it will be overridden by this value.
506506+ */
507507+ servers?: ReadonlyArray<ServerObject>;
503508}
504509505510/**
···548553 */
549554export interface ParameterObject {
550555 /**
556556+ * OpenAPI extension fields (x-*) from the original parameter.
557557+ * Specification Extensions may be used to add additional metadata.
558558+ */
559559+ [extension: `x-${string}`]: unknown;
560560+ /**
551561 * If `true`, clients MAY pass a zero-length string value in place of parameters that would otherwise be omitted entirely, which the server SHOULD interpret as the parameter being unused. Default value is `false`. If {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#parameter-style `style`} is used, and if {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#style-examples behavior is _n/a_ (cannot be serialized)}, the value of `allowEmptyValue` SHALL be ignored. Interactions between this field and the parameter's {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#schema-object Schema Object} are implementation-defined. This field is valid only for `query` parameters. Use of this field is NOT RECOMMENDED, and it is likely to be removed in a later revision.
552562 */
553563 allowEmptyValue?: boolean;
···583593 * **REQUIRED**. The location of the parameter. Possible values are `"query"`, `"header"`, `"path"` or `"cookie"`.
584594 */
585595 in: 'cookie' | 'header' | 'path' | 'query';
586586- /**
587587- * **REQUIRED**. The name of the parameter. Parameter names are _case sensitive_.
588588- * - If {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#parameter-in `in`} is `"path"`, the `name` field MUST correspond to a template expression occurring within the {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#paths-path path} field in the {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#paths-object Paths Object}. See {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#path-templating Path Templating} for further information.
589589- * - If {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#parameter-in `in`} is `"header"` and the `name` field is `"Accept"`, `"Content-Type"` or `"Authorization"`, the parameter definition SHALL be ignored.
590590- * - For all other cases, the `name` corresponds to the parameter name used by the {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#parameter-in `in`} field.
591591- */
592592- name: string;
593596 /**
594597 * Determines whether this parameter is mandatory. If the {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#parameter-in parameter location} is `"path"`, this field is **REQUIRED** and its value MUST be `true`. Otherwise, the field MAY be included and its default value is `false`.
595598 */
···609612 | 'pipeDelimited'
610613 | 'simple'
611614 | 'spaceDelimited';
615615+ /**
616616+ * **REQUIRED**. The name of the parameter. Parameter names are _case sensitive_.
617617+ * - If {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#parameter-in `in`} is `"path"`, the `name` field MUST correspond to a template expression occurring within the {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#paths-path path} field in the {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#paths-object Paths Object}. See {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#path-templating Path Templating} for further information.
618618+ * - If {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#parameter-in `in`} is `"header"` and the `name` field is `"Accept"`, `"Content-Type"` or `"Authorization"`, the parameter definition SHALL be ignored.
619619+ * - For all other cases, the `name` corresponds to the parameter name used by the {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#parameter-in `in`} field.
620620+ */
621621+ name: string;
612622}
613623614624/**
···846856 */
847857export interface SchemaObject extends EnumExtensions {
848858 /**
859859+ * OpenAPI extension fields (x-*) from the original schema.
860860+ * Specification Extensions may be used to add additional metadata.
861861+ */
862862+ [extension: `x-${string}`]: unknown;
863863+ /**
849864 * The value of "additionalProperties" MUST be a boolean or a schema.
850865 *
851866 * If "additionalProperties" is absent, it may be considered present with an empty schema as a value.
···908923 * A free-form field to include an example of an instance for this schema. To represent examples that cannot be naturally represented in JSON or YAML, a string value can be used to contain the example with escaping where necessary.
909924 */
910925 example?: unknown;
911911- /**
912912- * The value of "exclusiveMaximum" MUST be a boolean, representing whether the limit in "maximum" is exclusive or not. An undefined value is the same as false.
913913- *
914914- * If "exclusiveMaximum" is true, then a numeric instance SHOULD NOT be equal to the value specified in "maximum". If "exclusiveMaximum" is false (or not specified), then a numeric instance MAY be equal to the value of "maximum".
915915- */
916916- exclusiveMaximum?: boolean;
917926 /**
918927 * The value of "exclusiveMinimum" MUST be a boolean, representing whether the limit in "minimum" is exclusive or not. An undefined value is the same as false.
919928 *
···10681077 * This MAY be used only on property schemas. It has no effect on root schemas. Adds additional metadata to describe the XML representation of this property.
10691078 */
10701079 xml?: XMLObject;
10801080+ /**
10811081+ * The value of "exclusiveMaximum" MUST be a boolean, representing whether the limit in "maximum" is exclusive or not. An undefined value is the same as false.
10821082+ *
10831083+ * If "exclusiveMaximum" is true, then a numeric instance SHOULD NOT be equal to the value specified in "maximum". If "exclusiveMaximum" is false (or not specified), then a numeric instance MAY be equal to the value of "maximum".
10841084+ */
10851085+ exclusiveMaximum?: boolean;
10711086}
1072108710731088/**
···1212 EnumExtensions,
1313 OpenApiSchemaExtensions {
1414 /**
1515+ * OpenAPI extension fields (x-*) from the original schema.
1616+ * Specification Extensions may be used to add additional metadata.
1717+ */
1818+ [extension: `x-${string}`]: unknown;
1919+ /**
1520 * The `$comment` {@link https://json-schema.org/learn/glossary#keyword keyword} is strictly intended for adding comments to a schema. Its value must always be a string. Unlike the annotations `title`, `description`, and `examples`, JSON schema {@link https://json-schema.org/learn/glossary#implementation implementations} aren't allowed to attach any meaning or behavior to it whatsoever, and may even strip them at any time. Therefore, they are useful for leaving notes to future editors of a JSON schema, but should not be used to communicate to users of the schema.
1621 */
1722 $comment?: string;
···6166 * The `dependentRequired` {@link https://json-schema.org/learn/glossary#keyword keyword} conditionally requires that certain properties must be present if a given property is present in an object. For example, suppose we have a {@link https://json-schema.org/learn/glossary#schema schema} representing a customer. If you have their credit card number, you also want to ensure you have a billing address. If you don't have their credit card number, a billing address would not be required. We represent this dependency of one property on another using the `dependentRequired` keyword. The value of the `dependentRequired` keyword is an object. Each entry in the object maps from the name of a property, _p_, to an array of strings listing properties that are required if _p_ is present.
6267 */
6368 dependentRequired?: Record<string, ReadonlyArray<string>>;
6464- /**
6565- * The `dependentSchemas` keyword conditionally applies a {@link https://json-schema.org/learn/glossary#subschema subschema} when a given property is present. This schema is applied in the same way {@link https://json-schema.org/understanding-json-schema/reference/combining#allof allOf} applies schemas. Nothing is merged or extended. Both schemas apply independently.
6666- */
6767- dependentSchemas?: Record<string, JsonSchemaDraft2020_12>;
6869 /**
6970 * The `deprecated` keyword is a boolean that indicates that the {@link https://json-schema.org/learn/glossary#instance instance} value the keyword applies to should not be used and may be removed in the future.
7071 */
···151152 * The boolean keywords `readOnly` and `writeOnly` are typically used in an API context. `readOnly` indicates that a value should not be modified. It could be used to indicate that a `PUT` request that changes a value would result in a `400 Bad Request` response. `writeOnly` indicates that a value may be set, but will remain hidden. In could be used to indicate you can set a value with a `PUT` request, but it would not be included when retrieving that record with a `GET` request.
152153 */
153154 writeOnly?: boolean;
155155+ /**
156156+ * The `dependentSchemas` keyword conditionally applies a {@link https://json-schema.org/learn/glossary#subschema subschema} when a given property is present. This schema is applied in the same way {@link https://json-schema.org/understanding-json-schema/reference/combining#allof allOf} applies schemas. Nothing is merged or extended. Both schemas apply independently.
157157+ */
158158+ dependentSchemas?: Record<string, JsonSchemaDraft2020_12>;
154159}
155160156161interface ArrayKeywords {
···10471047 */
10481048export interface OperationObject {
10491049 /**
10501050+ * OpenAPI extension fields (x-*) from the original operation.
10511051+ * Specification Extensions may be used to add additional metadata.
10521052+ */
10531053+ [extension: `x-${string}`]: unknown;
10541054+ /**
10501055 * A map of possible out-of band callbacks related to the parent operation. The key is a unique identifier for the Callback Object. Each value in the map is a {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#callback-object Callback Object} that describes a request that may be initiated by the API provider and the expected responses.
10511056 */
10521057 callbacks?: Record<string, CallbackObject | ReferenceObject>;
···10831088 */
10841089 security?: ReadonlyArray<SecurityRequirementObject>;
10851090 /**
10861086- * An alternative `server` array to service this operation. If an alternative `server` object is specified at the Path Item Object or Root level, it will be overridden by this value.
10871087- */
10881088- servers?: ReadonlyArray<ServerObject>;
10891089- /**
10901091 * A short summary of what the operation does.
10911092 */
10921093 summary?: string;
···10941095 * A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.
10951096 */
10961097 tags?: ReadonlyArray<string>;
10981098+ /**
10991099+ * An alternative `server` array to service this operation. If an alternative `server` object is specified at the Path Item Object or Root level, it will be overridden by this value.
11001100+ */
11011101+ servers?: ReadonlyArray<ServerObject>;
10971102}
1098110310991104/**
···11951200 */
11961201export interface ParameterObject {
11971202 /**
12031203+ * OpenAPI extension fields (x-*) from the original parameter.
12041204+ * Specification Extensions may be used to add additional metadata.
12051205+ */
12061206+ [extension: `x-${string}`]: unknown;
12071207+ /**
11981208 * Sets the ability to pass empty-valued parameters. This is valid only for `query` parameters and allows sending a parameter with an empty value. Default value is `false`. If {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#parameterStyle `style`} is used, and if behavior is `n/a` (cannot be serialized), the value of `allowEmptyValue` SHALL be ignored. Use of this property is NOT RECOMMENDED, as it is likely to be removed in a later revision.
11991209 */
12001210 allowEmptyValue?: boolean;
···12311241 */
12321242 in: 'cookie' | 'header' | 'path' | 'query';
12331243 /**
12341234- * **REQUIRED**. The name of the parameter. Parameter names are _case sensitive_.
12351235- * - If {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#parameterIn `in`} is `"path"`, the `name` field MUST correspond to a template expression occurring within the {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#pathsPath path} field in the {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#paths-object Paths Object}. See {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#path-templating Path Templating} for further information.
12361236- * - If {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#parameterIn `in`} is `"header"` and the `name` field is `"Accept"`, `"Content-Type"` or `"Authorization"`, the parameter definition SHALL be ignored.
12371237- * - For all other cases, the `name` corresponds to the parameter name used by the {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#parameterIn `in`} property.
12381238- */
12391239- name: string;
12401240- /**
12411244 * Determines whether this parameter is mandatory. If the {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#parameterIn parameter location} is `"path"`, this property is **REQUIRED** and its value MUST be `true`. Otherwise, the property MAY be included and its default value is `false`.
12421245 */
12431246 required?: boolean;
···12561259 | 'pipeDelimited'
12571260 | 'simple'
12581261 | 'spaceDelimited';
12621262+ /**
12631263+ * **REQUIRED**. The name of the parameter. Parameter names are _case sensitive_.
12641264+ * - If {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#parameterIn `in`} is `"path"`, the `name` field MUST correspond to a template expression occurring within the {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#pathsPath path} field in the {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#paths-object Paths Object}. See {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#path-templating Path Templating} for further information.
12651265+ * - If {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#parameterIn `in`} is `"header"` and the `name` field is `"Accept"`, `"Content-Type"` or `"Authorization"`, the parameter definition SHALL be ignored.
12661266+ * - For all other cases, the `name` corresponds to the parameter name used by the {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#parameterIn `in`} property.
12671267+ */
12681268+ name: string;
12591269}
1260127012611271/**