You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -21,31 +21,31 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
|
||||
export 'openapiv2.pbenum.dart';
|
||||
|
||||
/// `Swagger` is a representation of OpenAPI v2 specification's Swagger object.
|
||||
/// `Swagger` is a representation of OpenAPI v2 specification's Swagger object.
|
||||
///
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#swaggerObject
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#swaggerObject
|
||||
///
|
||||
/// Example:
|
||||
/// Example:
|
||||
///
|
||||
/// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
|
||||
/// info: {
|
||||
/// title: "Echo API";
|
||||
/// version: "1.0";
|
||||
/// description: "";
|
||||
/// contact: {
|
||||
/// name: "gRPC-Gateway project";
|
||||
/// url: "https://github.com/grpc-ecosystem/grpc-gateway";
|
||||
/// email: "none@example.com";
|
||||
/// };
|
||||
/// license: {
|
||||
/// name: "BSD 3-Clause License";
|
||||
/// url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/master/LICENSE.txt";
|
||||
/// };
|
||||
/// };
|
||||
/// schemes: HTTPS;
|
||||
/// consumes: "application/json";
|
||||
/// produces: "application/json";
|
||||
/// };
|
||||
/// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
|
||||
/// info: {
|
||||
/// title: "Echo API";
|
||||
/// version: "1.0";
|
||||
/// description: "";
|
||||
/// contact: {
|
||||
/// name: "gRPC-Gateway project";
|
||||
/// url: "https://github.com/grpc-ecosystem/grpc-gateway";
|
||||
/// email: "none@example.com";
|
||||
/// };
|
||||
/// license: {
|
||||
/// name: "BSD 3-Clause License";
|
||||
/// url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/master/LICENSE.txt";
|
||||
/// };
|
||||
/// };
|
||||
/// schemes: HTTPS;
|
||||
/// consumes: "application/json";
|
||||
/// produces: "application/json";
|
||||
/// };
|
||||
class Swagger extends $pb.GeneratedMessage {
|
||||
factory Swagger({
|
||||
$core.String? swagger,
|
||||
@@ -125,15 +125,9 @@ class Swagger extends $pb.GeneratedMessage {
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Swagger clone() => Swagger()..mergeFromMessage(this);
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Swagger copyWith(void Function(Swagger) updates) => super.copyWith((message) => updates(message as Swagger)) as Swagger;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
@@ -268,31 +262,31 @@ class Swagger extends $pb.GeneratedMessage {
|
||||
$pb.PbMap<$core.String, $79.Value> get extensions => $_getMap(12);
|
||||
}
|
||||
|
||||
/// `Operation` is a representation of OpenAPI v2 specification's Operation object.
|
||||
/// `Operation` is a representation of OpenAPI v2 specification's Operation object.
|
||||
///
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#operationObject
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#operationObject
|
||||
///
|
||||
/// Example:
|
||||
/// Example:
|
||||
///
|
||||
/// service EchoService {
|
||||
/// rpc Echo(SimpleMessage) returns (SimpleMessage) {
|
||||
/// option (google.api.http) = {
|
||||
/// get: "/v1/example/echo/{id}"
|
||||
/// };
|
||||
/// service EchoService {
|
||||
/// rpc Echo(SimpleMessage) returns (SimpleMessage) {
|
||||
/// option (google.api.http) = {
|
||||
/// get: "/v1/example/echo/{id}"
|
||||
/// };
|
||||
///
|
||||
/// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
||||
/// summary: "Get a message.";
|
||||
/// operation_id: "getMessage";
|
||||
/// tags: "echo";
|
||||
/// responses: {
|
||||
/// key: "200"
|
||||
/// value: {
|
||||
/// description: "OK";
|
||||
/// }
|
||||
/// }
|
||||
/// };
|
||||
/// }
|
||||
/// }
|
||||
/// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
||||
/// summary: "Get a message.";
|
||||
/// operation_id: "getMessage";
|
||||
/// tags: "echo";
|
||||
/// responses: {
|
||||
/// key: "200"
|
||||
/// value: {
|
||||
/// description: "OK";
|
||||
/// }
|
||||
/// }
|
||||
/// };
|
||||
/// }
|
||||
/// }
|
||||
class Operation extends $pb.GeneratedMessage {
|
||||
factory Operation({
|
||||
$core.Iterable<$core.String>? tags,
|
||||
@@ -367,15 +361,9 @@ class Operation extends $pb.GeneratedMessage {
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Operation clone() => Operation()..mergeFromMessage(this);
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Operation copyWith(void Function(Operation) updates) => super.copyWith((message) => updates(message as Operation)) as Operation;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
@@ -489,9 +477,9 @@ class Operation extends $pb.GeneratedMessage {
|
||||
$pb.PbMap<$core.String, $79.Value> get extensions => $_getMap(11);
|
||||
}
|
||||
|
||||
/// `Header` is a representation of OpenAPI v2 specification's Header object.
|
||||
/// `Header` is a representation of OpenAPI v2 specification's Header object.
|
||||
///
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#headerObject
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#headerObject
|
||||
class Header extends $pb.GeneratedMessage {
|
||||
factory Header({
|
||||
$core.String? description,
|
||||
@@ -531,15 +519,9 @@ class Header extends $pb.GeneratedMessage {
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Header clone() => Header()..mergeFromMessage(this);
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Header copyWith(void Function(Header) updates) => super.copyWith((message) => updates(message as Header)) as Header;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
@@ -605,9 +587,9 @@ class Header extends $pb.GeneratedMessage {
|
||||
void clearPattern() => $_clearField(13);
|
||||
}
|
||||
|
||||
/// `Response` is a representation of OpenAPI v2 specification's Response object.
|
||||
/// `Response` is a representation of OpenAPI v2 specification's Response object.
|
||||
///
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#responseObject
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#responseObject
|
||||
class Response extends $pb.GeneratedMessage {
|
||||
factory Response({
|
||||
$core.String? description,
|
||||
@@ -647,15 +629,9 @@ class Response extends $pb.GeneratedMessage {
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Response clone() => Response()..mergeFromMessage(this);
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Response copyWith(void Function(Response) updates) => super.copyWith((message) => updates(message as Response)) as Response;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
@@ -710,29 +686,29 @@ class Response extends $pb.GeneratedMessage {
|
||||
$pb.PbMap<$core.String, $79.Value> get extensions => $_getMap(4);
|
||||
}
|
||||
|
||||
/// `Info` is a representation of OpenAPI v2 specification's Info object.
|
||||
/// `Info` is a representation of OpenAPI v2 specification's Info object.
|
||||
///
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#infoObject
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#infoObject
|
||||
///
|
||||
/// Example:
|
||||
/// Example:
|
||||
///
|
||||
/// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
|
||||
/// info: {
|
||||
/// title: "Echo API";
|
||||
/// version: "1.0";
|
||||
/// description: "";
|
||||
/// contact: {
|
||||
/// name: "gRPC-Gateway project";
|
||||
/// url: "https://github.com/grpc-ecosystem/grpc-gateway";
|
||||
/// email: "none@example.com";
|
||||
/// };
|
||||
/// license: {
|
||||
/// name: "BSD 3-Clause License";
|
||||
/// url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/master/LICENSE.txt";
|
||||
/// };
|
||||
/// };
|
||||
/// ...
|
||||
/// };
|
||||
/// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
|
||||
/// info: {
|
||||
/// title: "Echo API";
|
||||
/// version: "1.0";
|
||||
/// description: "";
|
||||
/// contact: {
|
||||
/// name: "gRPC-Gateway project";
|
||||
/// url: "https://github.com/grpc-ecosystem/grpc-gateway";
|
||||
/// email: "none@example.com";
|
||||
/// };
|
||||
/// license: {
|
||||
/// name: "BSD 3-Clause License";
|
||||
/// url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/master/LICENSE.txt";
|
||||
/// };
|
||||
/// };
|
||||
/// ...
|
||||
/// };
|
||||
class Info extends $pb.GeneratedMessage {
|
||||
factory Info({
|
||||
$core.String? title,
|
||||
@@ -782,15 +758,9 @@ class Info extends $pb.GeneratedMessage {
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Info clone() => Info()..mergeFromMessage(this);
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Info copyWith(void Function(Info) updates) => super.copyWith((message) => updates(message as Info)) as Info;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
@@ -876,24 +846,24 @@ class Info extends $pb.GeneratedMessage {
|
||||
$pb.PbMap<$core.String, $79.Value> get extensions => $_getMap(6);
|
||||
}
|
||||
|
||||
/// `Contact` is a representation of OpenAPI v2 specification's Contact object.
|
||||
/// `Contact` is a representation of OpenAPI v2 specification's Contact object.
|
||||
///
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#contactObject
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#contactObject
|
||||
///
|
||||
/// Example:
|
||||
/// Example:
|
||||
///
|
||||
/// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
|
||||
/// info: {
|
||||
/// ...
|
||||
/// contact: {
|
||||
/// name: "gRPC-Gateway project";
|
||||
/// url: "https://github.com/grpc-ecosystem/grpc-gateway";
|
||||
/// email: "none@example.com";
|
||||
/// };
|
||||
/// ...
|
||||
/// };
|
||||
/// ...
|
||||
/// };
|
||||
/// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
|
||||
/// info: {
|
||||
/// ...
|
||||
/// contact: {
|
||||
/// name: "gRPC-Gateway project";
|
||||
/// url: "https://github.com/grpc-ecosystem/grpc-gateway";
|
||||
/// email: "none@example.com";
|
||||
/// };
|
||||
/// ...
|
||||
/// };
|
||||
/// ...
|
||||
/// };
|
||||
class Contact extends $pb.GeneratedMessage {
|
||||
factory Contact({
|
||||
$core.String? name,
|
||||
@@ -923,15 +893,9 @@ class Contact extends $pb.GeneratedMessage {
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Contact clone() => Contact()..mergeFromMessage(this);
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Contact copyWith(void Function(Contact) updates) => super.copyWith((message) => updates(message as Contact)) as Contact;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
@@ -977,23 +941,23 @@ class Contact extends $pb.GeneratedMessage {
|
||||
void clearEmail() => $_clearField(3);
|
||||
}
|
||||
|
||||
/// `License` is a representation of OpenAPI v2 specification's License object.
|
||||
/// `License` is a representation of OpenAPI v2 specification's License object.
|
||||
///
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#licenseObject
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#licenseObject
|
||||
///
|
||||
/// Example:
|
||||
/// Example:
|
||||
///
|
||||
/// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
|
||||
/// info: {
|
||||
/// ...
|
||||
/// license: {
|
||||
/// name: "BSD 3-Clause License";
|
||||
/// url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/master/LICENSE.txt";
|
||||
/// };
|
||||
/// ...
|
||||
/// };
|
||||
/// ...
|
||||
/// };
|
||||
/// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
|
||||
/// info: {
|
||||
/// ...
|
||||
/// license: {
|
||||
/// name: "BSD 3-Clause License";
|
||||
/// url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/master/LICENSE.txt";
|
||||
/// };
|
||||
/// ...
|
||||
/// };
|
||||
/// ...
|
||||
/// };
|
||||
class License extends $pb.GeneratedMessage {
|
||||
factory License({
|
||||
$core.String? name,
|
||||
@@ -1018,15 +982,9 @@ class License extends $pb.GeneratedMessage {
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
License clone() => License()..mergeFromMessage(this);
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
License copyWith(void Function(License) updates) => super.copyWith((message) => updates(message as License)) as License;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
@@ -1060,21 +1018,21 @@ class License extends $pb.GeneratedMessage {
|
||||
void clearUrl() => $_clearField(2);
|
||||
}
|
||||
|
||||
/// `ExternalDocumentation` is a representation of OpenAPI v2 specification's
|
||||
/// ExternalDocumentation object.
|
||||
/// `ExternalDocumentation` is a representation of OpenAPI v2 specification's
|
||||
/// ExternalDocumentation object.
|
||||
///
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#externalDocumentationObject
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#externalDocumentationObject
|
||||
///
|
||||
/// Example:
|
||||
/// Example:
|
||||
///
|
||||
/// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
|
||||
/// ...
|
||||
/// external_docs: {
|
||||
/// description: "More about gRPC-Gateway";
|
||||
/// url: "https://github.com/grpc-ecosystem/grpc-gateway";
|
||||
/// }
|
||||
/// ...
|
||||
/// };
|
||||
/// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
|
||||
/// ...
|
||||
/// external_docs: {
|
||||
/// description: "More about gRPC-Gateway";
|
||||
/// url: "https://github.com/grpc-ecosystem/grpc-gateway";
|
||||
/// }
|
||||
/// ...
|
||||
/// };
|
||||
class ExternalDocumentation extends $pb.GeneratedMessage {
|
||||
factory ExternalDocumentation({
|
||||
$core.String? description,
|
||||
@@ -1099,15 +1057,9 @@ class ExternalDocumentation extends $pb.GeneratedMessage {
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ExternalDocumentation clone() => ExternalDocumentation()..mergeFromMessage(this);
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ExternalDocumentation copyWith(void Function(ExternalDocumentation) updates) => super.copyWith((message) => updates(message as ExternalDocumentation)) as ExternalDocumentation;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
@@ -1143,9 +1095,9 @@ class ExternalDocumentation extends $pb.GeneratedMessage {
|
||||
void clearUrl() => $_clearField(2);
|
||||
}
|
||||
|
||||
/// `Schema` is a representation of OpenAPI v2 specification's Schema object.
|
||||
/// `Schema` is a representation of OpenAPI v2 specification's Schema object.
|
||||
///
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject
|
||||
class Schema extends $pb.GeneratedMessage {
|
||||
factory Schema({
|
||||
JSONSchema? jsonSchema,
|
||||
@@ -1185,15 +1137,9 @@ class Schema extends $pb.GeneratedMessage {
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Schema clone() => Schema()..mergeFromMessage(this);
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Schema copyWith(void Function(Schema) updates) => super.copyWith((message) => updates(message as Schema)) as Schema;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
@@ -1290,15 +1236,9 @@ class JSONSchema_FieldConfiguration extends $pb.GeneratedMessage {
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
JSONSchema_FieldConfiguration clone() => JSONSchema_FieldConfiguration()..mergeFromMessage(this);
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
JSONSchema_FieldConfiguration copyWith(void Function(JSONSchema_FieldConfiguration) updates) => super.copyWith((message) => updates(message as JSONSchema_FieldConfiguration)) as JSONSchema_FieldConfiguration;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
@@ -1325,33 +1265,33 @@ class JSONSchema_FieldConfiguration extends $pb.GeneratedMessage {
|
||||
void clearPathParamName() => $_clearField(47);
|
||||
}
|
||||
|
||||
/// `JSONSchema` represents properties from JSON Schema taken, and as used, in
|
||||
/// the OpenAPI v2 spec.
|
||||
/// `JSONSchema` represents properties from JSON Schema taken, and as used, in
|
||||
/// the OpenAPI v2 spec.
|
||||
///
|
||||
/// This includes changes made by OpenAPI v2.
|
||||
/// This includes changes made by OpenAPI v2.
|
||||
///
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject
|
||||
///
|
||||
/// See also: https://cswr.github.io/JsonSchema/spec/basic_types/,
|
||||
/// https://github.com/json-schema-org/json-schema-spec/blob/master/schema.json
|
||||
/// See also: https://cswr.github.io/JsonSchema/spec/basic_types/,
|
||||
/// https://github.com/json-schema-org/json-schema-spec/blob/master/schema.json
|
||||
///
|
||||
/// Example:
|
||||
/// Example:
|
||||
///
|
||||
/// message SimpleMessage {
|
||||
/// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
|
||||
/// json_schema: {
|
||||
/// title: "SimpleMessage"
|
||||
/// description: "A simple message."
|
||||
/// required: ["id"]
|
||||
/// }
|
||||
/// };
|
||||
/// message SimpleMessage {
|
||||
/// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
|
||||
/// json_schema: {
|
||||
/// title: "SimpleMessage"
|
||||
/// description: "A simple message."
|
||||
/// required: ["id"]
|
||||
/// }
|
||||
/// };
|
||||
///
|
||||
/// // Id represents the message identifier.
|
||||
/// string id = 1; [
|
||||
/// (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
/// description: "The unique identifier of the simple message."
|
||||
/// }];
|
||||
/// }
|
||||
/// // Id represents the message identifier.
|
||||
/// string id = 1; [
|
||||
/// (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
/// description: "The unique identifier of the simple message."
|
||||
/// }];
|
||||
/// }
|
||||
class JSONSchema extends $pb.GeneratedMessage {
|
||||
factory JSONSchema({
|
||||
$core.String? ref,
|
||||
@@ -1496,15 +1436,9 @@ class JSONSchema extends $pb.GeneratedMessage {
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
JSONSchema clone() => JSONSchema()..mergeFromMessage(this);
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
JSONSchema copyWith(void Function(JSONSchema) updates) => super.copyWith((message) => updates(message as JSONSchema)) as JSONSchema;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
@@ -1746,9 +1680,9 @@ class JSONSchema extends $pb.GeneratedMessage {
|
||||
JSONSchema_FieldConfiguration ensureFieldConfiguration() => $_ensure(25);
|
||||
}
|
||||
|
||||
/// `Tag` is a representation of OpenAPI v2 specification's Tag object.
|
||||
/// `Tag` is a representation of OpenAPI v2 specification's Tag object.
|
||||
///
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#tagObject
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#tagObject
|
||||
class Tag extends $pb.GeneratedMessage {
|
||||
factory Tag({
|
||||
$core.String? name,
|
||||
@@ -1783,15 +1717,9 @@ class Tag extends $pb.GeneratedMessage {
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Tag clone() => Tag()..mergeFromMessage(this);
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Tag copyWith(void Function(Tag) updates) => super.copyWith((message) => updates(message as Tag)) as Tag;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
@@ -1846,14 +1774,14 @@ class Tag extends $pb.GeneratedMessage {
|
||||
$pb.PbMap<$core.String, $79.Value> get extensions => $_getMap(3);
|
||||
}
|
||||
|
||||
/// `SecurityDefinitions` is a representation of OpenAPI v2 specification's
|
||||
/// Security Definitions object.
|
||||
/// `SecurityDefinitions` is a representation of OpenAPI v2 specification's
|
||||
/// Security Definitions object.
|
||||
///
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securityDefinitionsObject
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securityDefinitionsObject
|
||||
///
|
||||
/// A declaration of the security schemes available to be used in the
|
||||
/// specification. This does not enforce the security schemes on the operations
|
||||
/// and only serves to provide the relevant details for each scheme.
|
||||
/// A declaration of the security schemes available to be used in the
|
||||
/// specification. This does not enforce the security schemes on the operations
|
||||
/// and only serves to provide the relevant details for each scheme.
|
||||
class SecurityDefinitions extends $pb.GeneratedMessage {
|
||||
factory SecurityDefinitions({
|
||||
$core.Iterable<$core.MapEntry<$core.String, SecurityScheme>>? security,
|
||||
@@ -1873,15 +1801,9 @@ class SecurityDefinitions extends $pb.GeneratedMessage {
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SecurityDefinitions clone() => SecurityDefinitions()..mergeFromMessage(this);
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SecurityDefinitions copyWith(void Function(SecurityDefinitions) updates) => super.copyWith((message) => updates(message as SecurityDefinitions)) as SecurityDefinitions;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
@@ -1900,15 +1822,15 @@ class SecurityDefinitions extends $pb.GeneratedMessage {
|
||||
$pb.PbMap<$core.String, SecurityScheme> get security => $_getMap(0);
|
||||
}
|
||||
|
||||
/// `SecurityScheme` is a representation of OpenAPI v2 specification's
|
||||
/// Security Scheme object.
|
||||
/// `SecurityScheme` is a representation of OpenAPI v2 specification's
|
||||
/// Security Scheme object.
|
||||
///
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securitySchemeObject
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securitySchemeObject
|
||||
///
|
||||
/// Allows the definition of a security scheme that can be used by the
|
||||
/// operations. Supported schemes are basic authentication, an API key (either as
|
||||
/// a header or as a query parameter) and OAuth2's common flows (implicit,
|
||||
/// password, application and access code).
|
||||
/// Allows the definition of a security scheme that can be used by the
|
||||
/// operations. Supported schemes are basic authentication, an API key (either as
|
||||
/// a header or as a query parameter) and OAuth2's common flows (implicit,
|
||||
/// password, application and access code).
|
||||
class SecurityScheme extends $pb.GeneratedMessage {
|
||||
factory SecurityScheme({
|
||||
SecurityScheme_Type? type,
|
||||
@@ -1968,15 +1890,9 @@ class SecurityScheme extends $pb.GeneratedMessage {
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SecurityScheme clone() => SecurityScheme()..mergeFromMessage(this);
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SecurityScheme copyWith(void Function(SecurityScheme) updates) => super.copyWith((message) => updates(message as SecurityScheme)) as SecurityScheme;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
@@ -2111,15 +2027,9 @@ class SecurityRequirement_SecurityRequirementValue extends $pb.GeneratedMessage
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SecurityRequirement_SecurityRequirementValue clone() => SecurityRequirement_SecurityRequirementValue()..mergeFromMessage(this);
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SecurityRequirement_SecurityRequirementValue copyWith(void Function(SecurityRequirement_SecurityRequirementValue) updates) => super.copyWith((message) => updates(message as SecurityRequirement_SecurityRequirementValue)) as SecurityRequirement_SecurityRequirementValue;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
@@ -2136,17 +2046,17 @@ class SecurityRequirement_SecurityRequirementValue extends $pb.GeneratedMessage
|
||||
$pb.PbList<$core.String> get scope => $_getList(0);
|
||||
}
|
||||
|
||||
/// `SecurityRequirement` is a representation of OpenAPI v2 specification's
|
||||
/// Security Requirement object.
|
||||
/// `SecurityRequirement` is a representation of OpenAPI v2 specification's
|
||||
/// Security Requirement object.
|
||||
///
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securityRequirementObject
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securityRequirementObject
|
||||
///
|
||||
/// Lists the required security schemes to execute this operation. The object can
|
||||
/// have multiple security schemes declared in it which are all required (that
|
||||
/// is, there is a logical AND between the schemes).
|
||||
/// Lists the required security schemes to execute this operation. The object can
|
||||
/// have multiple security schemes declared in it which are all required (that
|
||||
/// is, there is a logical AND between the schemes).
|
||||
///
|
||||
/// The name used for each property MUST correspond to a security scheme
|
||||
/// declared in the Security Definitions.
|
||||
/// The name used for each property MUST correspond to a security scheme
|
||||
/// declared in the Security Definitions.
|
||||
class SecurityRequirement extends $pb.GeneratedMessage {
|
||||
factory SecurityRequirement({
|
||||
$core.Iterable<$core.MapEntry<$core.String, SecurityRequirement_SecurityRequirementValue>>? securityRequirement,
|
||||
@@ -2166,15 +2076,9 @@ class SecurityRequirement extends $pb.GeneratedMessage {
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SecurityRequirement clone() => SecurityRequirement()..mergeFromMessage(this);
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SecurityRequirement copyWith(void Function(SecurityRequirement) updates) => super.copyWith((message) => updates(message as SecurityRequirement)) as SecurityRequirement;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
@@ -2195,11 +2099,11 @@ class SecurityRequirement extends $pb.GeneratedMessage {
|
||||
$pb.PbMap<$core.String, SecurityRequirement_SecurityRequirementValue> get securityRequirement => $_getMap(0);
|
||||
}
|
||||
|
||||
/// `Scopes` is a representation of OpenAPI v2 specification's Scopes object.
|
||||
/// `Scopes` is a representation of OpenAPI v2 specification's Scopes object.
|
||||
///
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#scopesObject
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#scopesObject
|
||||
///
|
||||
/// Lists the available scopes for an OAuth2 security scheme.
|
||||
/// Lists the available scopes for an OAuth2 security scheme.
|
||||
class Scopes extends $pb.GeneratedMessage {
|
||||
factory Scopes({
|
||||
$core.Iterable<$core.MapEntry<$core.String, $core.String>>? scope,
|
||||
@@ -2219,15 +2123,9 @@ class Scopes extends $pb.GeneratedMessage {
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Scopes clone() => Scopes()..mergeFromMessage(this);
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Scopes copyWith(void Function(Scopes) updates) => super.copyWith((message) => updates(message as Scopes)) as Scopes;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
Reference in New Issue
Block a user