[asterisk-bugs] [JIRA] (ASTERISK-22440) ARI - Update events.json to match latest Swagger specification

David M. Lee (JIRA) noreply at issues.asterisk.org
Tue Sep 3 08:41:03 CDT 2013


David M. Lee created ASTERISK-22440:
---------------------------------------

             Summary: ARI - Update events.json to match latest Swagger specification
                 Key: ASTERISK-22440
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22440
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_ari
    Affects Versions: 12.0.0-alpha1
            Reporter: David M. Lee


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}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list