@scalar/workspace-store 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/client.d.ts +25035 -6283
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +5 -2
- package/dist/client.js.map +2 -2
- package/dist/helpers/general.d.ts +1 -0
- package/dist/helpers/general.d.ts.map +1 -1
- package/dist/helpers/general.js +5 -1
- package/dist/helpers/general.js.map +2 -2
- package/dist/navigation/helpers/traverse-document.d.ts +2 -2
- package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-document.js.map +2 -2
- package/dist/navigation/helpers/traverse-paths.d.ts +2 -2
- package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-paths.js +4 -0
- package/dist/navigation/helpers/traverse-paths.js.map +2 -2
- package/dist/navigation/helpers/traverse-schemas.d.ts +2 -2
- package/dist/navigation/helpers/traverse-schemas.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-schemas.js +1 -1
- package/dist/navigation/helpers/traverse-schemas.js.map +2 -2
- package/dist/navigation/helpers/traverse-tags.d.ts +2 -2
- package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-tags.js +2 -2
- package/dist/navigation/helpers/traverse-tags.js.map +2 -2
- package/dist/navigation/helpers/traverse-webhooks.d.ts +2 -2
- package/dist/navigation/helpers/traverse-webhooks.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-webhooks.js +4 -0
- package/dist/navigation/helpers/traverse-webhooks.js.map +2 -2
- package/dist/navigation/types.d.ts +11 -10
- package/dist/navigation/types.d.ts.map +1 -1
- package/dist/schemas/typebox-coerce.d.ts +26 -0
- package/dist/schemas/typebox-coerce.d.ts.map +1 -0
- package/dist/schemas/typebox-coerce.js +8 -0
- package/dist/schemas/typebox-coerce.js.map +7 -0
- package/dist/schemas/v3.1/compose.d.ts +6 -0
- package/dist/schemas/v3.1/compose.d.ts.map +1 -0
- package/dist/schemas/v3.1/compose.js +8 -0
- package/dist/schemas/v3.1/compose.js.map +7 -0
- package/dist/schemas/v3.1/strict/callback.d.ts +3 -0
- package/dist/schemas/v3.1/strict/callback.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/callback.js +15 -0
- package/dist/schemas/v3.1/strict/callback.js.map +7 -0
- package/dist/schemas/v3.1/strict/components.d.ts +7824 -0
- package/dist/schemas/v3.1/strict/components.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/components.js +46 -0
- package/dist/schemas/v3.1/strict/components.js.map +7 -0
- package/dist/schemas/{openapi-v3 → v3.1/strict}/contact.d.ts +4 -2
- package/dist/schemas/v3.1/strict/contact.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/contact.js +18 -0
- package/dist/schemas/v3.1/strict/contact.js.map +7 -0
- package/dist/schemas/{openapi-v3 → v3.1/strict}/discriminator.d.ts +4 -2
- package/dist/schemas/v3.1/strict/discriminator.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/discriminator.js +16 -0
- package/dist/schemas/v3.1/strict/discriminator.js.map +7 -0
- package/dist/schemas/{openapi-v3 → v3.1/strict}/encoding.d.ts +7 -16
- package/dist/schemas/v3.1/strict/encoding.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/encoding.js +17 -0
- package/dist/schemas/v3.1/strict/encoding.js.map +7 -0
- package/dist/schemas/{openapi-v3 → v3.1/strict}/example.d.ts +4 -2
- package/dist/schemas/v3.1/strict/example.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/example.js +20 -0
- package/dist/schemas/v3.1/strict/example.js.map +7 -0
- package/dist/schemas/v3.1/strict/extensions.d.ts +4 -0
- package/dist/schemas/v3.1/strict/extensions.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/extensions.js +6 -0
- package/dist/schemas/v3.1/strict/extensions.js.map +7 -0
- package/dist/schemas/v3.1/strict/external-documentation.d.ts +10 -0
- package/dist/schemas/v3.1/strict/external-documentation.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/external-documentation.js +16 -0
- package/dist/schemas/v3.1/strict/external-documentation.js.map +7 -0
- package/dist/schemas/v3.1/strict/header.d.ts +133 -0
- package/dist/schemas/v3.1/strict/header.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/header.js +48 -0
- package/dist/schemas/v3.1/strict/header.js.map +7 -0
- package/dist/schemas/{openapi-v3 → v3.1/strict}/info.d.ts +8 -6
- package/dist/schemas/v3.1/strict/info.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/info.js +28 -0
- package/dist/schemas/v3.1/strict/info.js.map +7 -0
- package/dist/schemas/{openapi-v3 → v3.1/strict}/license.d.ts +4 -2
- package/dist/schemas/v3.1/strict/license.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/license.js +18 -0
- package/dist/schemas/v3.1/strict/license.js.map +7 -0
- package/dist/schemas/{openapi-v3 → v3.1/strict}/link.d.ts +8 -6
- package/dist/schemas/v3.1/strict/link.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/link.js +25 -0
- package/dist/schemas/v3.1/strict/link.js.map +7 -0
- package/dist/schemas/v3.1/strict/media-header-encoding.d.ts +329 -0
- package/dist/schemas/v3.1/strict/media-header-encoding.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/media-header-encoding.js +19 -0
- package/dist/schemas/v3.1/strict/media-header-encoding.js.map +7 -0
- package/dist/schemas/{openapi-v3 → v3.1/strict}/media-type.d.ts +20 -34
- package/dist/schemas/v3.1/strict/media-type.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/media-type.js +27 -0
- package/dist/schemas/v3.1/strict/media-type.js.map +7 -0
- package/dist/schemas/{openapi-v3 → v3.1/strict}/oauth-flow.d.ts +4 -2
- package/dist/schemas/v3.1/strict/oauth-flow.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/oauth-flow.js +20 -0
- package/dist/schemas/v3.1/strict/oauth-flow.js.map +7 -0
- package/dist/schemas/{openapi-v3 → v3.1/strict}/oauthflows.d.ts +12 -10
- package/dist/schemas/v3.1/strict/oauthflows.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/oauthflows.js +21 -0
- package/dist/schemas/v3.1/strict/oauthflows.js.map +7 -0
- package/dist/schemas/v3.1/strict/openapi-document.d.ts +49 -0
- package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/openapi-document.js +55 -0
- package/dist/schemas/v3.1/strict/openapi-document.js.map +7 -0
- package/dist/schemas/v3.1/strict/operation.d.ts +572 -0
- package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/operation.js +46 -0
- package/dist/schemas/v3.1/strict/operation.js.map +7 -0
- package/dist/schemas/v3.1/strict/parameter.d.ts +396 -0
- package/dist/schemas/v3.1/strict/parameter.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/parameter.js +56 -0
- package/dist/schemas/v3.1/strict/parameter.js.map +7 -0
- package/dist/schemas/v3.1/strict/path-item.d.ts +205 -0
- package/dist/schemas/v3.1/strict/path-item.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/path-item.js +41 -0
- package/dist/schemas/v3.1/strict/path-item.js.map +7 -0
- package/dist/schemas/v3.1/strict/path-operations.d.ts +7816 -0
- package/dist/schemas/v3.1/strict/path-operations.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/path-operations.js +19 -0
- package/dist/schemas/v3.1/strict/path-operations.js.map +7 -0
- package/dist/schemas/v3.1/strict/paths.d.ts +3536 -0
- package/dist/schemas/{openapi-v3/openapi-document.d.ts.map → v3.1/strict/paths.d.ts.map} +1 -1
- package/dist/schemas/v3.1/strict/paths.js +16 -0
- package/dist/schemas/v3.1/strict/paths.js.map +7 -0
- package/dist/schemas/{openapi-v3 → v3.1/strict}/reference.d.ts +15 -6
- package/dist/schemas/v3.1/strict/reference.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/reference.js +26 -0
- package/dist/schemas/v3.1/strict/reference.js.map +7 -0
- package/dist/schemas/v3.1/strict/request-body.d.ts +112 -0
- package/dist/schemas/v3.1/strict/request-body.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/request-body.js +19 -0
- package/dist/schemas/v3.1/strict/request-body.js.map +7 -0
- package/dist/schemas/v3.1/strict/response.d.ts +242 -0
- package/dist/schemas/v3.1/strict/response.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/response.js +23 -0
- package/dist/schemas/v3.1/strict/response.js.map +7 -0
- package/dist/schemas/v3.1/strict/responses.d.ts +254 -0
- package/dist/schemas/v3.1/strict/responses.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/responses.js +13 -0
- package/dist/schemas/v3.1/strict/responses.js.map +7 -0
- package/dist/schemas/{openapi-v3 → v3.1/strict}/schema.d.ts +12 -8
- package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/schema.js +34 -0
- package/dist/schemas/v3.1/strict/schema.js.map +7 -0
- package/dist/schemas/{openapi-v3 → v3.1/strict}/security-requirement.d.ts +3 -1
- package/dist/schemas/v3.1/strict/security-requirement.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/security-requirement.js +15 -0
- package/dist/schemas/v3.1/strict/security-requirement.js.map +7 -0
- package/dist/schemas/{openapi-v3 → v3.1/strict}/security-scheme.d.ts +40 -38
- package/dist/schemas/v3.1/strict/security-scheme.d.ts.map +1 -0
- package/dist/schemas/{openapi-v3 → v3.1/strict}/security-scheme.js +21 -16
- package/dist/schemas/v3.1/strict/security-scheme.js.map +7 -0
- package/dist/schemas/{openapi-v3 → v3.1/strict}/server-variable.d.ts +4 -2
- package/dist/schemas/v3.1/strict/server-variable.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/server-variable.js +18 -0
- package/dist/schemas/v3.1/strict/server-variable.js.map +7 -0
- package/dist/schemas/{openapi-v3 → v3.1/strict}/server.d.ts +6 -4
- package/dist/schemas/v3.1/strict/server.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/server.js +19 -0
- package/dist/schemas/v3.1/strict/server.js.map +7 -0
- package/dist/schemas/v3.1/strict/tag.d.ts +17 -0
- package/dist/schemas/v3.1/strict/tag.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/tag.js +25 -0
- package/dist/schemas/v3.1/strict/tag.js.map +7 -0
- package/dist/schemas/{openapi-v3 → v3.1/strict}/xml.d.ts +4 -2
- package/dist/schemas/v3.1/strict/xml.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/xml.js +22 -0
- package/dist/schemas/v3.1/strict/xml.js.map +7 -0
- package/dist/schemas/v3.1/type-guard.d.ts +3 -0
- package/dist/schemas/v3.1/type-guard.d.ts.map +1 -0
- package/dist/schemas/v3.1/type-guard.js +7 -0
- package/dist/schemas/v3.1/type-guard.js.map +7 -0
- package/dist/schemas/workspace.d.ts +49 -14750
- package/dist/schemas/workspace.d.ts.map +1 -1
- package/dist/schemas/workspace.js +5 -4
- package/dist/schemas/workspace.js.map +2 -2
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js.map +2 -2
- package/dist/server.d.ts +2579 -5
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +14 -6
- package/dist/server.js.map +2 -2
- package/package.json +4 -3
- package/dist/schemas/openapi-v3/callback.d.ts +0 -1156
- package/dist/schemas/openapi-v3/callback.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/callback.js +0 -11
- package/dist/schemas/openapi-v3/callback.js.map +0 -7
- package/dist/schemas/openapi-v3/components.d.ts +0 -2597
- package/dist/schemas/openapi-v3/components.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/components.js +0 -38
- package/dist/schemas/openapi-v3/components.js.map +0 -7
- package/dist/schemas/openapi-v3/contact.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/contact.js +0 -13
- package/dist/schemas/openapi-v3/contact.js.map +0 -7
- package/dist/schemas/openapi-v3/discriminator.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/discriminator.js +0 -11
- package/dist/schemas/openapi-v3/discriminator.js.map +0 -7
- package/dist/schemas/openapi-v3/encoding.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/encoding.js +0 -13
- package/dist/schemas/openapi-v3/encoding.js.map +0 -7
- package/dist/schemas/openapi-v3/example.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/example.js +0 -15
- package/dist/schemas/openapi-v3/example.js.map +0 -7
- package/dist/schemas/openapi-v3/external-documentation.d.ts +0 -8
- package/dist/schemas/openapi-v3/external-documentation.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/external-documentation.js +0 -11
- package/dist/schemas/openapi-v3/external-documentation.js.map +0 -7
- package/dist/schemas/openapi-v3/header.d.ts +0 -18
- package/dist/schemas/openapi-v3/header.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/header.js +0 -13
- package/dist/schemas/openapi-v3/header.js.map +0 -7
- package/dist/schemas/openapi-v3/info.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/info.js +0 -23
- package/dist/schemas/openapi-v3/info.js.map +0 -7
- package/dist/schemas/openapi-v3/license.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/license.js +0 -13
- package/dist/schemas/openapi-v3/license.js.map +0 -7
- package/dist/schemas/openapi-v3/link.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/link.js +0 -20
- package/dist/schemas/openapi-v3/link.js.map +0 -7
- package/dist/schemas/openapi-v3/media-type.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/media-type.js +0 -19
- package/dist/schemas/openapi-v3/media-type.js.map +0 -7
- package/dist/schemas/openapi-v3/oauth-flow.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/oauth-flow.js +0 -15
- package/dist/schemas/openapi-v3/oauth-flow.js.map +0 -7
- package/dist/schemas/openapi-v3/oauthflows.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/oauthflows.js +0 -16
- package/dist/schemas/openapi-v3/oauthflows.js.map +0 -7
- package/dist/schemas/openapi-v3/openapi-document.d.ts +0 -4941
- package/dist/schemas/openapi-v3/openapi-document.js +0 -35
- package/dist/schemas/openapi-v3/openapi-document.js.map +0 -7
- package/dist/schemas/openapi-v3/operation-without-callback.d.ts +0 -200
- package/dist/schemas/openapi-v3/operation-without-callback.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/operation-without-callback.js +0 -39
- package/dist/schemas/openapi-v3/operation-without-callback.js.map +0 -7
- package/dist/schemas/openapi-v3/parameter.d.ts +0 -25
- package/dist/schemas/openapi-v3/parameter.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/parameter.js +0 -22
- package/dist/schemas/openapi-v3/parameter.js.map +0 -7
- package/dist/schemas/openapi-v3/path-item.d.ts +0 -1167
- package/dist/schemas/openapi-v3/path-item.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/path-item.js +0 -37
- package/dist/schemas/openapi-v3/path-item.js.map +0 -7
- package/dist/schemas/openapi-v3/paths.d.ts +0 -1154
- package/dist/schemas/openapi-v3/paths.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/paths.js +0 -11
- package/dist/schemas/openapi-v3/paths.js.map +0 -7
- package/dist/schemas/openapi-v3/reference.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/reference.js +0 -17
- package/dist/schemas/openapi-v3/reference.js.map +0 -7
- package/dist/schemas/openapi-v3/request-body.d.ts +0 -56
- package/dist/schemas/openapi-v3/request-body.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/request-body.js +0 -14
- package/dist/schemas/openapi-v3/request-body.js.map +0 -7
- package/dist/schemas/openapi-v3/response.d.ts +0 -88
- package/dist/schemas/openapi-v3/response.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/response.js +0 -19
- package/dist/schemas/openapi-v3/response.js.map +0 -7
- package/dist/schemas/openapi-v3/responses.d.ts +0 -99
- package/dist/schemas/openapi-v3/responses.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/responses.js +0 -8
- package/dist/schemas/openapi-v3/responses.js.map +0 -7
- package/dist/schemas/openapi-v3/schema.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/schema.js +0 -22
- package/dist/schemas/openapi-v3/schema.js.map +0 -7
- package/dist/schemas/openapi-v3/security-requirement.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/security-requirement.js +0 -10
- package/dist/schemas/openapi-v3/security-requirement.js.map +0 -7
- package/dist/schemas/openapi-v3/security-scheme.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/security-scheme.js.map +0 -7
- package/dist/schemas/openapi-v3/server-variable.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/server-variable.js +0 -13
- package/dist/schemas/openapi-v3/server-variable.js.map +0 -7
- package/dist/schemas/openapi-v3/server.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/server.js +0 -14
- package/dist/schemas/openapi-v3/server.js.map +0 -7
- package/dist/schemas/openapi-v3/tag.d.ts +0 -13
- package/dist/schemas/openapi-v3/tag.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/tag.js +0 -14
- package/dist/schemas/openapi-v3/tag.js.map +0 -7
- package/dist/schemas/openapi-v3/xml.d.ts.map +0 -1
- package/dist/schemas/openapi-v3/xml.js +0 -17
- package/dist/schemas/openapi-v3/xml.js.map +0 -7
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"path-item.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/path-item.ts"],"names":[],"mappings":"AAMA,gPAAgP;AAChP,eAAO,MAAM,cAAc;IACzB;;;;OAIG;;IAEH,oFAAoF;;IAEpF,oJAAoJ;;IAEpJ,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEpD,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEpD,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAErD,uDAAuD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEvD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEtD,6KAA6K;;;;;;;;;;IAE7K,6aAA6a;;;;;;;;;;;;;;;EAE7a,CAAA"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { Type } from "@sinclair/typebox";
|
|
2
|
-
import { OperationObjectWithoutCallback } from "./operation-without-callback.js";
|
|
3
|
-
import { ParameterObject } from "./parameter.js";
|
|
4
|
-
import { ReferenceObject } from "./reference.js";
|
|
5
|
-
import { ServerObject } from "./server.js";
|
|
6
|
-
const PathItemObject = Type.Object({
|
|
7
|
-
/**
|
|
8
|
-
* Allows for a referenced definition of this path item. The value MUST be in the form of a URI, and the referenced structure MUST be in the form of a Path Item Object. In case a Path Item Object field appears both in the defined object and the referenced object, the behavior is undefined. See the rules for resolving Relative References.
|
|
9
|
-
*
|
|
10
|
-
* Note: The behavior of $ref with adjacent properties is likely to change in future versions of this specification to bring it into closer alignment with the behavior of the Reference Object.
|
|
11
|
-
*/
|
|
12
|
-
"$ref": Type.Optional(Type.String()),
|
|
13
|
-
/** An optional string summary, intended to apply to all operations in this path. */
|
|
14
|
-
summary: Type.Optional(Type.String()),
|
|
15
|
-
/** An optional string description, intended to apply to all operations in this path. CommonMark syntax MAY be used for rich text representation. */
|
|
16
|
-
description: Type.Optional(Type.String()),
|
|
17
|
-
/** A definition of a GET operation on this path. */
|
|
18
|
-
get: Type.Optional(OperationObjectWithoutCallback),
|
|
19
|
-
/** A definition of a PUT operation on this path. */
|
|
20
|
-
put: Type.Optional(OperationObjectWithoutCallback),
|
|
21
|
-
/** A definition of a POST operation on this path. */
|
|
22
|
-
post: Type.Optional(OperationObjectWithoutCallback),
|
|
23
|
-
/** A definition of a DELETE operation on this path. */
|
|
24
|
-
delete: Type.Optional(OperationObjectWithoutCallback),
|
|
25
|
-
/** A definition of a PATCH operation on this path. */
|
|
26
|
-
patch: Type.Optional(OperationObjectWithoutCallback),
|
|
27
|
-
/** A definition of a TRACE operation on this path. */
|
|
28
|
-
trace: Type.Optional(OperationObjectWithoutCallback),
|
|
29
|
-
/** An alternative servers array to service all operations in this path. If a servers array is specified at the OpenAPI Object level, it will be overridden by this value. */
|
|
30
|
-
servers: Type.Optional(Type.Array(ServerObject)),
|
|
31
|
-
/** A list of parameters that are applicable for all the operations described under this path. These parameters can be overridden at the operation level, but cannot be removed there. The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a name and location. The list can use the Reference Object to link to parameters that are defined in the OpenAPI Object's components.parameters. */
|
|
32
|
-
parameters: Type.Optional(Type.Array(Type.Union([ParameterObject, ReferenceObject])))
|
|
33
|
-
});
|
|
34
|
-
export {
|
|
35
|
-
PathItemObject
|
|
36
|
-
};
|
|
37
|
-
//# sourceMappingURL=path-item.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/schemas/openapi-v3/path-item.ts"],
|
|
4
|
-
"sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { OperationObjectWithoutCallback } from './operation-without-callback'\nimport { ParameterObject } from './parameter'\nimport { ReferenceObject } from './reference'\nimport { ServerObject } from './server'\n\n/** Describes the operations available on a single path. A Path Item MAY be empty, due to ACL constraints. The path itself is still exposed to the documentation viewer but they will not know which operations and parameters are available. */\nexport const PathItemObject = Type.Object({\n /**\n * Allows for a referenced definition of this path item. The value MUST be in the form of a URI, and the referenced structure MUST be in the form of a Path Item Object. In case a Path Item Object field appears both in the defined object and the referenced object, the behavior is undefined. See the rules for resolving Relative References.\n *\n * Note: The behavior of $ref with adjacent properties is likely to change in future versions of this specification to bring it into closer alignment with the behavior of the Reference Object.\n */\n '$ref': Type.Optional(Type.String()),\n /** An optional string summary, intended to apply to all operations in this path. */\n summary: Type.Optional(Type.String()),\n /** An optional string description, intended to apply to all operations in this path. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** A definition of a GET operation on this path. */\n get: Type.Optional(OperationObjectWithoutCallback),\n /** A definition of a PUT operation on this path. */\n put: Type.Optional(OperationObjectWithoutCallback),\n /** A definition of a POST operation on this path. */\n post: Type.Optional(OperationObjectWithoutCallback),\n /** A definition of a DELETE operation on this path. */\n delete: Type.Optional(OperationObjectWithoutCallback),\n /** A definition of a PATCH operation on this path. */\n patch: Type.Optional(OperationObjectWithoutCallback),\n /** A definition of a TRACE operation on this path. */\n trace: Type.Optional(OperationObjectWithoutCallback),\n /** An alternative servers array to service all operations in this path. If a servers array is specified at the OpenAPI Object level, it will be overridden by this value. */\n servers: Type.Optional(Type.Array(ServerObject)),\n /** A list of parameters that are applicable for all the operations described under this path. These parameters can be overridden at the operation level, but cannot be removed there. The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a name and location. The list can use the Reference Object to link to parameters that are defined in the OpenAPI Object's components.parameters. */\n parameters: Type.Optional(Type.Array(Type.Union([ParameterObject, ReferenceObject]))),\n})\n"],
|
|
5
|
-
"mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,sCAAsC;AAC/C,SAAS,uBAAuB;AAChC,SAAS,uBAAuB;AAChC,SAAS,oBAAoB;AAGtB,MAAM,iBAAiB,KAAK,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMxC,QAAQ,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEnC,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEpC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,KAAK,KAAK,SAAS,8BAA8B;AAAA;AAAA,EAEjD,KAAK,KAAK,SAAS,8BAA8B;AAAA;AAAA,EAEjD,MAAM,KAAK,SAAS,8BAA8B;AAAA;AAAA,EAElD,QAAQ,KAAK,SAAS,8BAA8B;AAAA;AAAA,EAEpD,OAAO,KAAK,SAAS,8BAA8B;AAAA;AAAA,EAEnD,OAAO,KAAK,SAAS,8BAA8B;AAAA;AAAA,EAEnD,SAAS,KAAK,SAAS,KAAK,MAAM,YAAY,CAAC;AAAA;AAAA,EAE/C,YAAY,KAAK,SAAS,KAAK,MAAM,KAAK,MAAM,CAAC,iBAAiB,eAAe,CAAC,CAAC,CAAC;AACtF,CAAC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|