Closed
Description
I am working on using Swagger to define my API's that are complying with the JSON-API spec.
It would be helpful if there was a way to wrapper the defined objects (and the parameters) with the JSON-API specific formatting. Ideally allowing the developers of the documentation to focus just on the contents of their custom content, and not have to duplicate the wrapper code.
Looking at JSON-API you are talking about having the top level root element, normally "data", and then the generic "type, id, attributes" elements that sit above each custom object.
Is that something that could be considered to be added to the spec?
Metadata
Metadata
Assignees
Labels
No labels