chore: update protoc-gen-swagger to protoc-gen-openapiv2 (#20448)

This commit is contained in:
Paul Chen
2024-05-31 09:58:58 +00:00
committed by GitHub
parent 8364791eb3
commit 6967fbd11e
8 changed files with 6693 additions and 10048 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
version: v1
plugins:
- name: swagger
- name: openapiv2
out: ../tmp-swagger-gen
opt: logtostderr=true,fqn_for_swagger_name=true,simple_operation_ids=true
opt: logtostderr=true,fqn_for_openapi_name=true,simple_operation_ids=true,json_names_for_fields=false
+2
View File
@@ -4,6 +4,8 @@ package cosmos.app.v1alpha1;
import "google/protobuf/any.proto";
option go_package = "cosmossdk.io/api/app/v1alpha1";
// Config represents the configuration for a Cosmos SDK ABCI app.
// It is intended that all state machine logic including the version of
// baseapp and tx handlers (and possibly even Tendermint) that an app needs
+2
View File
@@ -4,6 +4,8 @@ package cosmos.app.v1alpha1;
import "google/protobuf/descriptor.proto";
option go_package = "cosmossdk.io/api/app/v1alpha1";
extend google.protobuf.MessageOptions {
// module indicates that this proto type is a config object for an app module
// and optionally provides other descriptive information about the module.
+2
View File
@@ -4,6 +4,8 @@ package cosmos.app.v1alpha1;
import "cosmos/app/v1alpha1/config.proto";
option go_package = "cosmossdk.io/api/app/v1alpha1";
// Query is the app module query service.
service Query {
@@ -7,6 +7,8 @@ import "google/protobuf/duration.proto";
import "google/protobuf/any.proto";
import "cosmos/base/query/v1beta1/pagination.proto";
option go_package = "cosmossdk.io/api/app/cosmos/orm/query/v1alpha1";
// Query is a generic gRPC service for querying ORM data.
service Query {