Hello,
like described here (swagger-api/swagger-ui#380), path parameters are required and can't be optional.
I use optional path parameters in a REST API for filtering, sorting etc.
Example:
www.example.com/users
www.example.com/users:filter=active
www.example.com/users:sort=name
www.example.com/users:filter=active:sort=name
Are there any plans to allow optional parameters in the swagger specifications?
Hello,
like described here (swagger-api/swagger-ui#380), path parameters are required and can't be optional.
I use optional path parameters in a REST API for filtering, sorting etc.
Example:
www.example.com/users
www.example.com/users:filter=active
www.example.com/users:sort=name
www.example.com/users:filter=active:sort=name
Are there any plans to allow optional parameters in the swagger specifications?