UNPKG

@apistudio/apim-cli

Version:

CLI for API Management Products

986 lines 29.9 kB
declare namespace _default { let rules: { "invalid-kind-value-combined": { description: string; severity: string; given: string; then: { field: string; function: string; functionOptions: { schema: { type: string; enum: string[]; }; }; }; }; "kind-not-exist": { description: string; severity: string; given: string; resolved: boolean; then: { field: string; function: string; }; }; "invalid-kind-value": { description: string; severity: string; given: string; then: { field: string; function: string; functionOptions: { schema: { type: string; enum: string[]; }; }; }; }; "invalid-kind-spl-character": { description: string; severity: string; given: string; resolved: boolean; then: { field: string; function: string; functionOptions: { match: string; }; }; }; "invalid-api-version": { description: string; severity: string; given: string; resolved: boolean; then: { field: string; function: string; functionOptions: { schema: { type: string; enum: string[]; }; }; }; }; "api-version-not-exist": { description: string; severity: string; given: string; resolved: boolean; then: { field: string; function: string; }; }; "metadata-not-exist": { description: string; severity: string; given: string; resolved: boolean; then: { field: string; function: string; }; }; "metadata-whitelist-check": { description: string; severity: string; given: string; resolved: boolean; then: { field: string; function: string; functionOptions: { match: string; }; }; }; "metadata-name-not-exist": { description: string; severity: string; given: string; resolved: boolean; then: { field: string; function: string; }; }; "metadata-name-whitelist-check": { description: string; severity: string; given: string; resolved: boolean; then: { field: string; function: string; functionOptions: { match: string; }; }; }; "metadata-version-not-exist": { description: string; severity: string; given: string; resolved: boolean; then: { field: string; function: string; }; }; "metadata-version-whitelist-check": { description: string; severity: string; given: string; resolved: boolean; then: { field: string; function: string; functionOptions: { match: string; }; }; }; "metadata-namespace-not-exist": { description: string; severity: string; given: string; resolved: boolean; then: { field: string; function: string; }; }; "metadata-namespace-whitelist-check": { description: string; severity: string; given: string; resolved: boolean; then: { field: string; function: string; functionOptions: { match: string; }; }; }; "spec-details-not-exist": { description: string; severity: string; given: string; resolved: boolean; then: { field: string; function: string; }; }; "spec-details-whitelist-check": { description: string; severity: string; given: string; resolved: boolean; then: { field: string; function: string; functionOptions: { match: string; }; }; }; "tags-not-exist": { description: string; severity: string; given: string; resolved: boolean; then: { field: string; function: string; }; }; "invalid-tag-type": { description: string; severity: string; given: string; resolved: boolean; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-metadata-description-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-metadata-name-required": { description: string; severity: string; given: string; then: { field: string; function: string; }; }; "$-metadata-name-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-metadata-namespace-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-metadata-tags-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-metadata-tags-items-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-metadata-type-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-metadata-type-enum": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { enum: string[]; }; }; }; }; "$-metadata-version-required": { description: string; severity: string; given: string; then: { field: string; function: string; }; }; "$-metadata-version-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-metadata-labels-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-metadata-labels-gatewayTypes-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-metadata-labels-gatewayTypes-items-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-input-required": { description: string; severity: string; given: string; then: { field: string; function: string; }; }; "$-spec-input-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-input-enum": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { enum: string[]; }; }; }; }; "$-spec-validate-oneOf": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { oneOf: ({ required: string[]; properties: { request: { type: string; properties: { schema: { type: string; properties: { validate: { type: string; }; }; }; query: { type: string; }; path: { type: string; }; header: { type: string; }; cookie: { type: string; }; contentType: { type: string; }; }; }; response?: undefined; openApiSchemaRef?: undefined; file?: undefined; }; } | { required: string[]; properties: { response: { type: string; properties: { schema: { type: string; properties: { validate: { type: string; }; }; }; header: { type: string; }; contentType: { type: string; }; }; }; request?: undefined; openApiSchemaRef?: undefined; file?: undefined; }; } | { required: string[]; properties: { openApiSchemaRef: { type: string; required: string[]; properties: { schemaReference: { type: string; }; failureStatusCode: { type: string; enum: string[]; }; }; }; request?: undefined; response?: undefined; file?: undefined; }; } | { required: string[]; properties: { file: { type: string; required: string[]; properties: { $path: { type: string; }; failureStatusCode: { type: string; enum: string[]; }; }; }; request?: undefined; response?: undefined; openApiSchemaRef?: undefined; }; })[]; }; }; }; }; "$-spec-validate-request-schema-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-validate-request-schema-validate-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-validate-request-query-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-validate-request-path-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-validate-request-header-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-validate-request-cookie-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-validate-request-contentType-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-validate-response-schema-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-validate-response-schema-validate-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-validate-response-header-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-validate-response-contentType-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-validate-openApiSchemaRef-schemaReference-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-validate-openApiSchemaRef-failureStatusCode-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-validate-openApiSchemaRef-failureStatusCode-enum": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { enum: string[]; }; }; }; }; "$-spec-validate-file-$path-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-validate-file-failureStatusCode-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-validate-file-failureStatusCode-enum": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { enum: string[]; }; }; }; }; "$-spec-extensions-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-extensions-webm-gateway-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-extensions-webm-gateway-apiVersion-required": { description: string; severity: string; given: string; then: { field: string; function: string; }; }; "$-spec-extensions-webm-gateway-apiVersion-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-extensions-webm-gateway-spec-required": { description: string; severity: string; given: string; then: { field: string; function: string; }; }; "$-spec-extensions-webm-gateway-spec-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-extensions-webm-gateway-spec-validate-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-extensions-webm-gateway-spec-validate-custom-headers-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-extensions-webm-gateway-spec-validate-custom-headers-condition-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-extensions-webm-gateway-spec-validate-schema-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-extensions-webm-gateway-spec-validate-schema-feature-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-extensions-webm-gateway-spec-validate-schema-feature-items-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-extensions-webm-gateway-spec-validate-schema-feature[*]-name-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-extensions-webm-gateway-spec-validate-schema-feature[*]-value-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "required:$.spec.extensions.webm-gateway.spec.validate.schema.feature[*]:name": { description: string; severity: string; given: string; then: { field: string; function: string; }; }; "type:$.spec.extensions.webm-gateway.spec.validate.schema.feature[*].name:string": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "required:$.spec.extensions.webm-gateway.spec.validate.schema.feature[*]:value": { description: string; severity: string; given: string; then: { field: string; function: string; }; }; "type:$.spec.extensions.webm-gateway.spec.validate.schema.feature[*].value:boolean": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "spec-required-properties": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { required: string[]; }; }; }; }; }; } export default _default; //# sourceMappingURL=validateapispecification.ruleset.d.ts.map