jekyll-openapi
jekyll-openapi copied to clipboard
Parameters under Path Object are rendered as request methods
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
Additional context
- I was able to workaround this by moving the parameters to under the operation. But this shouldn't be necessary.