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
This is a follow-up to the issue #4784 (closed PR #4813) - the path parameters generated with the expand_slashed_path_patterns=true compiler option have an OpenAPI type type: number with format: double.
To Reproduce
Have a protobuf definition with Google AIP style path parameters, e.g.
🐛 Bug Report
This is a follow-up to the issue #4784 (closed PR #4813) - the path parameters generated with the
expand_slashed_path_patterns=true
compiler option have an OpenAPI typetype: number
withformat: double
.To Reproduce
Have a protobuf definition with Google AIP style path parameters, e.g.
and enable the new
expand_slashed_path_patterns=true
compiler option (not yet released).When you generate the OpenAPI file from this, it will generate
The path parameters
publisher
andbook
are inferred from the proto pattern, but their type isnumber
- it should be astring
.Expected behavior
The path parameters generated when expanding the path pattern should have a type of
string
.Actual Behavior
The path parameters generated when expanding the path pattern have a type
number
with formatdouble
.The text was updated successfully, but these errors were encountered: