oapi-codegen
oapi-codegen copied to clipboard
How to generate wildcard route for gin?
Normally, if we defined a path parameter, it will generate a route like /special/{:action} for gin. I want to know, how to generate a route like /special/*action.
wildcard routes are not part of the official open api specification. some Java libraries allow that, but that's basically not standardized behavior.
@kofj what are you trying to get generated here? As John mentions, if we can't describe it with OpenAPI, this won't be generatable