desktop
desktop copied to clipboard
JSON Schemas/Samples separate from Swagger
It would be nice for JSON schemas to be first class citizens - e.g. editable as separate documents - and includable in hubs with a renderer and samples
The particular case driving this is wanting to re-use JSON schemas across REST APIs, log messages, messages placed on Kinesis queues, and other areas - but share models, validations, and examples regardless of channel
Note: in particular in this use-case - it would be nice to simplify importing of JSON schemas that already exist - and so already have '#/definitions' references - similar to the Swagger import
One example of a file like this is: https://raw.githubusercontent.com/Intersection/openrtb2x/2.0/openrtb-validator/src/main/resources/schemas/openrtb-schema_bid-request_v2-4.json
We've had several requests for this, and will get to it next week :).
Need to wait on the new editor file tree explorer, because introducing this file type adds many more files to the file tree than the current UX is meant to handle effectively.
Wondering if this is still in the works