[asterisk-dev] swaggerVersion

Paul Belanger paul.belanger at polybeacon.com
Mon Aug 12 18:23:36 CDT 2013


We appear to be running a mix of 1.1 and 1.3 for the json schema's
generated by Swagger. Could we move everything to 1.3?

If I am reading Swagger's documentation correctly, they have now have
support for json schema draft 4 and more json schema compatibility
fixes.

Right now I am having issues getting the current schema to validate
according to http://json-schema.org/

---
pabelanger at hal9000:~/svn/digium/asterisk/testing/trunk/rest-api$ grep
-R swaggerVersion * | grep -v .svn
api-docs/channels.json: "swaggerVersion": "1.1",
api-docs/bridges.json: "swaggerVersion": "1.1",
api-docs/sounds.json: "swaggerVersion": "1.1",
api-docs/asterisk.json: "swaggerVersion": "1.1",
api-docs/endpoints.json: "swaggerVersion": "1.1",
api-docs/events.json: "swaggerVersion": "1.3",
api-docs/recordings.json: "swaggerVersion": "1.1",
api-docs/playback.json: "swaggerVersion": "1.1",
resources.json: "swaggerVersion": "1.1",


-- 
Paul Belanger | PolyBeacon, Inc.
Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode)
Github: https://github.com/pabelanger | Twitter: https://twitter.com/pabelanger



More information about the asterisk-dev mailing list