Stephan123
5 years agoNew Contributor
Swagger path with optional parm
Hello,
i'm a beginner in swagger editor.
I will write a simple application.
In my application there is a route.
For example: /bla/foo
I need in the path a optional param for example: /bla/foo/bar
'bar' is the optional param.
Can i define a optional param ?
Your sincerly
Stephan
Should be
paths: /bla/foo: post: ... /bla/foo/bar: post: ...