invalid generated swagger from proto with protoc-gen-openapi
- Dominant language
- Go
- Stars
- 2.3k
- Forks
- 279
- PR merge metrics
- No merged PRs in 30d
Description
i have proto file with
{ post: "/some/path/XXX?RqUID={RqUID}&RqTm={RqTm}"; body: "*"; };
so i think that generated swagger have RqUID and RqTm in path query parameters and other in body
but
```
paths:
/some/path/XXX?RqUID={RqTm: // this is invalid
post:
tags:
- XXX
operationId: someOperation
parameters:
- name: RqUID
in: path
required: true
schema:
type: string
- name: RqTm
in: path
required: true
schema:
type: string
```
Contributor guide
Assessment
This issue has not been assessed yet.