You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -71,10 +71,10 @@ class GoAPEGenerateRequest$Type extends MessageType<GoAPEGenerateRequest> {
|
||||
constructor() {
|
||||
super("api.GoAPEGenerateRequest", [
|
||||
{ no: 1, name: "Namespace", kind: "scalar", localName: "Namespace", jsonName: "Namespace", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Namespace" } } },
|
||||
{ no: 2, name: "TemplateName", kind: "scalar", localName: "TemplateName", jsonName: "TemplateName", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Template name" } } },
|
||||
{ no: 2, name: "TemplateName", kind: "scalar", localName: "TemplateName", jsonName: "TemplateName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Template name" }, "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "LanguageCode", kind: "scalar", localName: "LanguageCode", jsonName: "LanguageCode", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'>ISO 639 code</a> message language", example: "\"en\"" } } },
|
||||
{ no: 4, name: "DataJSON", kind: "scalar", localName: "DataJSON", jsonName: "DataJSON", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "JSON data to be passed to the template" } } },
|
||||
{ no: 5, name: "OutputFormat", kind: "enum", localName: "OutputFormat", jsonName: "OutputFormat", T: () => ["api.GoAPEGenerateType", GoAPEGenerateType], options: { "validate.rules": { enum: { definedOnly: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Output format" } } }
|
||||
{ no: 4, name: "DataJSON", kind: "scalar", localName: "DataJSON", jsonName: "DataJSON", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "JSON data to be passed to the template" }, "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 5, name: "OutputFormat", kind: "enum", localName: "OutputFormat", jsonName: "OutputFormat", T: () => ["api.GoAPEGenerateType", GoAPEGenerateType], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Output format" }, "validate.rules": { enum: { definedOnly: true } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["TemplateName", "DataJSON", "OutputFormat"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<GoAPEGenerateRequest>): GoAPEGenerateRequest {
|
||||
|
||||
Reference in New Issue
Block a user