gnostic icon indicating copy to clipboard operation
gnostic copied to clipboard

protoc-gen-openapi BUG

Open mercury4li opened this issue 2 years ago • 3 comments

你们的v0.7.0 貌似有问题, 更新之后生成的字段, int64 全变成了string

mercury4li avatar Nov 02 '23 09:11 mercury4li

I have the same problem

yankarinRG avatar Nov 13 '23 16:11 yankarinRG

I also have the same issue when upgrading from v0.6.9 to v0.7.0. int64 fields that had previously been added as integer fields in the generated openapi.yaml are now generated as "string" types.

ajorgensen avatar Mar 06 '24 20:03 ajorgensen

It appears this change was intentional see https://github.com/google/gnostic/pull/355

ajorgensen avatar Mar 07 '24 16:03 ajorgensen