Forum Discussion

Stephan123's avatar
Stephan123
New Contributor
5 years ago

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...
  • HKosova's avatar
    HKosova
    5 years ago

    Should be

    paths:
      /bla/foo:
        post:
          ...
      /bla/foo/bar:
        post:
          ...