Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3740559

Browse filesBrowse files
navingerJustinBeckwith
authored andcommitted
I'm updating all the openapi files in the getting-started sample in all the sample repos to remove basePath: "/" Here's the reason from simonz130: From the OpenAPI 2 spec: * basePath: "If it is not included, the API is served directly under the host. The value MUST start with a leading slash (/). " * Paths for methods: "A relative path to an individual endpoint. The field name MUST begin with a slash. The path is appended to the basePath in order to construct the full URL." This OpenAPI getting-started sample have basePath: "/", which (per strict spec interpretation) means all the paths start with double-slashes. (e.g "//v1/shelves" rather than "/v1/shelves"). Removing basepath="/" fixes that.
1 parent 0b0d619 commit 3740559
Copy full SHA for 3740559

File tree

Expand file treeCollapse file tree

0 file changed

+0
-0
lines changed
Filter options
    Expand file treeCollapse file tree

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
    0 (0)
    Morty Proxy This is a proxified and sanitized view of the page, visit original site.