Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Ability to define "basePath" #111

@vykozlov

Description

@vykozlov

Description

Sometimes, especially when behind the reverse proxy, it might be useful to have "basePath" for the API not as / but as something else, e.g /api. It would be nice, if a user could (re-)define this "basePath"

In the case of OAS3, in swagger.yaml this would correspond to:

servers:
  - url: /api

Ref: https://swagger.io/docs/specification/api-host-and-base-path/

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions