Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow per-path entries to be other things than maps #145

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

richcarl
Copy link
Collaborator

The entries of a path are typically methods like "get": {...}
but can also be path-global things such as "parameters": [...]
Example:

    "/users/{id}": {
        "parameters": [
            { "in": "path",
              "name": "id",
              "required": "true",
              "type": "string",
              "description": "The user ID"
            }
        ],
        "get": {
            ...
        },
        "post": {
            ...
        }
    }

@elbrujohalcon
Copy link
Member

Please merge from master to avoid CI issues.

The entries of a path are typically methods like `"get": {...}`
but can also be path-global things such as `"parameters": [...]`
@richcarl richcarl merged commit 69a63ab into inaka:master Oct 21, 2022
@richcarl richcarl deleted the path-global-stuff branch October 21, 2022 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants