@scalar/workspace-store 0.4.1 → 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 +6 -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 +5 -4
- 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
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/schemas/v3.1/strict/oauth-flow.ts"],
|
|
4
|
+
"sourcesContent": ["import { compose } from '@/schemas/v3.1/compose'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { Type, type Static } from '@sinclair/typebox'\n\n/** Configuration details for a supported OAuth Flow */\nexport const OAuthFlowObjectSchema = compose(\n Type.Object({\n /** REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */\n authorizationUrl: Type.String(),\n /** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */\n tokenUrl: Type.String(),\n /** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */\n refreshUrl: Type.Optional(Type.String()),\n /** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */\n scopes: Type.Record(Type.String(), Type.String()),\n }),\n ExtensionsSchema,\n)\n\nexport type OAuthFlowObject = Static<typeof OAuthFlowObjectSchema>\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,eAAe;AACxB,SAAS,wBAAwB;AACjC,SAAS,YAAyB;AAG3B,MAAM,wBAAwB;AAAA,EACnC,KAAK,OAAO;AAAA;AAAA,IAEV,kBAAkB,KAAK,OAAO;AAAA;AAAA,IAE9B,UAAU,KAAK,OAAO;AAAA;AAAA,IAEtB,YAAY,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAEvC,QAAQ,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,OAAO,CAAC;AAAA,EAClD,CAAC;AAAA,EACD;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,34 +1,36 @@
|
|
|
1
|
+
import { type Static } from '@sinclair/typebox';
|
|
1
2
|
/**
|
|
2
3
|
* Allows configuration of the supported OAuth Flows.
|
|
3
4
|
*/
|
|
4
|
-
export declare const
|
|
5
|
+
export declare const OAuthFlowsObjectSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
5
6
|
/** Configuration for the OAuth Implicit flow */
|
|
6
|
-
implicit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
7
|
+
implicit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
7
8
|
authorizationUrl: import("@sinclair/typebox").TString;
|
|
8
9
|
tokenUrl: import("@sinclair/typebox").TString;
|
|
9
10
|
refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
10
11
|
scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
11
|
-
}>>;
|
|
12
|
+
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
12
13
|
/** Configuration for the OAuth Resource Owner Password flow */
|
|
13
|
-
password: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
14
|
+
password: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
14
15
|
authorizationUrl: import("@sinclair/typebox").TString;
|
|
15
16
|
tokenUrl: import("@sinclair/typebox").TString;
|
|
16
17
|
refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
17
18
|
scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
18
|
-
}>>;
|
|
19
|
+
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
19
20
|
/** Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0. */
|
|
20
|
-
clientCredentials: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
21
|
+
clientCredentials: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
21
22
|
authorizationUrl: import("@sinclair/typebox").TString;
|
|
22
23
|
tokenUrl: import("@sinclair/typebox").TString;
|
|
23
24
|
refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
24
25
|
scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
25
|
-
}>>;
|
|
26
|
+
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
26
27
|
/** Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0. */
|
|
27
|
-
authorizationCode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
28
|
+
authorizationCode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
28
29
|
authorizationUrl: import("@sinclair/typebox").TString;
|
|
29
30
|
tokenUrl: import("@sinclair/typebox").TString;
|
|
30
31
|
refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
31
32
|
scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
32
|
-
}>>;
|
|
33
|
-
}>;
|
|
33
|
+
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
34
|
+
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>;
|
|
35
|
+
export type OAuthFlowsObject = Static<typeof OAuthFlowsObjectSchema>;
|
|
34
36
|
//# sourceMappingURL=oauthflows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauthflows.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/oauthflows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAKrD;;GAEG;AACH,eAAO,MAAM,sBAAsB;IAE/B,gDAAgD;;;;;;;IAEhD,+DAA+D;;;;;;;IAE/D,yGAAyG;;;;;;;IAEzG,wGAAwG;;;;;;;kJAI3G,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Type } from "@sinclair/typebox";
|
|
2
|
+
import { OAuthFlowObjectSchema } from "./oauth-flow.js";
|
|
3
|
+
import { ExtensionsSchema } from "../../../schemas/v3.1/strict/extensions.js";
|
|
4
|
+
import { compose } from "../../../schemas/v3.1/compose.js";
|
|
5
|
+
const OAuthFlowsObjectSchema = compose(
|
|
6
|
+
Type.Object({
|
|
7
|
+
/** Configuration for the OAuth Implicit flow */
|
|
8
|
+
implicit: Type.Optional(OAuthFlowObjectSchema),
|
|
9
|
+
/** Configuration for the OAuth Resource Owner Password flow */
|
|
10
|
+
password: Type.Optional(OAuthFlowObjectSchema),
|
|
11
|
+
/** Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0. */
|
|
12
|
+
clientCredentials: Type.Optional(OAuthFlowObjectSchema),
|
|
13
|
+
/** Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0. */
|
|
14
|
+
authorizationCode: Type.Optional(OAuthFlowObjectSchema)
|
|
15
|
+
}),
|
|
16
|
+
ExtensionsSchema
|
|
17
|
+
);
|
|
18
|
+
export {
|
|
19
|
+
OAuthFlowsObjectSchema
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=oauthflows.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/schemas/v3.1/strict/oauthflows.ts"],
|
|
4
|
+
"sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\nimport { OAuthFlowObjectSchema } from './oauth-flow'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { compose } from '@/schemas/v3.1/compose'\n\n/**\n * Allows configuration of the supported OAuth Flows.\n */\nexport const OAuthFlowsObjectSchema = compose(\n Type.Object({\n /** Configuration for the OAuth Implicit flow */\n implicit: Type.Optional(OAuthFlowObjectSchema),\n /** Configuration for the OAuth Resource Owner Password flow */\n password: Type.Optional(OAuthFlowObjectSchema),\n /** Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0. */\n clientCredentials: Type.Optional(OAuthFlowObjectSchema),\n /** Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0. */\n authorizationCode: Type.Optional(OAuthFlowObjectSchema),\n }),\n ExtensionsSchema,\n)\n\nexport type OAuthFlowsObject = Static<typeof OAuthFlowsObjectSchema>\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,YAAyB;AAClC,SAAS,6BAA6B;AACtC,SAAS,wBAAwB;AACjC,SAAS,eAAe;AAKjB,MAAM,yBAAyB;AAAA,EACpC,KAAK,OAAO;AAAA;AAAA,IAEV,UAAU,KAAK,SAAS,qBAAqB;AAAA;AAAA,IAE7C,UAAU,KAAK,SAAS,qBAAqB;AAAA;AAAA,IAE7C,mBAAmB,KAAK,SAAS,qBAAqB;AAAA;AAAA,IAEtD,mBAAmB,KAAK,SAAS,qBAAqB;AAAA,EACxD,CAAC;AAAA,EACD;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { type Static, type TArray, type TIntersect, type TObject, type TOptional, type TRecord, type TString } from '@sinclair/typebox';
|
|
2
|
+
import { InfoObjectSchema } from './info.js';
|
|
3
|
+
import { ServerObjectSchema } from './server.js';
|
|
4
|
+
import { PathsObjectSchema } from './paths.js';
|
|
5
|
+
import { ComponentsObjectSchema } from './components.js';
|
|
6
|
+
import { SecurityRequirementObjectSchema } from './security-requirement.js';
|
|
7
|
+
import { TagObjectSchema } from './tag.js';
|
|
8
|
+
import { ExternalDocumentationObjectSchema } from './external-documentation.js';
|
|
9
|
+
import { ExtensionsSchema } from '../../../schemas/v3.1/strict/extensions.js';
|
|
10
|
+
import { PathItemObjectSchema } from '../../../schemas/v3.1/strict/path-operations.js';
|
|
11
|
+
declare const OpenApiExtensionsSchema: TObject<{
|
|
12
|
+
'x-tagGroups': TOptional<TArray<TIntersect<[TObject<{
|
|
13
|
+
tags: TArray<TString>;
|
|
14
|
+
}>, TIntersect<[TObject<{
|
|
15
|
+
name: TString;
|
|
16
|
+
description: TOptional<TString>;
|
|
17
|
+
externalDocs: TOptional<TIntersect<[TObject<{
|
|
18
|
+
description: TOptional<TString>;
|
|
19
|
+
url: TString;
|
|
20
|
+
}>, TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
21
|
+
}>, TObject<{
|
|
22
|
+
'x-displayName': TOptional<TString>;
|
|
23
|
+
}>, TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>]>>>;
|
|
24
|
+
}>;
|
|
25
|
+
/**
|
|
26
|
+
* The type annotation is needed because the inferred type of this node exceeds the maximum length the compiler will serialize.
|
|
27
|
+
* This is due to the complex nested structure of the OpenAPI document schema, which includes multiple optional fields,
|
|
28
|
+
* arrays, and nested objects. The explicit type annotation helps TypeScript handle this large type definition.
|
|
29
|
+
*/
|
|
30
|
+
export type OpenApiDocumentSchemaType = TIntersect<[
|
|
31
|
+
TObject<{
|
|
32
|
+
openapi: TString;
|
|
33
|
+
info: typeof InfoObjectSchema;
|
|
34
|
+
jsonSchemaDialect: TOptional<TString>;
|
|
35
|
+
servers: TOptional<TArray<typeof ServerObjectSchema>>;
|
|
36
|
+
paths: TOptional<typeof PathsObjectSchema>;
|
|
37
|
+
webhooks: TOptional<TRecord<TString, typeof PathItemObjectSchema>>;
|
|
38
|
+
components: TOptional<typeof ComponentsObjectSchema>;
|
|
39
|
+
security: TOptional<TArray<typeof SecurityRequirementObjectSchema>>;
|
|
40
|
+
tags: TOptional<TArray<typeof TagObjectSchema>>;
|
|
41
|
+
externalDocs: TOptional<typeof ExternalDocumentationObjectSchema>;
|
|
42
|
+
}>,
|
|
43
|
+
typeof ExtensionsSchema,
|
|
44
|
+
typeof OpenApiExtensionsSchema
|
|
45
|
+
]>;
|
|
46
|
+
export declare const OpenAPIDocumentSchema: OpenApiDocumentSchemaType;
|
|
47
|
+
export type OpenApiDocument = Static<typeof OpenAPIDocumentSchema>;
|
|
48
|
+
export {};
|
|
49
|
+
//# sourceMappingURL=openapi-document.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openapi-document.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/openapi-document.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,MAAM,EACX,KAAK,MAAM,EACX,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,KAAK,SAAS,EACd,KAAK,OAAO,EACZ,KAAK,OAAO,EACb,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAA;AACrD,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,EAAE,iCAAiC,EAAE,MAAM,0BAA0B,CAAA;AAC5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAA;AAEnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAA;AAE5E,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;EAW5B,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAChD;IACE,OAAO,CAAC;QACN,OAAO,EAAE,OAAO,CAAA;QAChB,IAAI,EAAE,OAAO,gBAAgB,CAAA;QAC7B,iBAAiB,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;QACrC,OAAO,EAAE,SAAS,CAAC,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAA;QACrD,KAAK,EAAE,SAAS,CAAC,OAAO,iBAAiB,CAAC,CAAA;QAC1C,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,oBAAoB,CAAC,CAAC,CAAA;QAClE,UAAU,EAAE,SAAS,CAAC,OAAO,sBAAsB,CAAC,CAAA;QACpD,QAAQ,EAAE,SAAS,CAAC,MAAM,CAAC,OAAO,+BAA+B,CAAC,CAAC,CAAA;QACnE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,OAAO,eAAe,CAAC,CAAC,CAAA;QAC/C,YAAY,EAAE,SAAS,CAAC,OAAO,iCAAiC,CAAC,CAAA;KAClE,CAAC;IACF,OAAO,gBAAgB;IACvB,OAAO,uBAAuB;CAC/B,CACF,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,yBAyBnC,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Type
|
|
3
|
+
} from "@sinclair/typebox";
|
|
4
|
+
import { InfoObjectSchema } from "./info.js";
|
|
5
|
+
import { ServerObjectSchema } from "./server.js";
|
|
6
|
+
import { PathsObjectSchema } from "./paths.js";
|
|
7
|
+
import { ComponentsObjectSchema } from "./components.js";
|
|
8
|
+
import { SecurityRequirementObjectSchema } from "./security-requirement.js";
|
|
9
|
+
import { TagObjectSchema } from "./tag.js";
|
|
10
|
+
import { ExternalDocumentationObjectSchema } from "./external-documentation.js";
|
|
11
|
+
import { ExtensionsSchema } from "../../../schemas/v3.1/strict/extensions.js";
|
|
12
|
+
import { compose } from "../../../schemas/v3.1/compose.js";
|
|
13
|
+
import { PathItemObjectSchema } from "../../../schemas/v3.1/strict/path-operations.js";
|
|
14
|
+
const OpenApiExtensionsSchema = Type.Partial(
|
|
15
|
+
Type.Object({
|
|
16
|
+
"x-tagGroups": Type.Array(
|
|
17
|
+
compose(
|
|
18
|
+
Type.Object({
|
|
19
|
+
tags: Type.Array(Type.String())
|
|
20
|
+
}),
|
|
21
|
+
TagObjectSchema
|
|
22
|
+
)
|
|
23
|
+
)
|
|
24
|
+
})
|
|
25
|
+
);
|
|
26
|
+
const OpenAPIDocumentSchema = compose(
|
|
27
|
+
Type.Object({
|
|
28
|
+
/** REQUIRED. This string MUST be the version number of the OpenAPI Specification that the OpenAPI Document uses. The openapi field SHOULD be used by tooling to interpret the OpenAPI Document. This is not related to the API info.version string. */
|
|
29
|
+
openapi: Type.String(),
|
|
30
|
+
/** REQUIRED. Provides metadata about the API. The metadata MAY be used by tooling as required. */
|
|
31
|
+
info: InfoObjectSchema,
|
|
32
|
+
/** The default value for the $schema keyword within Schema Objects contained within this OAS document. This MUST be in the form of a URI. */
|
|
33
|
+
jsonSchemaDialect: Type.Optional(Type.String()),
|
|
34
|
+
/** An array of Server Objects, which provide connectivity information to a target server. If the servers field is not provided, or is an empty array, the default value would be a Server Object with a url value of /. */
|
|
35
|
+
servers: Type.Optional(Type.Array(ServerObjectSchema)),
|
|
36
|
+
/** The available paths and operations for the API. */
|
|
37
|
+
paths: Type.Optional(PathsObjectSchema),
|
|
38
|
+
/** The incoming webhooks that MAY be received as part of this API and that the API consumer MAY choose to implement. Closely related to the callbacks feature, this section describes requests initiated other than by an API call, for example by an out of band registration. The key name is a unique string to refer to each webhook, while the (optionally referenced) Path Item Object describes a request that may be initiated by the API provider and the expected responses. An example is available. */
|
|
39
|
+
webhooks: Type.Optional(Type.Record(Type.String(), PathItemObjectSchema)),
|
|
40
|
+
/** An element to hold various Objects for the OpenAPI Description. */
|
|
41
|
+
components: Type.Optional(ComponentsObjectSchema),
|
|
42
|
+
/** A declaration of which security mechanisms can be used across the API. The list of values includes alternative Security Requirement Objects that can be used. Only one of the Security Requirement Objects need to be satisfied to authorize a request. Individual operations can override this definition. The list can be incomplete, up to being empty or absent. To make security explicitly optional, an empty security requirement ({}) can be included in the array. */
|
|
43
|
+
security: Type.Optional(Type.Array(SecurityRequirementObjectSchema)),
|
|
44
|
+
/** A list of tags used by the OpenAPI Description with additional metadata. The order of the tags can be used to reflect on their order by the parsing tools. Not all tags that are used by the Operation Object must be declared. The tags that are not declared MAY be organized randomly or based on the tools' logic. Each tag name in the list MUST be unique. */
|
|
45
|
+
tags: Type.Optional(Type.Array(TagObjectSchema)),
|
|
46
|
+
/** Additional external documentation. */
|
|
47
|
+
externalDocs: Type.Optional(ExternalDocumentationObjectSchema)
|
|
48
|
+
}),
|
|
49
|
+
ExtensionsSchema,
|
|
50
|
+
OpenApiExtensionsSchema
|
|
51
|
+
);
|
|
52
|
+
export {
|
|
53
|
+
OpenAPIDocumentSchema
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=openapi-document.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/schemas/v3.1/strict/openapi-document.ts"],
|
|
4
|
+
"sourcesContent": ["import {\n Type,\n type Static,\n type TArray,\n type TIntersect,\n type TObject,\n type TOptional,\n type TRecord,\n type TString,\n} from '@sinclair/typebox'\nimport { InfoObjectSchema } from './info'\nimport { ServerObjectSchema } from './server'\nimport { PathsObjectSchema } from './paths'\nimport { ComponentsObjectSchema } from './components'\nimport { SecurityRequirementObjectSchema } from './security-requirement'\nimport { TagObjectSchema } from './tag'\nimport { ExternalDocumentationObjectSchema } from './external-documentation'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { compose } from '@/schemas/v3.1/compose'\nimport { PathItemObjectSchema } from '@/schemas/v3.1/strict/path-operations'\n\nconst OpenApiExtensionsSchema = Type.Partial(\n Type.Object({\n 'x-tagGroups': Type.Array(\n compose(\n Type.Object({\n tags: Type.Array(Type.String()),\n }),\n TagObjectSchema,\n ),\n ),\n }),\n)\n\n/**\n * The type annotation is needed because the inferred type of this node exceeds the maximum length the compiler will serialize.\n * This is due to the complex nested structure of the OpenAPI document schema, which includes multiple optional fields,\n * arrays, and nested objects. The explicit type annotation helps TypeScript handle this large type definition.\n */\nexport type OpenApiDocumentSchemaType = TIntersect<\n [\n TObject<{\n openapi: TString\n info: typeof InfoObjectSchema\n jsonSchemaDialect: TOptional<TString>\n servers: TOptional<TArray<typeof ServerObjectSchema>>\n paths: TOptional<typeof PathsObjectSchema>\n webhooks: TOptional<TRecord<TString, typeof PathItemObjectSchema>>\n components: TOptional<typeof ComponentsObjectSchema>\n security: TOptional<TArray<typeof SecurityRequirementObjectSchema>>\n tags: TOptional<TArray<typeof TagObjectSchema>>\n externalDocs: TOptional<typeof ExternalDocumentationObjectSchema>\n }>,\n typeof ExtensionsSchema,\n typeof OpenApiExtensionsSchema,\n ]\n>\n\nexport const OpenAPIDocumentSchema: OpenApiDocumentSchemaType = compose(\n Type.Object({\n /** REQUIRED. This string MUST be the version number of the OpenAPI Specification that the OpenAPI Document uses. The openapi field SHOULD be used by tooling to interpret the OpenAPI Document. This is not related to the API info.version string. */\n openapi: Type.String(),\n /** REQUIRED. Provides metadata about the API. The metadata MAY be used by tooling as required. */\n info: InfoObjectSchema,\n /** The default value for the $schema keyword within Schema Objects contained within this OAS document. This MUST be in the form of a URI. */\n jsonSchemaDialect: Type.Optional(Type.String()),\n /** An array of Server Objects, which provide connectivity information to a target server. If the servers field is not provided, or is an empty array, the default value would be a Server Object with a url value of /. */\n servers: Type.Optional(Type.Array(ServerObjectSchema)),\n /** The available paths and operations for the API. */\n paths: Type.Optional(PathsObjectSchema),\n /** The incoming webhooks that MAY be received as part of this API and that the API consumer MAY choose to implement. Closely related to the callbacks feature, this section describes requests initiated other than by an API call, for example by an out of band registration. The key name is a unique string to refer to each webhook, while the (optionally referenced) Path Item Object describes a request that may be initiated by the API provider and the expected responses. An example is available. */\n webhooks: Type.Optional(Type.Record(Type.String(), PathItemObjectSchema)),\n /** An element to hold various Objects for the OpenAPI Description. */\n components: Type.Optional(ComponentsObjectSchema),\n /** A declaration of which security mechanisms can be used across the API. The list of values includes alternative Security Requirement Objects that can be used. Only one of the Security Requirement Objects need to be satisfied to authorize a request. Individual operations can override this definition. The list can be incomplete, up to being empty or absent. To make security explicitly optional, an empty security requirement ({}) can be included in the array. */\n security: Type.Optional(Type.Array(SecurityRequirementObjectSchema)),\n /** A list of tags used by the OpenAPI Description with additional metadata. The order of the tags can be used to reflect on their order by the parsing tools. Not all tags that are used by the Operation Object must be declared. The tags that are not declared MAY be organized randomly or based on the tools' logic. Each tag name in the list MUST be unique. */\n tags: Type.Optional(Type.Array(TagObjectSchema)),\n /** Additional external documentation. */\n externalDocs: Type.Optional(ExternalDocumentationObjectSchema),\n }),\n ExtensionsSchema,\n OpenApiExtensionsSchema,\n)\n\nexport type OpenApiDocument = Static<typeof OpenAPIDocumentSchema>\n"],
|
|
5
|
+
"mappings": "AAAA;AAAA,EACE;AAAA,OAQK;AACP,SAAS,wBAAwB;AACjC,SAAS,0BAA0B;AACnC,SAAS,yBAAyB;AAClC,SAAS,8BAA8B;AACvC,SAAS,uCAAuC;AAChD,SAAS,uBAAuB;AAChC,SAAS,yCAAyC;AAClD,SAAS,wBAAwB;AACjC,SAAS,eAAe;AACxB,SAAS,4BAA4B;AAErC,MAAM,0BAA0B,KAAK;AAAA,EACnC,KAAK,OAAO;AAAA,IACV,eAAe,KAAK;AAAA,MAClB;AAAA,QACE,KAAK,OAAO;AAAA,UACV,MAAM,KAAK,MAAM,KAAK,OAAO,CAAC;AAAA,QAChC,CAAC;AAAA,QACD;AAAA,MACF;AAAA,IACF;AAAA,EACF,CAAC;AACH;AA0BO,MAAM,wBAAmD;AAAA,EAC9D,KAAK,OAAO;AAAA;AAAA,IAEV,SAAS,KAAK,OAAO;AAAA;AAAA,IAErB,MAAM;AAAA;AAAA,IAEN,mBAAmB,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAE9C,SAAS,KAAK,SAAS,KAAK,MAAM,kBAAkB,CAAC;AAAA;AAAA,IAErD,OAAO,KAAK,SAAS,iBAAiB;AAAA;AAAA,IAEtC,UAAU,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,oBAAoB,CAAC;AAAA;AAAA,IAExE,YAAY,KAAK,SAAS,sBAAsB;AAAA;AAAA,IAEhD,UAAU,KAAK,SAAS,KAAK,MAAM,+BAA+B,CAAC;AAAA;AAAA,IAEnE,MAAM,KAAK,SAAS,KAAK,MAAM,eAAe,CAAC;AAAA;AAAA,IAE/C,cAAc,KAAK,SAAS,iCAAiC;AAAA,EAC/D,CAAC;AAAA,EACD;AAAA,EACA;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|