jekyll-openapi icon indicating copy to clipboard operation
jekyll-openapi copied to clipboard

Parameters under Path Object are rendered as request methods

Open captn3m0 opened this issue 3 years ago • 0 comments

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.

captn3m0 avatar Jun 11 '21 05:06 captn3m0