Summary: | ASTERISK-22440: ARI - Update events.json to match latest Swagger specification | ||
Reporter: | David M. Lee (dlee) | Labels: | |
Date Opened: | 2013-09-03 08:39:42 | Date Closed: | 2013-10-23 22:20:03 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Resources/res_ari |
Versions: | 12.0.0-alpha1 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | The Swagger 1.2 specification is still not finalized, but [it's changed a bit|https://groups.google.com/d/msg/wordnik-api/Wk52vOXiHJk/numd8LoIOcQJ] from our original proposal.
# The version number actually needs to be 1.2. I was a bit confused about version and specification number for swagger-core vs. the Swagger specification. # The inheritance model is now specified on the base class, not in the derived classes. {code} { "id": "Animal", "description": "a model with subtypes", "discriminator": "name", "properties": { "date": { "type": "string", "format": "date-time" }, "name": { "type": "string" } }, "subTypes": [ "DomesticAnimal", "WildAnimal" ] } {code} | ||
Comments: |