grpc-ecosystem/grpc-gateway
Vedi su GitHubReplace openapiv2 path template parser with httprule parser
Open
#2824 aperta il 31 lug 2022
enhancementhelp wanted
Metriche repository
- Star
- (16.971 star)
- Metriche merge PR
- (Merge medio 1g 4h) (141 PR mergiate in 30 g)
Descrizione
We have at least two parsers for the http.proto template language;
- In the httprule package, which is used by
protoc-gen-grpc-gatewayto generate the handler paths - In the genopenapi package to generate the OpenAPI paths.
We should unify these two places, and we should be using the one in httprule. I did a little bit of investigating and I think it should be possible without too much work, and then we'd have consistency between the two generators.