@apistudio/apim-cli
Version:
CLI for API Management Products
1,172 lines • 38.5 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-oneOf": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
oneOf: ({
required: string[];
properties: {
messageHeader: {
type: string;
required: string[];
properties: {
action: {
type: string;
enum: string[];
};
headerName: {
type: string;
};
value: {
type: string;
};
messageName: {
type: string;
};
};
};
valueType: {
type: string;
enum: string[];
};
messageBody?: undefined;
messageMethod?: undefined;
messageUri?: undefined;
variable?: undefined;
distributedVariable?: undefined;
telemetry?: undefined;
};
additionalProperties?: undefined;
} | {
required: string[];
properties: {
messageBody: {
type: string;
required: string[];
properties: {
messageName: {
type: string;
};
value: {
type: string;
};
};
};
valueType: {
type: string;
enum: string[];
};
messageHeader?: undefined;
messageMethod?: undefined;
messageUri?: undefined;
variable?: undefined;
distributedVariable?: undefined;
telemetry?: undefined;
};
additionalProperties?: undefined;
} | {
required: string[];
properties: {
messageMethod: {
type: string;
required: string[];
properties: {
messageName: {
type: string;
};
method: {
type: string;
};
};
};
valueType: {
type: string;
enum: string[];
};
messageHeader?: undefined;
messageBody?: undefined;
messageUri?: undefined;
variable?: undefined;
distributedVariable?: undefined;
telemetry?: undefined;
};
additionalProperties?: undefined;
} | {
required: string[];
properties: {
messageUri: {
type: string;
required: string[];
properties: {
messageName: {
type: string;
};
nameType: {
type: string;
enum: string[];
};
path: {
type: string;
};
queryParams: {
type: string;
items: {
type: string;
required: string[];
properties: {
name: {
type: string;
};
value: {
type: string;
};
};
};
};
};
};
valueType: {
type: string;
enum: string[];
};
messageHeader?: undefined;
messageBody?: undefined;
messageMethod?: undefined;
variable?: undefined;
distributedVariable?: undefined;
telemetry?: undefined;
};
additionalProperties?: undefined;
} | {
required: string[];
properties: {
variable: {
type: string;
required: string[];
properties: {
name: {
type: string;
};
value: {
type: string;
};
};
};
valueType: {
type: string;
enum: string[];
};
messageHeader?: undefined;
messageBody?: undefined;
messageMethod?: undefined;
messageUri?: undefined;
distributedVariable?: undefined;
telemetry?: undefined;
};
additionalProperties?: undefined;
} | {
required: string[];
properties: {
distributedVariable: {
type: string;
required: string[];
properties: {
expire: {
type: string;
};
name: {
type: string;
};
setExclusive: {
type: string;
};
value: {
type: string;
};
};
};
valueType: {
type: string;
enum: string[];
};
messageHeader?: undefined;
messageBody?: undefined;
messageMethod?: undefined;
messageUri?: undefined;
variable?: undefined;
telemetry?: undefined;
};
additionalProperties?: undefined;
} | {
required: string[];
additionalProperties: boolean;
properties: {
telemetry: {
type: string;
required: string[];
additionalProperties: boolean;
properties: {
key: {
type: string;
};
span: {
oneOf: ({
type: string;
oneOf?: undefined;
} | {
type: string;
oneOf: ({
required: string[];
properties: {
policySpan: {
type: string;
};
httpSpan?: undefined;
};
} | {
required: string[];
properties: {
httpSpan: {
type: string;
};
policySpan?: undefined;
};
})[];
})[];
};
value: {
type: string;
};
};
};
valueType: {
type: string;
enum: string[];
};
messageHeader?: undefined;
messageBody?: undefined;
messageMethod?: undefined;
messageUri?: undefined;
variable?: undefined;
distributedVariable?: undefined;
};
})[];
};
};
};
};
"spec-messageHeader-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageHeader-action-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageHeader-action-enum": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
enum: string[];
};
};
};
};
"$-spec-messageHeader-headerName-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageHeader-value-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageHeader-messageName-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-valueType-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-messageBody-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageBody-messageName-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageBody-value-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-messageMethod-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageMethod-messageName-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageMethod-method-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-messageUri-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageUri-messageName-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageUri-nameType-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageUri-nameType-enum": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
enum: string[];
};
};
};
};
"$-spec-messageUri-path-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageUri-queryParams-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageUri-queryParams-items-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageUri-queryParams[*]-name-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageUri-queryParams[*]-value-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"required:$.spec.messageUri.queryParams[*]:name": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"type:$.spec.messageUri.queryParams[*].name:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"required:$.spec.messageUri.queryParams[*]:value": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"type:$.spec.messageUri.queryParams[*].value:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-variable-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-variable-name-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-variable-value-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-distributedVariable-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-distributedVariable-expire-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-distributedVariable-name-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-distributedVariable-setExclusive-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-distributedVariable-value-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-telemetry-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-telemetry-no-additional-properties": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
additionalProperties: boolean;
properties: {
key: {};
span: {};
value: {};
};
};
};
};
};
"$-spec-telemetry-key-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-telemetry-span-oneOf": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
oneOf: ({
type: string;
oneOf?: undefined;
} | {
type: string;
oneOf: ({
required: string[];
properties: {
policySpan: {
type: string;
};
httpSpan?: undefined;
};
} | {
required: string[];
properties: {
httpSpan: {
type: string;
};
policySpan?: undefined;
};
})[];
})[];
};
};
};
};
"$-spec-telemetry-value-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
};
}
export default _default;
//# sourceMappingURL=set.ruleset.d.ts.map