Skip to content
This repository has been archived by the owner on Dec 10, 2022. It is now read-only.

Parameters under Path Object are rendered as request methods #10

Open
captn3m0 opened this issue Jun 11, 2021 · 0 comments
Open

Parameters under Path Object are rendered as request methods #10

captn3m0 opened this issue Jun 11, 2021 · 0 comments

Comments

@captn3m0
Copy link
Contributor

Describe the bug
The OpenAPI specification allows parameters to be specified under the Path Item Object (https://spec.openapis.org/oas/v3.1.0#fixed-fields-6), alongside request methods like get/post.

These are rendered by jekyll-openapi incorrectly, as a separate request method.

Expected behavior
Parameters defined directly under Path Item should be rendered as parameters, not as request methods.

Screenshots
image

Additional context

  • I was able to workaround this by moving the parameters to under the operation. But this shouldn't be necessary.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant