You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that when I referred to proto A file there is A messge named View, and the proto that was referred to also referred to another proto B, B proto file also has a message named View, The generated View in openapi.yaml was not the view in proto A, it was replaced by the view in proto B.
proto A like this:
The generated openapi.yaml contains View of proto B, not View of proto A.
Is this a bug?
The text was updated successfully, but these errors were encountered:
yzhaoyu
changed the title
protoc-gen-openapi: there are some wrong with the generated openapi.yaml when message's name is same
protoc-gen-openapi: there are something wrong with the generated openapi.yaml when message's name is same
Apr 29, 2022
Thanks, this is certainly a possibility. Could you try using the fq_schema_naming option that @jeffsawatzky added? Do the results of that work for you?
Thanks, this is certainly a possibility. Could you try using the fq_schema_naming option that @jeffsawatzky added? Do the results of that work for you?
I found that when I referred to proto A file there is A messge named View, and the proto that was referred to also referred to another proto B, B proto file also has a message named View, The generated View in openapi.yaml was not the view in proto A, it was replaced by the view in proto B.
proto A like this:
proto B like this:
The generated openapi.yaml contains View of proto B, not View of proto A.
Is this a bug?
The text was updated successfully, but these errors were encountered: