2021-02-27 19:34:26 +03:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package micro.openapiv2;
|
|
|
|
|
|
|
|
option go_package = "github.com/unistack-org/micro-proto/openapiv2;openapiv2";
|
|
|
|
|
|
|
|
import "google/protobuf/descriptor.proto";
|
2021-08-17 00:55:55 +03:00
|
|
|
import "openapiv2/gopenapiv2.proto";
|
2021-02-27 19:34:26 +03:00
|
|
|
|
|
|
|
extend google.protobuf.FileOptions {
|
|
|
|
// ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
|
|
|
|
//
|
|
|
|
// All IDs are the same, as assigned. It is okay that they are the same, as they extend
|
|
|
|
// different descriptor messages.
|
2021-09-05 23:44:36 +03:00
|
|
|
Document openapiv2_swagger = 847940;
|
2021-02-27 19:34:26 +03:00
|
|
|
}
|
|
|
|
extend google.protobuf.MethodOptions {
|
|
|
|
// ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
|
|
|
|
//
|
|
|
|
// All IDs are the same, as assigned. It is okay that they are the same, as they extend
|
|
|
|
// different descriptor messages.
|
2021-09-05 23:44:36 +03:00
|
|
|
Operation openapiv2_operation = 847940;
|
2021-02-27 19:34:26 +03:00
|
|
|
}
|
|
|
|
extend google.protobuf.MessageOptions {
|
|
|
|
// ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
|
|
|
|
//
|
|
|
|
// All IDs are the same, as assigned. It is okay that they are the same, as they extend
|
|
|
|
// different descriptor messages.
|
2021-09-05 23:44:36 +03:00
|
|
|
Schema openapiv2_schema = 847940;
|
2021-02-27 19:34:26 +03:00
|
|
|
}
|
|
|
|
extend google.protobuf.ServiceOptions {
|
|
|
|
// ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
|
|
|
|
//
|
|
|
|
// All IDs are the same, as assigned. It is okay that they are the same, as they extend
|
|
|
|
// different descriptor messages.
|
2021-09-05 23:44:36 +03:00
|
|
|
Tag openapiv2_tag = 847940;
|
2021-02-27 19:34:26 +03:00
|
|
|
}
|
|
|
|
extend google.protobuf.FieldOptions {
|
|
|
|
// ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
|
|
|
|
//
|
|
|
|
// All IDs are the same, as assigned. It is okay that they are the same, as they extend
|
|
|
|
// different descriptor messages.
|
2021-09-05 23:44:36 +03:00
|
|
|
Schema openapiv2_field = 847940;
|
2021-02-27 19:34:26 +03:00
|
|
|
}
|