@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":"paths.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/paths.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAIvB,CAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Type } from "@sinclair/typebox";
|
|
2
|
-
import { PathItemObject } from "./path-item.js";
|
|
3
|
-
const PathsObject = Type.Record(
|
|
4
|
-
Type.String({ pattern: "^/" }),
|
|
5
|
-
/** A relative path to an individual endpoint. The field name MUST begin with a forward slash (/). The path is appended (no relative URL resolution) to the expanded URL from the Server Object's url field in order to construct the full URL. Path templating is allowed. When matching URLs, concrete (non-templated) paths would be matched before their templated counterparts. Templated paths with the same hierarchy but different templated names MUST NOT exist as they are identical. In case of ambiguous matching, it's up to the tooling to decide which one to use. */
|
|
6
|
-
PathItemObject
|
|
7
|
-
);
|
|
8
|
-
export {
|
|
9
|
-
PathsObject
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=paths.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/schemas/openapi-v3/paths.ts"],
|
|
4
|
-
"sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { PathItemObject } from './path-item'\n\n/**\n * Holds the relative paths to the individual endpoints and their operations. The path is appended to the URL from the Server Object in order to construct the full URL. The Paths Object MAY be empty, due to Access Control List (ACL) constraints.\n */\nexport const PathsObject = Type.Record(\n Type.String({ pattern: '^/' }),\n /** A relative path to an individual endpoint. The field name MUST begin with a forward slash (/). The path is appended (no relative URL resolution) to the expanded URL from the Server Object's url field in order to construct the full URL. Path templating is allowed. When matching URLs, concrete (non-templated) paths would be matched before their templated counterparts. Templated paths with the same hierarchy but different templated names MUST NOT exist as they are identical. In case of ambiguous matching, it's up to the tooling to decide which one to use. */\n PathItemObject,\n)\n"],
|
|
5
|
-
"mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,sBAAsB;AAKxB,MAAM,cAAc,KAAK;AAAA,EAC9B,KAAK,OAAO,EAAE,SAAS,KAAK,CAAC;AAAA;AAAA,EAE7B;AACF;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reference.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/reference.ts"],"names":[],"mappings":"AAEA;;;;;sDAKsD;AACtD,eAAO,MAAM,eAAe;IAC1B,6EAA6E;;IAE7E,0JAA0J;;IAE1J,+IAA+I;;IAE/I,sLAAsL;;IAEtL,oPAAoP;;EAEpP,CAAA"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Type } from "@sinclair/typebox";
|
|
2
|
-
const ReferenceObject = Type.Object({
|
|
3
|
-
/** REQUIRED. The reference identifier. This MUST be in the form of a URI. */
|
|
4
|
-
"$ref": Type.String(),
|
|
5
|
-
/** Indicates the current status of the reference resolution. Can be either 'loading' while fetching the reference or 'error' if the resolution failed. */
|
|
6
|
-
"$status": Type.Optional(Type.Union([Type.Literal("loading"), Type.Literal("error")])),
|
|
7
|
-
/** Indicates whether this reference should be resolved globally across all documents, rather than just within the current document context. */
|
|
8
|
-
"$global": Type.Optional(Type.Boolean()),
|
|
9
|
-
/** A short summary which by default SHOULD override that of the referenced component. If the referenced object-type does not allow a summary field, then this field has no effect. */
|
|
10
|
-
summary: Type.Optional(Type.String()),
|
|
11
|
-
/** A description which by default SHOULD override that of the referenced component. CommonMark syntax MAY be used for rich text representation. If the referenced object-type does not allow a description field, then this field has no effect. */
|
|
12
|
-
description: Type.Optional(Type.String())
|
|
13
|
-
});
|
|
14
|
-
export {
|
|
15
|
-
ReferenceObject
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=reference.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/schemas/openapi-v3/reference.ts"],
|
|
4
|
-
"sourcesContent": ["import { Type } from '@sinclair/typebox'\n\n/**\n * A simple object to allow referencing other components in the OpenAPI Description, internally and externally.\n *\n * The $ref string value contains a URI RFC3986, which identifies the value being referenced.\n *\n * See the rules for resolving Relative References. */\nexport const ReferenceObject = Type.Object({\n /** REQUIRED. The reference identifier. This MUST be in the form of a URI. */\n '$ref': Type.String(),\n /** Indicates the current status of the reference resolution. Can be either 'loading' while fetching the reference or 'error' if the resolution failed. */\n '$status': Type.Optional(Type.Union([Type.Literal('loading'), Type.Literal('error')])),\n /** Indicates whether this reference should be resolved globally across all documents, rather than just within the current document context. */\n '$global': Type.Optional(Type.Boolean()),\n /** A short summary which by default SHOULD override that of the referenced component. If the referenced object-type does not allow a summary field, then this field has no effect. */\n summary: Type.Optional(Type.String()),\n /** A description which by default SHOULD override that of the referenced component. CommonMark syntax MAY be used for rich text representation. If the referenced object-type does not allow a description field, then this field has no effect. */\n description: Type.Optional(Type.String()),\n})\n"],
|
|
5
|
-
"mappings": "AAAA,SAAS,YAAY;AAQd,MAAM,kBAAkB,KAAK,OAAO;AAAA;AAAA,EAEzC,QAAQ,KAAK,OAAO;AAAA;AAAA,EAEpB,WAAW,KAAK,SAAS,KAAK,MAAM,CAAC,KAAK,QAAQ,SAAS,GAAG,KAAK,QAAQ,OAAO,CAAC,CAAC,CAAC;AAAA;AAAA,EAErF,WAAW,KAAK,SAAS,KAAK,QAAQ,CAAC;AAAA;AAAA,EAEvC,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEpC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAC1C,CAAC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/** Describes a single request body. */
|
|
2
|
-
export declare const RequestBodyObject: import("@sinclair/typebox").TObject<{
|
|
3
|
-
/** A brief description of the request body. This could contain examples of use. CommonMark syntax MAY be used for rich text representation. */
|
|
4
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
5
|
-
/** REQUIRED. The content of the request body. The key is a media type or media type range and the value describes it. For requests that match multiple keys, only the most specific key is applicable. e.g. "text/plain" overrides "text/* */
|
|
6
|
-
content: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
|
|
7
|
-
schema: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
8
|
-
discriminator: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
9
|
-
propertyName: import("@sinclair/typebox").TString;
|
|
10
|
-
mapping: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
|
|
11
|
-
}>>;
|
|
12
|
-
xml: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
13
|
-
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
14
|
-
namespace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
15
|
-
prefix: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
16
|
-
attribute: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
17
|
-
wrapped: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
18
|
-
}>>;
|
|
19
|
-
externalDocs: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
20
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
21
|
-
url: import("@sinclair/typebox").TString;
|
|
22
|
-
}>>;
|
|
23
|
-
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
24
|
-
}>>;
|
|
25
|
-
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
26
|
-
examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
27
|
-
summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
28
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
29
|
-
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
30
|
-
externalValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
31
|
-
}>, import("@sinclair/typebox").TObject<{
|
|
32
|
-
$ref: import("@sinclair/typebox").TString;
|
|
33
|
-
$status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"loading">, import("@sinclair/typebox").TLiteral<"error">]>>;
|
|
34
|
-
$global: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
35
|
-
summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
36
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
37
|
-
}>]>>>;
|
|
38
|
-
encoding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
|
|
39
|
-
contentType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
40
|
-
headers: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
41
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
42
|
-
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
43
|
-
deprecated: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
44
|
-
}>, import("@sinclair/typebox").TObject<{
|
|
45
|
-
$ref: import("@sinclair/typebox").TString;
|
|
46
|
-
$status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"loading">, import("@sinclair/typebox").TLiteral<"error">]>>;
|
|
47
|
-
$global: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
48
|
-
summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
49
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
50
|
-
}>]>>>;
|
|
51
|
-
}>>>;
|
|
52
|
-
}>>;
|
|
53
|
-
/** Determines if the request body is required in the request. Defaults to false. */
|
|
54
|
-
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
55
|
-
}>;
|
|
56
|
-
//# sourceMappingURL=request-body.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"request-body.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/request-body.ts"],"names":[],"mappings":"AAGA,uCAAuC;AACvC,eAAO,MAAM,iBAAiB;IAC5B,+IAA+I;;IAE/I,8OAA8O;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAE9O,oFAAoF;;EAEpF,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Type } from "@sinclair/typebox";
|
|
2
|
-
import { MediaTypeObject } from "./media-type.js";
|
|
3
|
-
const RequestBodyObject = Type.Object({
|
|
4
|
-
/** A brief description of the request body. This could contain examples of use. CommonMark syntax MAY be used for rich text representation. */
|
|
5
|
-
description: Type.Optional(Type.String()),
|
|
6
|
-
/** REQUIRED. The content of the request body. The key is a media type or media type range and the value describes it. For requests that match multiple keys, only the most specific key is applicable. e.g. "text/plain" overrides "text/* */
|
|
7
|
-
content: Type.Record(Type.String(), MediaTypeObject),
|
|
8
|
-
/** Determines if the request body is required in the request. Defaults to false. */
|
|
9
|
-
required: Type.Optional(Type.Boolean())
|
|
10
|
-
});
|
|
11
|
-
export {
|
|
12
|
-
RequestBodyObject
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=request-body.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/schemas/openapi-v3/request-body.ts"],
|
|
4
|
-
"sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { MediaTypeObject } from './media-type'\n\n/** Describes a single request body. */\nexport const RequestBodyObject = Type.Object({\n /** A brief description of the request body. This could contain examples of use. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** REQUIRED. The content of the request body. The key is a media type or media type range and the value describes it. For requests that match multiple keys, only the most specific key is applicable. e.g. \"text/plain\" overrides \"text/* */\n content: Type.Record(Type.String(), MediaTypeObject),\n /** Determines if the request body is required in the request. Defaults to false. */\n required: Type.Optional(Type.Boolean()),\n})\n"],
|
|
5
|
-
"mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,uBAAuB;AAGzB,MAAM,oBAAoB,KAAK,OAAO;AAAA;AAAA,EAE3C,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,eAAe;AAAA;AAAA,EAEnD,UAAU,KAAK,SAAS,KAAK,QAAQ,CAAC;AACxC,CAAC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
export declare const ResponseObject: import("@sinclair/typebox").TObject<{
|
|
2
|
-
/** REQUIRED. A description of the response. CommonMark syntax MAY be used for rich text representation. */
|
|
3
|
-
description: import("@sinclair/typebox").TString;
|
|
4
|
-
/** Maps a header name to its definition. RFC7230 states header names are case insensitive. If a response header is defined with the name "Content-Type", it SHALL be ignored. */
|
|
5
|
-
headers: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
6
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
7
|
-
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
8
|
-
deprecated: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
9
|
-
}>, import("@sinclair/typebox").TObject<{
|
|
10
|
-
$ref: import("@sinclair/typebox").TString;
|
|
11
|
-
$status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"loading">, import("@sinclair/typebox").TLiteral<"error">]>>;
|
|
12
|
-
$global: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
13
|
-
summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
14
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
15
|
-
}>]>>>;
|
|
16
|
-
/** A map containing descriptions of potential response payloads. The key is a media type or media type range and the value describes it. For responses that match multiple keys, only the most specific key is applicable. e.g. "text/plain" overrides "text/*" */
|
|
17
|
-
content: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
|
|
18
|
-
schema: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
19
|
-
discriminator: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
20
|
-
propertyName: import("@sinclair/typebox").TString;
|
|
21
|
-
mapping: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
|
|
22
|
-
}>>;
|
|
23
|
-
xml: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
24
|
-
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
25
|
-
namespace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
26
|
-
prefix: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
27
|
-
attribute: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
28
|
-
wrapped: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
29
|
-
}>>;
|
|
30
|
-
externalDocs: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
31
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
32
|
-
url: import("@sinclair/typebox").TString;
|
|
33
|
-
}>>;
|
|
34
|
-
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
35
|
-
}>>;
|
|
36
|
-
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
37
|
-
examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
38
|
-
summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
39
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
40
|
-
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
41
|
-
externalValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
42
|
-
}>, import("@sinclair/typebox").TObject<{
|
|
43
|
-
$ref: import("@sinclair/typebox").TString;
|
|
44
|
-
$status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"loading">, import("@sinclair/typebox").TLiteral<"error">]>>;
|
|
45
|
-
$global: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
46
|
-
summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
47
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
48
|
-
}>]>>>;
|
|
49
|
-
encoding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
|
|
50
|
-
contentType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
51
|
-
headers: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
52
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
53
|
-
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
54
|
-
deprecated: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
55
|
-
}>, import("@sinclair/typebox").TObject<{
|
|
56
|
-
$ref: import("@sinclair/typebox").TString;
|
|
57
|
-
$status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"loading">, import("@sinclair/typebox").TLiteral<"error">]>>;
|
|
58
|
-
$global: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
59
|
-
summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
60
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
61
|
-
}>]>>>;
|
|
62
|
-
}>>>;
|
|
63
|
-
}>>>;
|
|
64
|
-
/** A map of operations links that can be followed from the response. The key of the map is a short name for the link, following the naming constraints of the names for Component Objects. */
|
|
65
|
-
links: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
66
|
-
operationRef: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
67
|
-
operationId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
68
|
-
parameters: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>>;
|
|
69
|
-
requestBody: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
70
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
71
|
-
server: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
72
|
-
url: import("@sinclair/typebox").TString;
|
|
73
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
74
|
-
variables: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
|
|
75
|
-
enum: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
76
|
-
default: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
77
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
78
|
-
}>>>;
|
|
79
|
-
}>>;
|
|
80
|
-
}>, import("@sinclair/typebox").TObject<{
|
|
81
|
-
$ref: import("@sinclair/typebox").TString;
|
|
82
|
-
$status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"loading">, import("@sinclair/typebox").TLiteral<"error">]>>;
|
|
83
|
-
$global: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
84
|
-
summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
85
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
86
|
-
}>]>>>;
|
|
87
|
-
}>;
|
|
88
|
-
//# sourceMappingURL=response.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/response.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc;IACzB,2GAA2G;;IAE3G,iLAAiL;;;;;;;;;;;;IAEjL,oQAAoQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEpQ,8LAA8L;;;;;;;;;;;;;;;;;;;;;;;EAE9L,CAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Type } from "@sinclair/typebox";
|
|
2
|
-
import { HeaderObject } from "./header.js";
|
|
3
|
-
import { ReferenceObject } from "./reference.js";
|
|
4
|
-
import { MediaTypeObject } from "./media-type.js";
|
|
5
|
-
import { LinkObject } from "./link.js";
|
|
6
|
-
const ResponseObject = Type.Object({
|
|
7
|
-
/** REQUIRED. A description of the response. CommonMark syntax MAY be used for rich text representation. */
|
|
8
|
-
description: Type.String(),
|
|
9
|
-
/** Maps a header name to its definition. RFC7230 states header names are case insensitive. If a response header is defined with the name "Content-Type", it SHALL be ignored. */
|
|
10
|
-
headers: Type.Optional(Type.Record(Type.String(), Type.Union([HeaderObject, ReferenceObject]))),
|
|
11
|
-
/** A map containing descriptions of potential response payloads. The key is a media type or media type range and the value describes it. For responses that match multiple keys, only the most specific key is applicable. e.g. "text/plain" overrides "text/*" */
|
|
12
|
-
content: Type.Optional(Type.Record(Type.String(), MediaTypeObject)),
|
|
13
|
-
/** A map of operations links that can be followed from the response. The key of the map is a short name for the link, following the naming constraints of the names for Component Objects. */
|
|
14
|
-
links: Type.Optional(Type.Record(Type.String(), Type.Union([LinkObject, ReferenceObject])))
|
|
15
|
-
});
|
|
16
|
-
export {
|
|
17
|
-
ResponseObject
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=response.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/schemas/openapi-v3/response.ts"],
|
|
4
|
-
"sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { HeaderObject } from './header'\nimport { ReferenceObject } from './reference'\nimport { MediaTypeObject } from './media-type'\nimport { LinkObject } from './link'\n\nexport const ResponseObject = Type.Object({\n /** REQUIRED. A description of the response. CommonMark syntax MAY be used for rich text representation. */\n description: Type.String(),\n /** Maps a header name to its definition. RFC7230 states header names are case insensitive. If a response header is defined with the name \"Content-Type\", it SHALL be ignored. */\n headers: Type.Optional(Type.Record(Type.String(), Type.Union([HeaderObject, ReferenceObject]))),\n /** A map containing descriptions of potential response payloads. The key is a media type or media type range and the value describes it. For responses that match multiple keys, only the most specific key is applicable. e.g. \"text/plain\" overrides \"text/*\" */\n content: Type.Optional(Type.Record(Type.String(), MediaTypeObject)),\n /** A map of operations links that can be followed from the response. The key of the map is a short name for the link, following the naming constraints of the names for Component Objects. */\n links: Type.Optional(Type.Record(Type.String(), Type.Union([LinkObject, ReferenceObject]))),\n})\n"],
|
|
5
|
-
"mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC,SAAS,uBAAuB;AAChC,SAAS,kBAAkB;AAEpB,MAAM,iBAAiB,KAAK,OAAO;AAAA;AAAA,EAExC,aAAa,KAAK,OAAO;AAAA;AAAA,EAEzB,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,cAAc,eAAe,CAAC,CAAC,CAAC;AAAA;AAAA,EAE9F,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,eAAe,CAAC;AAAA;AAAA,EAElE,OAAO,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,YAAY,eAAe,CAAC,CAAC,CAAC;AAC5F,CAAC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A container for the expected responses of an operation. The container maps a HTTP response code to the expected response.
|
|
3
|
-
*
|
|
4
|
-
* The documentation is not necessarily expected to cover all possible HTTP response codes because they may not be known in advance. However, documentation is expected to cover a successful operation response and any known errors.
|
|
5
|
-
*
|
|
6
|
-
* The default MAY be used as a default Response Object for all HTTP codes that are not covered individually by the Responses Object.
|
|
7
|
-
*
|
|
8
|
-
* The Responses Object MUST contain at least one response code, and if only one response code is provided it SHOULD be the response for a successful operation call.
|
|
9
|
-
*/
|
|
10
|
-
export declare const ResponsesObject: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
11
|
-
description: import("@sinclair/typebox").TString;
|
|
12
|
-
headers: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
13
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
14
|
-
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
15
|
-
deprecated: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
16
|
-
}>, import("@sinclair/typebox").TObject<{
|
|
17
|
-
$ref: import("@sinclair/typebox").TString;
|
|
18
|
-
$status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"loading">, import("@sinclair/typebox").TLiteral<"error">]>>;
|
|
19
|
-
$global: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20
|
-
summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
21
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
22
|
-
}>]>>>;
|
|
23
|
-
content: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
|
|
24
|
-
schema: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
25
|
-
discriminator: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
26
|
-
propertyName: import("@sinclair/typebox").TString;
|
|
27
|
-
mapping: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
|
|
28
|
-
}>>;
|
|
29
|
-
xml: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
30
|
-
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
31
|
-
namespace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
32
|
-
prefix: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
33
|
-
attribute: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
34
|
-
wrapped: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
35
|
-
}>>;
|
|
36
|
-
externalDocs: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
37
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
38
|
-
url: import("@sinclair/typebox").TString;
|
|
39
|
-
}>>;
|
|
40
|
-
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
41
|
-
}>>;
|
|
42
|
-
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
43
|
-
examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
44
|
-
summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
45
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
46
|
-
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
47
|
-
externalValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
48
|
-
}>, import("@sinclair/typebox").TObject<{
|
|
49
|
-
$ref: import("@sinclair/typebox").TString;
|
|
50
|
-
$status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"loading">, import("@sinclair/typebox").TLiteral<"error">]>>;
|
|
51
|
-
$global: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
52
|
-
summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
53
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
54
|
-
}>]>>>;
|
|
55
|
-
encoding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
|
|
56
|
-
contentType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
57
|
-
headers: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
58
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
59
|
-
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
60
|
-
deprecated: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
61
|
-
}>, import("@sinclair/typebox").TObject<{
|
|
62
|
-
$ref: import("@sinclair/typebox").TString;
|
|
63
|
-
$status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"loading">, import("@sinclair/typebox").TLiteral<"error">]>>;
|
|
64
|
-
$global: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
65
|
-
summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
66
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
67
|
-
}>]>>>;
|
|
68
|
-
}>>>;
|
|
69
|
-
}>>>;
|
|
70
|
-
links: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
71
|
-
operationRef: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
72
|
-
operationId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
73
|
-
parameters: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>>;
|
|
74
|
-
requestBody: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
75
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
76
|
-
server: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
77
|
-
url: import("@sinclair/typebox").TString;
|
|
78
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
79
|
-
variables: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
|
|
80
|
-
enum: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
81
|
-
default: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
82
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
83
|
-
}>>>;
|
|
84
|
-
}>>;
|
|
85
|
-
}>, import("@sinclair/typebox").TObject<{
|
|
86
|
-
$ref: import("@sinclair/typebox").TString;
|
|
87
|
-
$status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"loading">, import("@sinclair/typebox").TLiteral<"error">]>>;
|
|
88
|
-
$global: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
89
|
-
summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
90
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
91
|
-
}>]>>>;
|
|
92
|
-
}>, import("@sinclair/typebox").TObject<{
|
|
93
|
-
$ref: import("@sinclair/typebox").TString;
|
|
94
|
-
$status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"loading">, import("@sinclair/typebox").TLiteral<"error">]>>;
|
|
95
|
-
$global: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
96
|
-
summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
97
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
98
|
-
}>]>>;
|
|
99
|
-
//# sourceMappingURL=responses.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/responses.ts"],"names":[],"mappings":"AAIA;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAA4E,CAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Type } from "@sinclair/typebox";
|
|
2
|
-
import { ReferenceObject } from "./reference.js";
|
|
3
|
-
import { ResponseObject } from "./response.js";
|
|
4
|
-
const ResponsesObject = Type.Record(Type.String(), Type.Union([ResponseObject, ReferenceObject]));
|
|
5
|
-
export {
|
|
6
|
-
ResponsesObject
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=responses.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/schemas/openapi-v3/responses.ts"],
|
|
4
|
-
"sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { ReferenceObject } from './reference'\nimport { ResponseObject } from './response'\n\n/**\n * A container for the expected responses of an operation. The container maps a HTTP response code to the expected response.\n *\n * The documentation is not necessarily expected to cover all possible HTTP response codes because they may not be known in advance. However, documentation is expected to cover a successful operation response and any known errors.\n *\n * The default MAY be used as a default Response Object for all HTTP codes that are not covered individually by the Responses Object.\n *\n * The Responses Object MUST contain at least one response code, and if only one response code is provided it SHOULD be the response for a successful operation call.\n */\nexport const ResponsesObject = Type.Record(Type.String(), Type.Union([ResponseObject, ReferenceObject]))\n"],
|
|
5
|
-
"mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,uBAAuB;AAChC,SAAS,sBAAsB;AAWxB,MAAM,kBAAkB,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,gBAAgB,eAAe,CAAC,CAAC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/schema.ts"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,eAAO,MAAM,YAAY;IACvB,0LAA0L;;;;;IAE1L,iKAAiK;;;;;;;;IAEjK,yDAAyD;;;;;IAEzD;;;;OAIG;;EAEH,CAAA"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Type } from "@sinclair/typebox";
|
|
2
|
-
import { DiscriminatorObject } from "./discriminator.js";
|
|
3
|
-
import { XMLObject } from "./xml.js";
|
|
4
|
-
import { ExternalDocumentationObject } from "./external-documentation.js";
|
|
5
|
-
const SchemaObject = Type.Object({
|
|
6
|
-
/** Adds support for polymorphism. The discriminator is used to determine which of a set of schemas a payload is expected to satisfy. See Composition and Inheritance for more details. */
|
|
7
|
-
discriminator: Type.Optional(DiscriminatorObject),
|
|
8
|
-
/** 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. */
|
|
9
|
-
xml: Type.Optional(XMLObject),
|
|
10
|
-
/** Additional external documentation for this schema. */
|
|
11
|
-
externalDocs: Type.Optional(ExternalDocumentationObject),
|
|
12
|
-
/**
|
|
13
|
-
* 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.
|
|
14
|
-
*
|
|
15
|
-
* Deprecated: The example field has been deprecated in favor of the JSON Schema examples keyword. Use of example is discouraged, and later versions of this specification may remove it.
|
|
16
|
-
*/
|
|
17
|
-
example: Type.Optional(Type.Any())
|
|
18
|
-
});
|
|
19
|
-
export {
|
|
20
|
-
SchemaObject
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=schema.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/schemas/openapi-v3/schema.ts"],
|
|
4
|
-
"sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { DiscriminatorObject } from './discriminator'\nimport { XMLObject } from './xml'\nimport { ExternalDocumentationObject } from './external-documentation'\n\n/**\n * The Schema Object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. This object is a superset of the JSON Schema Specification Draft 2020-12. The empty schema (which allows any instance to validate) MAY be represented by the boolean value true and a schema which allows no instance to validate MAY be represented by the boolean value false.\n *\n * For more information about the keywords, see JSON Schema Core and JSON Schema Validation.\n *\n * Unless stated otherwise, the keyword definitions follow those of JSON Schema and do not add any additional semantics; this includes keywords such as $schema, $id, $ref, and $dynamicRef being URIs rather than URLs. Where JSON Schema indicates that behavior is defined by the application (e.g. for annotations), OAS also defers the definition of semantics to the application consuming the OpenAPI document.\n */\nexport const SchemaObject = Type.Object({\n /** Adds support for polymorphism. The discriminator is used to determine which of a set of schemas a payload is expected to satisfy. See Composition and Inheritance for more details. */\n discriminator: Type.Optional(DiscriminatorObject),\n /** 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. */\n xml: Type.Optional(XMLObject),\n /** Additional external documentation for this schema. */\n externalDocs: Type.Optional(ExternalDocumentationObject),\n /**\n * 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.\n *\n * Deprecated: The example field has been deprecated in favor of the JSON Schema examples keyword. Use of example is discouraged, and later versions of this specification may remove it.\n */\n example: Type.Optional(Type.Any()),\n})\n"],
|
|
5
|
-
"mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,2BAA2B;AACpC,SAAS,iBAAiB;AAC1B,SAAS,mCAAmC;AASrC,MAAM,eAAe,KAAK,OAAO;AAAA;AAAA,EAEtC,eAAe,KAAK,SAAS,mBAAmB;AAAA;AAAA,EAEhD,KAAK,KAAK,SAAS,SAAS;AAAA;AAAA,EAE5B,cAAc,KAAK,SAAS,2BAA2B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMvD,SAAS,KAAK,SAAS,KAAK,IAAI,CAAC;AACnC,CAAC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"security-requirement.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/security-requirement.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB,mJAIrC,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Type } from "@sinclair/typebox";
|
|
2
|
-
const SecurityRequirementObject = Type.Record(
|
|
3
|
-
Type.String(),
|
|
4
|
-
/** Each name MUST correspond to a security scheme which is declared in the Security Schemes under the Components Object. If the security scheme is of type "oauth2" or "openIdConnect", then the value is a list of scope names required for the execution, and the list MAY be empty if authorization does not require a specified scope. For other security scheme types, the array MAY contain a list of role names which are required for the execution, but are not otherwise defined or exchanged in-band. */
|
|
5
|
-
Type.Array(Type.String())
|
|
6
|
-
);
|
|
7
|
-
export {
|
|
8
|
-
SecurityRequirementObject
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=security-requirement.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/schemas/openapi-v3/security-requirement.ts"],
|
|
4
|
-
"sourcesContent": ["import { Type } from '@sinclair/typebox'\n\n/**\n * Lists the required security schemes to execute this operation. The name used for each property MUST correspond to a security scheme declared in the Security Schemes under the Components Object.\n *\n * A Security Requirement Object MAY refer to multiple security schemes in which case all schemes MUST be satisfied for a request to be authorized. This enables support for scenarios where multiple query parameters or HTTP headers are required to convey security information.\n *\n * When the security field is defined on the OpenAPI Object or Operation Object and contains multiple Security Requirement Objects, only one of the entries in the list needs to be satisfied to authorize the request. This enables support for scenarios where the API allows multiple, independent security schemes.\n *\n * An empty Security Requirement Object ({}) indicates anonymous access is supported.\n */\nexport const SecurityRequirementObject = Type.Record(\n Type.String(),\n /** Each name MUST correspond to a security scheme which is declared in the Security Schemes under the Components Object. If the security scheme is of type \"oauth2\" or \"openIdConnect\", then the value is a list of scope names required for the execution, and the list MAY be empty if authorization does not require a specified scope. For other security scheme types, the array MAY contain a list of role names which are required for the execution, but are not otherwise defined or exchanged in-band. */\n Type.Array(Type.String()),\n)\n"],
|
|
5
|
-
"mappings": "AAAA,SAAS,YAAY;AAWd,MAAM,4BAA4B,KAAK;AAAA,EAC5C,KAAK,OAAO;AAAA;AAAA,EAEZ,KAAK,MAAM,KAAK,OAAO,CAAC;AAC1B;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"security-scheme.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/security-scheme.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB;IAC5B,qGAAqG;;EAErG,CAAA;AAEF,eAAO,MAAM,YAAY;IAJvB,qGAAqG;;;IAOnG,4HAA4H;;IAE5H,8EAA8E;;IAE9E,8FAA8F;;IAGhG,CAAA;AAEF,eAAO,MAAM,UAAU;IAhBrB,qGAAqG;;;IAmBnG,4HAA4H;;IAE5H,gQAAgQ;;IAEhQ,uMAAuM;;IAGzM,CAAA;AAEF,eAAO,MAAM,MAAM;IA5BjB,qGAAqG;;;IA+BnG,4HAA4H;;IAE5H,6FAA6F;;;;;;;;;;;;;;;;;;;;;;;;;;;IAG/F,CAAA;AAEF,eAAO,MAAM,aAAa;IAtCxB,qGAAqG;;;IAyCnG,4HAA4H;;IAE5H,+FAA+F;;IAGjG,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;IArD/B,qGAAqG;;;IAOnG,4HAA4H;;IAE5H,8EAA8E;;IAE9E,8FAA8F;;;IAXhG,qGAAqG;;;IAmBnG,4HAA4H;;IAE5H,gQAAgQ;;IAEhQ,uMAAuM;;;IAvBzM,qGAAqG;;;IA+BnG,4HAA4H;;IAE5H,6FAA6F;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAjC/F,qGAAqG;;;IAyCnG,4HAA4H;;IAE5H,+FAA+F;;MAUF,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/schemas/openapi-v3/security-scheme.ts"],
|
|
4
|
-
"sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { OAuthFlowsObject } from './oauthflows'\n\nexport const DescriptionSchema = Type.Object({\n /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n})\n\nexport const ApiKeySchema = Type.Intersect([\n DescriptionSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('apiKey'),\n /** REQUIRED. The name of the header, query or cookie parameter to be used. */\n name: Type.String(),\n /** REQUIRED. The location of the API key. Valid values are \"query\", \"header\", or \"cookie\". */\n in: Type.String(),\n }),\n])\n\nexport const HttpSchema = Type.Intersect([\n DescriptionSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('http'),\n /** REQUIRED. The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry. The value is case-insensitive, as defined in RFC7235. */\n scheme: Type.String(),\n /** A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes. */\n bearerFormat: Type.Optional(Type.String()),\n }),\n])\n\nexport const OAuth2 = Type.Intersect([\n DescriptionSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('oauth2'),\n /** REQUIRED. An object containing configuration information for the flow types supported. */\n flows: OAuthFlowsObject,\n }),\n])\n\nexport const OpenIdConnect = Type.Intersect([\n DescriptionSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('openIdConnect'),\n /** REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata. */\n openIdConnectUrl: Type.String(),\n }),\n])\n\n/**\n * Defines a security scheme that can be used by the operations.\n *\n * Supported schemes are HTTP authentication, an API key (either as a header, a cookie parameter or as a query parameter), mutual TLS (use of a client certificate), OAuth2's common flows (implicit, password, client credentials and authorization code) as defined in RFC6749, and [[OpenID-Connect-Core]]. Please note that as of 2020, the implicit flow is about to be deprecated by OAuth 2.0 Security Best Current Practice. Recommended for most use cases is Authorization Code Grant flow with PKCE.\n */\nexport const SecuritySchemeObject = Type.Union([ApiKeySchema, HttpSchema, OAuth2, OpenIdConnect])\n"],
|
|
5
|
-
"mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,wBAAwB;AAE1B,MAAM,oBAAoB,KAAK,OAAO;AAAA;AAAA,EAE3C,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAC1C,CAAC;AAEM,MAAM,eAAe,KAAK,UAAU;AAAA,EACzC;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,QAAQ;AAAA;AAAA,IAE3B,MAAM,KAAK,OAAO;AAAA;AAAA,IAElB,IAAI,KAAK,OAAO;AAAA,EAClB,CAAC;AACH,CAAC;AAEM,MAAM,aAAa,KAAK,UAAU;AAAA,EACvC;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,MAAM;AAAA;AAAA,IAEzB,QAAQ,KAAK,OAAO;AAAA;AAAA,IAEpB,cAAc,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EAC3C,CAAC;AACH,CAAC;AAEM,MAAM,SAAS,KAAK,UAAU;AAAA,EACnC;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,QAAQ;AAAA;AAAA,IAE3B,OAAO;AAAA,EACT,CAAC;AACH,CAAC;AAEM,MAAM,gBAAgB,KAAK,UAAU;AAAA,EAC1C;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,eAAe;AAAA;AAAA,IAElC,kBAAkB,KAAK,OAAO;AAAA,EAChC,CAAC;AACH,CAAC;AAOM,MAAM,uBAAuB,KAAK,MAAM,CAAC,cAAc,YAAY,QAAQ,aAAa,CAAC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"server-variable.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/server-variable.ts"],"names":[],"mappings":"AAEA,qFAAqF;AACrF,eAAO,MAAM,oBAAoB;IAC/B,kIAAkI;;IAElI,+VAA+V;;IAE/V,mHAAmH;;EAEnH,CAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Type } from "@sinclair/typebox";
|
|
2
|
-
const ServerVariableObject = Type.Object({
|
|
3
|
-
/** An enumeration of string values to be used if the substitution options are from a limited set. The array MUST NOT be empty. */
|
|
4
|
-
enum: Type.Optional(Type.Array(Type.String())),
|
|
5
|
-
/** REQUIRED. The default value to use for substitution, which SHALL be sent if an alternate value is not supplied. If the enum is defined, the value MUST exist in the enum's values. Note that this behavior is different from the Schema Object's default keyword, which documents the receiver's behavior rather than inserting the value into the data. */
|
|
6
|
-
default: Type.Optional(Type.String()),
|
|
7
|
-
/** An optional description for the server variable. CommonMark syntax MAY be used for rich text representation. */
|
|
8
|
-
description: Type.Optional(Type.String())
|
|
9
|
-
});
|
|
10
|
-
export {
|
|
11
|
-
ServerVariableObject
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=server-variable.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/schemas/openapi-v3/server-variable.ts"],
|
|
4
|
-
"sourcesContent": ["import { Type } from '@sinclair/typebox'\n\n/** An object representing a Server Variable for server URL template substitution. */\nexport const ServerVariableObject = Type.Object({\n /** An enumeration of string values to be used if the substitution options are from a limited set. The array MUST NOT be empty. */\n enum: Type.Optional(Type.Array(Type.String())),\n /** REQUIRED. The default value to use for substitution, which SHALL be sent if an alternate value is not supplied. If the enum is defined, the value MUST exist in the enum's values. Note that this behavior is different from the Schema Object's default keyword, which documents the receiver's behavior rather than inserting the value into the data. */\n default: Type.Optional(Type.String()),\n /** An optional description for the server variable. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n})\n"],
|
|
5
|
-
"mappings": "AAAA,SAAS,YAAY;AAGd,MAAM,uBAAuB,KAAK,OAAO;AAAA;AAAA,EAE9C,MAAM,KAAK,SAAS,KAAK,MAAM,KAAK,OAAO,CAAC,CAAC;AAAA;AAAA,EAE7C,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEpC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAC1C,CAAC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/server.ts"],"names":[],"mappings":"AAGA,uCAAuC;AACvC,eAAO,MAAM,YAAY;IACvB,4SAA4S;;IAE5S,gIAAgI;;IAEhI,oHAAoH;;;;;;EAEpH,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Type } from "@sinclair/typebox";
|
|
2
|
-
import { ServerVariableObject } from "./server-variable.js";
|
|
3
|
-
const ServerObject = Type.Object({
|
|
4
|
-
/** REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the document containing the Server Object is being served. Variable substitutions will be made when a variable is named in {braces}. */
|
|
5
|
-
url: Type.String(),
|
|
6
|
-
/** An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation. */
|
|
7
|
-
description: Type.Optional(Type.String()),
|
|
8
|
-
/** A map between a variable name and its value. The value is used for substitution in the server's URL template. */
|
|
9
|
-
variables: Type.Optional(Type.Record(Type.String(), ServerVariableObject))
|
|
10
|
-
});
|
|
11
|
-
export {
|
|
12
|
-
ServerObject
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=server.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/schemas/openapi-v3/server.ts"],
|
|
4
|
-
"sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { ServerVariableObject } from './server-variable'\n\n/** An object representing a Server. */\nexport const ServerObject = Type.Object({\n /** REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the document containing the Server Object is being served. Variable substitutions will be made when a variable is named in {braces}. */\n url: Type.String(),\n /** An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** A map between a variable name and its value. The value is used for substitution in the server's URL template. */\n variables: Type.Optional(Type.Record(Type.String(), ServerVariableObject)),\n})\n"],
|
|
5
|
-
"mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,4BAA4B;AAG9B,MAAM,eAAe,KAAK,OAAO;AAAA;AAAA,EAEtC,KAAK,KAAK,OAAO;AAAA;AAAA,EAEjB,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,oBAAoB,CAAC;AAC3E,CAAC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/** Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances. */
|
|
2
|
-
export declare const TagObject: import("@sinclair/typebox").TObject<{
|
|
3
|
-
/** REQUIRED. The name of the tag. */
|
|
4
|
-
name: import("@sinclair/typebox").TString;
|
|
5
|
-
/** A description for the tag. CommonMark syntax MAY be used for rich text representation. */
|
|
6
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
7
|
-
/** Additional external documentation for this tag. */
|
|
8
|
-
externalDocs: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
9
|
-
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
10
|
-
url: import("@sinclair/typebox").TString;
|
|
11
|
-
}>>;
|
|
12
|
-
}>;
|
|
13
|
-
//# sourceMappingURL=tag.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/tag.ts"],"names":[],"mappings":"AAGA,sKAAsK;AACtK,eAAO,MAAM,SAAS;IACpB,qCAAqC;;IAErC,6FAA6F;;IAE7F,sDAAsD;;;;;EAEtD,CAAA"}
|