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

Operation Object

Open denouche opened this issue 6 years ago • 0 comments

Hello,

https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#operationObject

Maybe we could rename the type action struct for match the name of the model in the specification: Operation

Then these properties are missing:

  • externalDocs
  • operationId
  • deprecated
  • callbacks
  • servers

And the properties Headers is not in the specification.

It could also be nice if we supports the specification extensions: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#specificationExtensions

denouche avatar Feb 27 '18 17:02 denouche