Review Board 1.7.16


ARI: Update for latest Swagger 1.2 spec

Review Request #2909 - Created Oct. 15, 2013 and submitted

David Lee
/team/dlee/ASTERISK-22440-swagger-1.2
ASTERISK-22440
Reviewers
asterisk-dev
Asterisk
The Swagger 1.2 specification for type extension ended up being
slightly different than my proposal. Instead of putting an 'extends'
field on the subtype, the base type has a 'subTypes' field, which is a
list of the subTypes. Given that its a messaging model and not an
object model, kinda makes sense.

This patch changes the events.json api-doc, and the python translators
to take the new format into account.

Other changes that are in Swagger 1.2 were not adopted, since the spec
is still in flux, and could change before it's finalized.

A summary of changes to the Swagger-1.2 spec can be found at
https://github.com/wordnik/swagger-core/wiki/1.2-transition.
Checked output of 'make ari-stubs' to ensure nothing changed.
Review request changed
Updated (Oct. 24, 2013, 4:27 p.m.)
  • changed from pending to submitted
Committed in revision 401871

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.