@apistudio/apim-cli
Version:
CLI for API Management Products
1,657 lines • 71.9 kB
TypeScript
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-api-required": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"$-spec-api-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-api-$ref-oneOf": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
oneOf: ({
type: string;
items?: undefined;
} | {
type: string;
items: {
type: string;
};
})[];
};
};
};
};
"$-spec-api-$endpoint-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-api-no-additional-properties": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
additionalProperties: boolean;
properties: {
$ref: {};
$endpoint: {};
};
};
};
};
};
"$-spec-environment-oneOf": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
oneOf: ({
type: string;
additionalProperties: boolean;
properties: {
$ref: {
type: string;
};
variables: {
type: string;
items: {
type: string;
required: string[];
additionalProperties: boolean;
properties: {
key: {
type: string;
};
value: {
type: string;
};
isSecret: {
type: string;
default: boolean;
};
};
if: {
properties: {
isSecret: {
const: boolean;
};
};
};
then: {
properties: {
value: {
type: string;
pattern: string;
description: string;
};
};
};
};
};
};
items?: undefined;
} | {
type: string;
items: {
type: string;
additionalProperties: boolean;
properties: {
$ref: {
type: string;
};
variables: {
type: string;
items: {
type: string;
required: string[];
additionalProperties: boolean;
properties: {
key: {
type: string;
};
value: {
type: string;
};
isSecret: {
type: string;
default: boolean;
};
};
if: {
properties: {
isSecret: {
const: boolean;
};
};
then: {
properties: {
value: {
type: string;
pattern: string;
description: string;
};
};
};
};
};
};
};
};
additionalProperties?: undefined;
properties?: undefined;
})[];
};
};
};
};
"$-spec-environment-$ref-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-environment-variables-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-environment-variables-items-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-environment-variables[*]-key-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-environment-variables[*]-value-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-environment-variables[*]-isSecret-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-environment-variables-no-additional-properties": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
additionalProperties: boolean;
properties: {
key: {};
value: {};
isSecret: {};
};
};
};
};
};
"$-spec-environment-variables-items-conditional": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
if: {
properties: {
isSecret: {
const: boolean;
};
};
};
then: {
properties: {
value: {
type: string;
pattern: string;
description: string;
};
};
};
};
};
};
};
"$-spec-environment-variables-items-value-conditional-pattern": {
description: string;
message: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
if: {
properties: {
isSecret: {
const: boolean;
};
};
};
then: {
properties: {
value: {
type: string;
pattern: string;
};
};
};
};
};
};
};
"required:$.spec.environment.variables[*]:key": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"type:$.spec.environment.variables[*].key:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"required:$.spec.environment.variables[*]:value": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"type:$.spec.environment.variables[*].value:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"type:$.spec.environment.variables[*].isSecret:boolean": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"no-additional-properties:$.spec.environment.variables[*]": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
additionalProperties: boolean;
properties: {
key: {};
value: {};
isSecret: {};
};
};
};
};
};
"$-spec-request-required": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"$-spec-request-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request-items-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-endpoint-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-method-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-if-oneOf": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
oneOf: {
type: string;
}[];
};
};
};
};
"$-spec-request[*]-stopOnFail-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-skipped-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-resource-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-headers-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-headers-items-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-headers[*]-key-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-headers[*]-value-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-headers[*]-description-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"required:$.spec.request[*].headers[*]:key": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"type:$.spec.request[*].headers[*].key:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"required:$.spec.request[*].headers[*]:value": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"type:$.spec.request[*].headers[*].value:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"type:$.spec.request[*].headers[*].description:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-auth-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-auth-noauth-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-auth-bearerToken-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-auth-basicAuth-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-auth-basicAuth-username-required": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"$-spec-request[*]-auth-basicAuth-username-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-auth-basicAuth-password-required": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"$-spec-request[*]-auth-basicAuth-password-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-auth-no-additional-properties": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
additionalProperties: boolean;
properties: {
noauth: {};
bearerToken: {};
basicAuth: {};
};
};
};
};
};
"$-spec-request[*]-payload-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-payload-raw-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-payload-raw-json-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-payload-raw-js-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-payload-raw-html-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-payload-raw-xml-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-payload-raw-no-additional-properties": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
additionalProperties: boolean;
properties: {
json: {};
js: {};
html: {};
xml: {};
};
};
};
};
};
"$-spec-request[*]-payload-urlEncodedFormData-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-payload-urlEncodedFormData-items-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-payload-urlEncodedFormData[*]-key-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-payload-urlEncodedFormData[*]-value-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-payload-urlEncodedFormData[*]-type-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"required:$.spec.request[*].payload.urlEncodedFormData[*]:key": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"type:$.spec.request[*].payload.urlEncodedFormData[*].key:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"required:$.spec.request[*].payload.urlEncodedFormData[*]:value": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"type:$.spec.request[*].payload.urlEncodedFormData[*].value:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"type:$.spec.request[*].payload.urlEncodedFormData[*].type:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-payload-formData-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-payload-formData-items-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-payload-formData[*]-key-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-payload-formData[*]-value-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-payload-formData[*]-type-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"required:$.spec.request[*].payload.formData[*]:key": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"type:$.spec.request[*].payload.formData[*].key:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"required:$.spec.request[*].payload.formData[*]:value": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"type:$.spec.request[*].payload.formData[*].value:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"type:$.spec.request[*].payload.formData[*].type:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-payload-no-additional-properties": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
additionalProperties: boolean;
properties: {
raw: {};
urlEncodedFormData: {};
formData: {};
};
};
};
};
};
"$-spec-request[*]-settings-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-settings-sslVerification-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-settings-encodeURL-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-settings-no-additional-properties": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
additionalProperties: boolean;
properties: {
sslVerification: {};
encodeURL: {};
};
};
};
};
};
"$-spec-request[*]-parameters-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-parameters-items-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-parameters[*]-key-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-parameters[*]-value-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-request[*]-parameters[*]-type-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"required:$.spec.request[*].parameters[*]:key": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"type:$.spec.request[*].parameters[*].key:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"required:$.spec.request[*].parameters[*]:value": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"type:$.spec.request[*].parameters[*].value:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functio