You've already forked npm-core-sdk
Latest generation
This commit is contained in:
32
openapiv2.ts
32
openapiv2.ts
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name,keep_enum_prefix
|
||||
// @generated from protobuf file "openapiv2.proto" (package "grpc.gateway.protoc_gen_openapiv2.options", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
||||
@@ -1001,19 +1001,19 @@ export enum SecurityScheme_Type {
|
||||
/**
|
||||
* @generated from protobuf enum value: TYPE_INVALID = 0;
|
||||
*/
|
||||
INVALID = 0,
|
||||
TYPE_INVALID = 0,
|
||||
/**
|
||||
* @generated from protobuf enum value: TYPE_BASIC = 1;
|
||||
*/
|
||||
BASIC = 1,
|
||||
TYPE_BASIC = 1,
|
||||
/**
|
||||
* @generated from protobuf enum value: TYPE_API_KEY = 2;
|
||||
*/
|
||||
API_KEY = 2,
|
||||
TYPE_API_KEY = 2,
|
||||
/**
|
||||
* @generated from protobuf enum value: TYPE_OAUTH2 = 3;
|
||||
*/
|
||||
OAUTH2 = 3
|
||||
TYPE_OAUTH2 = 3
|
||||
}
|
||||
/**
|
||||
* The location of the API key. Valid values are "query" or "header".
|
||||
@@ -1024,15 +1024,15 @@ export enum SecurityScheme_In {
|
||||
/**
|
||||
* @generated from protobuf enum value: IN_INVALID = 0;
|
||||
*/
|
||||
INVALID = 0,
|
||||
IN_INVALID = 0,
|
||||
/**
|
||||
* @generated from protobuf enum value: IN_QUERY = 1;
|
||||
*/
|
||||
QUERY = 1,
|
||||
IN_QUERY = 1,
|
||||
/**
|
||||
* @generated from protobuf enum value: IN_HEADER = 2;
|
||||
*/
|
||||
HEADER = 2
|
||||
IN_HEADER = 2
|
||||
}
|
||||
/**
|
||||
* The flow used by the OAuth2 security scheme. Valid values are
|
||||
@@ -1044,23 +1044,23 @@ export enum SecurityScheme_Flow {
|
||||
/**
|
||||
* @generated from protobuf enum value: FLOW_INVALID = 0;
|
||||
*/
|
||||
INVALID = 0,
|
||||
FLOW_INVALID = 0,
|
||||
/**
|
||||
* @generated from protobuf enum value: FLOW_IMPLICIT = 1;
|
||||
*/
|
||||
IMPLICIT = 1,
|
||||
FLOW_IMPLICIT = 1,
|
||||
/**
|
||||
* @generated from protobuf enum value: FLOW_PASSWORD = 2;
|
||||
*/
|
||||
PASSWORD = 2,
|
||||
FLOW_PASSWORD = 2,
|
||||
/**
|
||||
* @generated from protobuf enum value: FLOW_APPLICATION = 3;
|
||||
*/
|
||||
APPLICATION = 3,
|
||||
FLOW_APPLICATION = 3,
|
||||
/**
|
||||
* @generated from protobuf enum value: FLOW_ACCESS_CODE = 4;
|
||||
*/
|
||||
ACCESS_CODE = 4
|
||||
FLOW_ACCESS_CODE = 4
|
||||
}
|
||||
/**
|
||||
* `SecurityRequirement` is a representation of OpenAPI v2 specification's
|
||||
@@ -2579,11 +2579,11 @@ export const SecurityDefinitions = new SecurityDefinitions$Type();
|
||||
class SecurityScheme$Type extends MessageType<SecurityScheme> {
|
||||
constructor() {
|
||||
super("grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme", [
|
||||
{ no: 1, name: "type", kind: "enum", T: () => ["grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type", SecurityScheme_Type, "TYPE_"] },
|
||||
{ no: 1, name: "type", kind: "enum", T: () => ["grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type", SecurityScheme_Type] },
|
||||
{ no: 2, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 4, name: "in", kind: "enum", T: () => ["grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In", SecurityScheme_In, "IN_"] },
|
||||
{ no: 5, name: "flow", kind: "enum", T: () => ["grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow", SecurityScheme_Flow, "FLOW_"] },
|
||||
{ no: 4, name: "in", kind: "enum", T: () => ["grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In", SecurityScheme_In] },
|
||||
{ no: 5, name: "flow", kind: "enum", T: () => ["grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow", SecurityScheme_Flow] },
|
||||
{ no: 6, name: "authorization_url", kind: "scalar", localName: "authorization_url", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 7, name: "token_url", kind: "scalar", localName: "token_url", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 8, name: "scopes", kind: "message", T: () => Scopes },
|
||||
|
||||
Reference in New Issue
Block a user