Latest generation

This commit is contained in:
ci core model
2025-05-26 12:14:28 +00:00
parent 65247e7fe4
commit cc9c6d0b4c
197 changed files with 15132 additions and 15052 deletions

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "openapiv2.proto" (package "grpc.gateway.protoc_gen_openapiv2.options", syntax proto3)
// tslint:disable
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
@@ -47,14 +47,14 @@ export interface Swagger {
* used by the OpenAPI UI and other clients to interpret the API listing. The
* value MUST be "2.0".
*
* @generated from protobuf field: string swagger = 1;
* @generated from protobuf field: string swagger = 1
*/
swagger: string;
/**
* Provides metadata about the API. The metadata can be used by the
* clients if needed.
*
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.Info info = 2;
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.Info info = 2
*/
info?: Info;
/**
@@ -63,7 +63,7 @@ export interface Swagger {
* not included, the host serving the documentation is to be used (including
* the port). The host does not support path templating.
*
* @generated from protobuf field: string host = 3;
* @generated from protobuf field: string host = 3
*/
host: string;
/**
@@ -77,7 +77,7 @@ export interface Swagger {
* manually removed from your `google.api.http` paths and your code changed to
* serve the API from the `base_path`.
*
* @generated from protobuf field: string base_path = 4;
* @generated from protobuf field: string base_path = 4
*/
base_path: string;
/**
@@ -85,7 +85,7 @@ export interface Swagger {
* "https", "ws", "wss". If the schemes is not included, the default scheme to
* be used is the one used to access the OpenAPI definition itself.
*
* @generated from protobuf field: repeated grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 5;
* @generated from protobuf field: repeated grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 5
*/
schemes: Scheme[];
/**
@@ -93,7 +93,7 @@ export interface Swagger {
* can be overridden on specific API calls. Value MUST be as described under
* Mime Types.
*
* @generated from protobuf field: repeated string consumes = 6;
* @generated from protobuf field: repeated string consumes = 6
*/
consumes: string[];
/**
@@ -101,14 +101,14 @@ export interface Swagger {
* can be overridden on specific API calls. Value MUST be as described under
* Mime Types.
*
* @generated from protobuf field: repeated string produces = 7;
* @generated from protobuf field: repeated string produces = 7
*/
produces: string[];
/**
* An object to hold responses that can be used across operations. This
* property does not define global responses for all operations.
*
* @generated from protobuf field: map<string, grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 10;
* @generated from protobuf field: map<string, grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 10
*/
responses: {
[key: string]: Response;
@@ -116,7 +116,7 @@ export interface Swagger {
/**
* Security scheme definitions that can be used across the specification.
*
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions security_definitions = 11;
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions security_definitions = 11
*/
security_definitions?: SecurityDefinitions;
/**
@@ -125,20 +125,20 @@ export interface Swagger {
* (that is, there is a logical OR between the security requirements).
* Individual operations can override this definition.
*
* @generated from protobuf field: repeated grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12;
* @generated from protobuf field: repeated grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12
*/
security: SecurityRequirement[];
/**
* A list of tags for API documentation control. Tags can be used for logical
* grouping of operations by resources or any other qualifier.
*
* @generated from protobuf field: repeated grpc.gateway.protoc_gen_openapiv2.options.Tag tags = 13;
* @generated from protobuf field: repeated grpc.gateway.protoc_gen_openapiv2.options.Tag tags = 13
*/
tags: Tag[];
/**
* Additional external documentation.
*
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 14;
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 14
*/
external_docs?: ExternalDocumentation;
/**
@@ -146,7 +146,7 @@ export interface Swagger {
* extra functionality that is not covered by the standard OpenAPI Specification.
* See: https://swagger.io/docs/specification/2-0/swagger-extensions/
*
* @generated from protobuf field: map<string, google.protobuf.Value> extensions = 15;
* @generated from protobuf field: map<string, google.protobuf.Value> extensions = 15
*/
extensions: {
[key: string]: Value;
@@ -186,27 +186,27 @@ export interface Operation {
* A list of tags for API documentation control. Tags can be used for logical
* grouping of operations by resources or any other qualifier.
*
* @generated from protobuf field: repeated string tags = 1;
* @generated from protobuf field: repeated string tags = 1
*/
tags: string[];
/**
* A short summary of what the operation does. For maximum readability in the
* swagger-ui, this field SHOULD be less than 120 characters.
*
* @generated from protobuf field: string summary = 2;
* @generated from protobuf field: string summary = 2
*/
summary: string;
/**
* A verbose explanation of the operation behavior. GFM syntax can be used for
* rich text representation.
*
* @generated from protobuf field: string description = 3;
* @generated from protobuf field: string description = 3
*/
description: string;
/**
* Additional external documentation for this operation.
*
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4;
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4
*/
external_docs?: ExternalDocumentation;
/**
@@ -215,7 +215,7 @@ export interface Operation {
* operationId to uniquely identify an operation, therefore, it is recommended
* to follow common programming naming conventions.
*
* @generated from protobuf field: string operation_id = 5;
* @generated from protobuf field: string operation_id = 5
*/
operation_id: string;
/**
@@ -223,7 +223,7 @@ export interface Operation {
* definition at the OpenAPI Object. An empty value MAY be used to clear the
* global definition. Value MUST be as described under Mime Types.
*
* @generated from protobuf field: repeated string consumes = 6;
* @generated from protobuf field: repeated string consumes = 6
*/
consumes: string[];
/**
@@ -231,14 +231,14 @@ export interface Operation {
* definition at the OpenAPI Object. An empty value MAY be used to clear the
* global definition. Value MUST be as described under Mime Types.
*
* @generated from protobuf field: repeated string produces = 7;
* @generated from protobuf field: repeated string produces = 7
*/
produces: string[];
/**
* The list of possible responses as they are returned from executing this
* operation.
*
* @generated from protobuf field: map<string, grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 9;
* @generated from protobuf field: map<string, grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 9
*/
responses: {
[key: string]: Response;
@@ -248,14 +248,14 @@ export interface Operation {
* "http", "https", "ws", "wss". The value overrides the OpenAPI Object
* schemes definition.
*
* @generated from protobuf field: repeated grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10;
* @generated from protobuf field: repeated grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10
*/
schemes: Scheme[];
/**
* Declares this operation to be deprecated. Usage of the declared operation
* should be refrained. Default value is false.
*
* @generated from protobuf field: bool deprecated = 11;
* @generated from protobuf field: bool deprecated = 11
*/
deprecated: boolean;
/**
@@ -265,7 +265,7 @@ export interface Operation {
* definition overrides any declared top-level security. To remove a top-level
* security declaration, an empty array can be used.
*
* @generated from protobuf field: repeated grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12;
* @generated from protobuf field: repeated grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12
*/
security: SecurityRequirement[];
/**
@@ -273,7 +273,7 @@ export interface Operation {
* extra functionality that is not covered by the standard OpenAPI Specification.
* See: https://swagger.io/docs/specification/2-0/swagger-extensions/
*
* @generated from protobuf field: map<string, google.protobuf.Value> extensions = 13;
* @generated from protobuf field: map<string, google.protobuf.Value> extensions = 13
*/
extensions: {
[key: string]: Value;
@@ -291,19 +291,19 @@ export interface Header {
/**
* `Description` is a short description of the header.
*
* @generated from protobuf field: string description = 1;
* @generated from protobuf field: string description = 1
*/
description: string;
/**
* The type of the object. The value MUST be one of "string", "number", "integer", or "boolean". The "array" type is not supported.
*
* @generated from protobuf field: string type = 2;
* @generated from protobuf field: string type = 2
*/
type: string;
/**
* `Format` The extending format for the previously mentioned type.
*
* @generated from protobuf field: string format = 3;
* @generated from protobuf field: string format = 3
*/
format: string;
/**
@@ -311,13 +311,13 @@ export interface Header {
* See: https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-6.2.
* Unlike JSON Schema this value MUST conform to the defined type for the header.
*
* @generated from protobuf field: string default = 6;
* @generated from protobuf field: string default = 6
*/
default: string;
/**
* 'Pattern' See https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.2.3.
*
* @generated from protobuf field: string pattern = 13;
* @generated from protobuf field: string pattern = 13
*/
pattern: string;
}
@@ -334,14 +334,14 @@ export interface Response {
* `Description` is a short description of the response.
* GFM syntax can be used for rich text representation.
*
* @generated from protobuf field: string description = 1;
* @generated from protobuf field: string description = 1
*/
description: string;
/**
* `Schema` optionally defines the structure of the response.
* If `Schema` is not provided, it means there is no content to the response.
*
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.Schema schema = 2;
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.Schema schema = 2
*/
schema?: Schema;
/**
@@ -349,7 +349,7 @@ export interface Response {
* `Header` name is expected to be a string in the canonical format of the MIME header key
* See: https://golang.org/pkg/net/textproto/#CanonicalMIMEHeaderKey
*
* @generated from protobuf field: map<string, grpc.gateway.protoc_gen_openapiv2.options.Header> headers = 3;
* @generated from protobuf field: map<string, grpc.gateway.protoc_gen_openapiv2.options.Header> headers = 3
*/
headers: {
[key: string]: Header;
@@ -358,7 +358,7 @@ export interface Response {
* `Examples` gives per-mimetype response examples.
* See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#example-object
*
* @generated from protobuf field: map<string, string> examples = 4;
* @generated from protobuf field: map<string, string> examples = 4
*/
examples: {
[key: string]: string;
@@ -368,7 +368,7 @@ export interface Response {
* extra functionality that is not covered by the standard OpenAPI Specification.
* See: https://swagger.io/docs/specification/2-0/swagger-extensions/
*
* @generated from protobuf field: map<string, google.protobuf.Value> extensions = 5;
* @generated from protobuf field: map<string, google.protobuf.Value> extensions = 5
*/
extensions: {
[key: string]: Value;
@@ -406,39 +406,39 @@ export interface Info {
/**
* The title of the application.
*
* @generated from protobuf field: string title = 1;
* @generated from protobuf field: string title = 1
*/
title: string;
/**
* A short description of the application. GFM syntax can be used for rich
* text representation.
*
* @generated from protobuf field: string description = 2;
* @generated from protobuf field: string description = 2
*/
description: string;
/**
* The Terms of Service for the API.
*
* @generated from protobuf field: string terms_of_service = 3;
* @generated from protobuf field: string terms_of_service = 3
*/
terms_of_service: string;
/**
* The contact information for the exposed API.
*
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.Contact contact = 4;
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.Contact contact = 4
*/
contact?: Contact;
/**
* The license information for the exposed API.
*
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.License license = 5;
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.License license = 5
*/
license?: License;
/**
* Provides the version of the application API (not to be confused
* with the specification version).
*
* @generated from protobuf field: string version = 6;
* @generated from protobuf field: string version = 6
*/
version: string;
/**
@@ -446,7 +446,7 @@ export interface Info {
* extra functionality that is not covered by the standard OpenAPI Specification.
* See: https://swagger.io/docs/specification/2-0/swagger-extensions/
*
* @generated from protobuf field: map<string, google.protobuf.Value> extensions = 7;
* @generated from protobuf field: map<string, google.protobuf.Value> extensions = 7
*/
extensions: {
[key: string]: Value;
@@ -479,21 +479,21 @@ export interface Contact {
/**
* The identifying name of the contact person/organization.
*
* @generated from protobuf field: string name = 1;
* @generated from protobuf field: string name = 1
*/
name: string;
/**
* The URL pointing to the contact information. MUST be in the format of a
* URL.
*
* @generated from protobuf field: string url = 2;
* @generated from protobuf field: string url = 2
*/
url: string;
/**
* The email address of the contact person/organization. MUST be in the format
* of an email address.
*
* @generated from protobuf field: string email = 3;
* @generated from protobuf field: string email = 3
*/
email: string;
}
@@ -523,13 +523,13 @@ export interface License {
/**
* The license name used for the API.
*
* @generated from protobuf field: string name = 1;
* @generated from protobuf field: string name = 1
*/
name: string;
/**
* A URL to the license used for the API. MUST be in the format of a URL.
*
* @generated from protobuf field: string url = 2;
* @generated from protobuf field: string url = 2
*/
url: string;
}
@@ -558,14 +558,14 @@ export interface ExternalDocumentation {
* A short description of the target documentation. GFM syntax can be used for
* rich text representation.
*
* @generated from protobuf field: string description = 1;
* @generated from protobuf field: string description = 1
*/
description: string;
/**
* The URL for the target documentation. Value MUST be in the format
* of a URL.
*
* @generated from protobuf field: string url = 2;
* @generated from protobuf field: string url = 2
*/
url: string;
}
@@ -579,7 +579,7 @@ export interface ExternalDocumentation {
*/
export interface Schema {
/**
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1;
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1
*/
json_schema?: JSONSchema;
/**
@@ -589,7 +589,7 @@ export interface Schema {
* be in the required property list. When used, the value MUST be the name of
* this schema or any schema that inherits it.
*
* @generated from protobuf field: string discriminator = 2;
* @generated from protobuf field: string discriminator = 2
*/
discriminator: string;
/**
@@ -599,20 +599,20 @@ export interface Schema {
* true SHOULD NOT be in the required list of the defined schema. Default
* value is false.
*
* @generated from protobuf field: bool read_only = 3;
* @generated from protobuf field: bool read_only = 3
*/
read_only: boolean;
/**
* Additional external documentation for this schema.
*
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 5;
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 5
*/
external_docs?: ExternalDocumentation;
/**
* A free-form property to include an example of an instance for this schema in JSON.
* This is copied verbatim to the output.
*
* @generated from protobuf field: string example = 6;
* @generated from protobuf field: string example = 6
*/
example: string;
}
@@ -657,27 +657,27 @@ export interface JSONSchema {
* For example:
* `ref: ".google.protobuf.Timestamp"`.
*
* @generated from protobuf field: string ref = 3;
* @generated from protobuf field: string ref = 3
*/
ref: string;
/**
* The title of the schema.
*
* @generated from protobuf field: string title = 5;
* @generated from protobuf field: string title = 5
*/
title: string;
/**
* A short description of the schema.
*
* @generated from protobuf field: string description = 6;
* @generated from protobuf field: string description = 6
*/
description: string;
/**
* @generated from protobuf field: string default = 7;
* @generated from protobuf field: string default = 7
*/
default: string;
/**
* @generated from protobuf field: bool read_only = 8;
* @generated from protobuf field: bool read_only = 8
*/
read_only: boolean;
/**
@@ -685,97 +685,97 @@ export interface JSONSchema {
* verbatim to the output swagger.json. Quotes must be escaped.
* This property is the same for 2.0 and 3.0.0 https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/3.0.0.md#schemaObject https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject
*
* @generated from protobuf field: string example = 9;
* @generated from protobuf field: string example = 9
*/
example: string;
/**
* @generated from protobuf field: double multiple_of = 10;
* @generated from protobuf field: double multiple_of = 10
*/
multiple_of: number;
/**
* Maximum represents an inclusive upper limit for a numeric instance. The
* value of MUST be a number,
*
* @generated from protobuf field: double maximum = 11;
* @generated from protobuf field: double maximum = 11
*/
maximum: number;
/**
* @generated from protobuf field: bool exclusive_maximum = 12;
* @generated from protobuf field: bool exclusive_maximum = 12
*/
exclusive_maximum: boolean;
/**
* minimum represents an inclusive lower limit for a numeric instance. The
* value of MUST be a number,
*
* @generated from protobuf field: double minimum = 13;
* @generated from protobuf field: double minimum = 13
*/
minimum: number;
/**
* @generated from protobuf field: bool exclusive_minimum = 14;
* @generated from protobuf field: bool exclusive_minimum = 14
*/
exclusive_minimum: boolean;
/**
* @generated from protobuf field: uint64 max_length = 15;
* @generated from protobuf field: uint64 max_length = 15
*/
max_length: bigint;
/**
* @generated from protobuf field: uint64 min_length = 16;
* @generated from protobuf field: uint64 min_length = 16
*/
min_length: bigint;
/**
* @generated from protobuf field: string pattern = 17;
* @generated from protobuf field: string pattern = 17
*/
pattern: string;
/**
* @generated from protobuf field: uint64 max_items = 20;
* @generated from protobuf field: uint64 max_items = 20
*/
max_items: bigint;
/**
* @generated from protobuf field: uint64 min_items = 21;
* @generated from protobuf field: uint64 min_items = 21
*/
min_items: bigint;
/**
* @generated from protobuf field: bool unique_items = 22;
* @generated from protobuf field: bool unique_items = 22
*/
unique_items: boolean;
/**
* @generated from protobuf field: uint64 max_properties = 24;
* @generated from protobuf field: uint64 max_properties = 24
*/
max_properties: bigint;
/**
* @generated from protobuf field: uint64 min_properties = 25;
* @generated from protobuf field: uint64 min_properties = 25
*/
min_properties: bigint;
/**
* @generated from protobuf field: repeated string required = 26;
* @generated from protobuf field: repeated string required = 26
*/
required: string[];
/**
* Items in 'array' must be unique.
*
* @generated from protobuf field: repeated string array = 34;
* @generated from protobuf field: repeated string array = 34
*/
array: string[];
/**
* @generated from protobuf field: repeated grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35;
* @generated from protobuf field: repeated grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35
*/
type: JSONSchema_JSONSchemaSimpleTypes[];
/**
* `Format`
*
* @generated from protobuf field: string format = 36;
* @generated from protobuf field: string format = 36
*/
format: string;
/**
* Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1
*
* @generated from protobuf field: repeated string enum = 46;
* @generated from protobuf field: repeated string enum = 46
*/
enum: string[];
/**
* Additional field level properties used when generating the OpenAPI v2 file.
*
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration field_configuration = 1001;
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration field_configuration = 1001
*/
field_configuration?: JSONSchema_FieldConfiguration;
/**
@@ -783,7 +783,7 @@ export interface JSONSchema {
* extra functionality that is not covered by the standard OpenAPI Specification.
* See: https://swagger.io/docs/specification/2-0/swagger-extensions/
*
* @generated from protobuf field: map<string, google.protobuf.Value> extensions = 48;
* @generated from protobuf field: map<string, google.protobuf.Value> extensions = 48
*/
extensions: {
[key: string]: Value;
@@ -802,7 +802,7 @@ export interface JSONSchema_FieldConfiguration {
* parameter. Use this to avoid having auto generated path parameter names
* for overlapping paths.
*
* @generated from protobuf field: string path_param_name = 47;
* @generated from protobuf field: string path_param_name = 47
*/
path_param_name: string;
}
@@ -857,20 +857,20 @@ export interface Tag {
* global Tag object, then use that name to reference the tag throughout the
* OpenAPI file.
*
* @generated from protobuf field: string name = 1;
* @generated from protobuf field: string name = 1
*/
name: string;
/**
* A short description for the tag. GFM syntax can be used for rich text
* representation.
*
* @generated from protobuf field: string description = 2;
* @generated from protobuf field: string description = 2
*/
description: string;
/**
* Additional external documentation for this tag.
*
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 3;
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 3
*/
external_docs?: ExternalDocumentation;
/**
@@ -878,7 +878,7 @@ export interface Tag {
* extra functionality that is not covered by the standard OpenAPI Specification.
* See: https://swagger.io/docs/specification/2-0/swagger-extensions/
*
* @generated from protobuf field: map<string, google.protobuf.Value> extensions = 4;
* @generated from protobuf field: map<string, google.protobuf.Value> extensions = 4
*/
extensions: {
[key: string]: Value;
@@ -901,7 +901,7 @@ export interface SecurityDefinitions {
* A single security scheme definition, mapping a "name" to the scheme it
* defines.
*
* @generated from protobuf field: map<string, grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1;
* @generated from protobuf field: map<string, grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1
*/
security: {
[key: string]: SecurityScheme;
@@ -925,20 +925,20 @@ export interface SecurityScheme {
* The type of the security scheme. Valid values are "basic",
* "apiKey" or "oauth2".
*
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1;
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1
*/
type: SecurityScheme_Type;
/**
* A short description for security scheme.
*
* @generated from protobuf field: string description = 2;
* @generated from protobuf field: string description = 2
*/
description: string;
/**
* The name of the header or query parameter to be used.
* Valid for apiKey.
*
* @generated from protobuf field: string name = 3;
* @generated from protobuf field: string name = 3
*/
name: string;
/**
@@ -946,7 +946,7 @@ export interface SecurityScheme {
* "header".
* Valid for apiKey.
*
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In in = 4;
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In in = 4
*/
in: SecurityScheme_In;
/**
@@ -954,7 +954,7 @@ export interface SecurityScheme {
* "implicit", "password", "application" or "accessCode".
* Valid for oauth2.
*
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow flow = 5;
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow flow = 5
*/
flow: SecurityScheme_Flow;
/**
@@ -962,7 +962,7 @@ export interface SecurityScheme {
* the form of a URL.
* Valid for oauth2/implicit and oauth2/accessCode.
*
* @generated from protobuf field: string authorization_url = 6;
* @generated from protobuf field: string authorization_url = 6
*/
authorization_url: string;
/**
@@ -970,14 +970,14 @@ export interface SecurityScheme {
* form of a URL.
* Valid for oauth2/password, oauth2/application and oauth2/accessCode.
*
* @generated from protobuf field: string token_url = 7;
* @generated from protobuf field: string token_url = 7
*/
token_url: string;
/**
* The available scopes for the OAuth2 security scheme.
* Valid for oauth2.
*
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8;
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8
*/
scopes?: Scopes;
/**
@@ -985,7 +985,7 @@ export interface SecurityScheme {
* extra functionality that is not covered by the standard OpenAPI Specification.
* See: https://swagger.io/docs/specification/2-0/swagger-extensions/
*
* @generated from protobuf field: map<string, google.protobuf.Value> extensions = 9;
* @generated from protobuf field: map<string, google.protobuf.Value> extensions = 9
*/
extensions: {
[key: string]: Value;
@@ -1084,7 +1084,7 @@ export interface SecurityRequirement {
* then the value is a list of scope names required for the execution.
* For other security scheme types, the array MUST be empty.
*
* @generated from protobuf field: map<string, grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue> security_requirement = 1;
* @generated from protobuf field: map<string, grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue> security_requirement = 1
*/
security_requirement: {
[key: string]: SecurityRequirement_SecurityRequirementValue;
@@ -1099,7 +1099,7 @@ export interface SecurityRequirement {
*/
export interface SecurityRequirement_SecurityRequirementValue {
/**
* @generated from protobuf field: repeated string scope = 1;
* @generated from protobuf field: repeated string scope = 1
*/
scope: string[];
}
@@ -1117,7 +1117,7 @@ export interface Scopes {
* Maps between a name of a scope to a short description of it (as the value
* of the property).
*
* @generated from protobuf field: map<string, string> scope = 1;
* @generated from protobuf field: map<string, string> scope = 1
*/
scope: {
[key: string]: string;
@@ -1256,7 +1256,7 @@ class Swagger$Type extends MessageType<Swagger> {
case 2:
val = Response.internalBinaryRead(reader, reader.uint32(), options);
break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.Swagger.responses");
default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.Swagger.responses");
}
}
map[key ?? ""] = val ?? Response.create();
@@ -1272,7 +1272,7 @@ class Swagger$Type extends MessageType<Swagger> {
case 2:
val = Value.internalBinaryRead(reader, reader.uint32(), options);
break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.Swagger.extensions");
default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.Swagger.extensions");
}
}
map[key ?? ""] = val ?? Value.create();
@@ -1441,7 +1441,7 @@ class Operation$Type extends MessageType<Operation> {
case 2:
val = Response.internalBinaryRead(reader, reader.uint32(), options);
break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.Operation.responses");
default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.Operation.responses");
}
}
map[key ?? ""] = val ?? Response.create();
@@ -1457,7 +1457,7 @@ class Operation$Type extends MessageType<Operation> {
case 2:
val = Value.internalBinaryRead(reader, reader.uint32(), options);
break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.Operation.extensions");
default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.Operation.extensions");
}
}
map[key ?? ""] = val ?? Value.create();
@@ -1663,7 +1663,7 @@ class Response$Type extends MessageType<Response> {
case 2:
val = Header.internalBinaryRead(reader, reader.uint32(), options);
break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.Response.headers");
default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.Response.headers");
}
}
map[key ?? ""] = val ?? Header.create();
@@ -1679,7 +1679,7 @@ class Response$Type extends MessageType<Response> {
case 2:
val = reader.string();
break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.Response.examples");
default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.Response.examples");
}
}
map[key ?? ""] = val ?? "";
@@ -1695,7 +1695,7 @@ class Response$Type extends MessageType<Response> {
case 2:
val = Value.internalBinaryRead(reader, reader.uint32(), options);
break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.Response.extensions");
default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.Response.extensions");
}
}
map[key ?? ""] = val ?? Value.create();
@@ -1806,7 +1806,7 @@ class Info$Type extends MessageType<Info> {
case 2:
val = Value.internalBinaryRead(reader, reader.uint32(), options);
break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.Info.extensions");
default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.Info.extensions");
}
}
map[key ?? ""] = val ?? Value.create();
@@ -2269,7 +2269,7 @@ class JSONSchema$Type extends MessageType<JSONSchema> {
case 2:
val = Value.internalBinaryRead(reader, reader.uint32(), options);
break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.extensions");
default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.extensions");
}
}
map[key ?? ""] = val ?? Value.create();
@@ -2476,7 +2476,7 @@ class Tag$Type extends MessageType<Tag> {
case 2:
val = Value.internalBinaryRead(reader, reader.uint32(), options);
break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.Tag.extensions");
default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.Tag.extensions");
}
}
map[key ?? ""] = val ?? Value.create();
@@ -2552,7 +2552,7 @@ class SecurityDefinitions$Type extends MessageType<SecurityDefinitions> {
case 2:
val = SecurityScheme.internalBinaryRead(reader, reader.uint32(), options);
break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.security");
default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.security");
}
}
map[key ?? ""] = val ?? SecurityScheme.create();
@@ -2658,7 +2658,7 @@ class SecurityScheme$Type extends MessageType<SecurityScheme> {
case 2:
val = Value.internalBinaryRead(reader, reader.uint32(), options);
break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.extensions");
default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.extensions");
}
}
map[key ?? ""] = val ?? Value.create();
@@ -2749,7 +2749,7 @@ class SecurityRequirement$Type extends MessageType<SecurityRequirement> {
case 2:
val = SecurityRequirement_SecurityRequirementValue.internalBinaryRead(reader, reader.uint32(), options);
break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.security_requirement");
default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.security_requirement");
}
}
map[key ?? ""] = val ?? SecurityRequirement_SecurityRequirementValue.create();
@@ -2863,7 +2863,7 @@ class Scopes$Type extends MessageType<Scopes> {
case 2:
val = reader.string();
break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.Scopes.scope");
default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.Scopes.scope");
}
}
map[key ?? ""] = val ?? "";