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

Snippets created for non-method PathItem in OpenAPI 3

Open jens-duttke opened this issue 6 years ago • 0 comments

According to the Open API 3 specification there can be additional properties in paths, which don't identify a operation (e.g. summary, description, servers, parameters): https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#path-item-object https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#pathItemObject

Anyhow, swagger-snippet creates snippets for them, which doesn't make sense.

jens-duttke avatar Jul 30 '19 06:07 jens-duttke