'Is it possible to write server base URL with varying length variable in OpenAPI?
Is it possible in OpenAPI to write a server base URL which can match all below examples?
- https://localhost/abc/def/path
- https://localhost/path
- https://localhost/abc/path
I want to use /path in my path object but I'm not sure how to write varying length variable in server base URL.
Thanks.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
