rest-api/api-docs/events.json: Remove non-compliant 'extends' attribute
authorMatthew Jordan <mjordan@digium.com>
Sat, 20 Sep 2014 23:55:45 +0000 (23:55 +0000)
committerMatthew Jordan <mjordan@digium.com>
Sat, 20 Sep 2014 23:55:45 +0000 (23:55 +0000)
Prior to the release of Swagger 1.2, the attribute 'extends' was being
promoted as a possible way to show that a particular object extends an existing
object. Instead, the Swagger specification went with the 'subTypes' attribute
in the base object. This patch removes the unsupported attribute; the object
that the offending objects proposed to extend already lists them in its
'subTypes' attribute.

ASTERISK-24300 #close
Reported by: Bradley Watkins
........

Merged revisions 423620 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 423621 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@423622 65c4cc65-6c06-0410-ace0-fbb531ad65f3

rest-api/api-docs/events.json

index 80bc6d6..d75e84b 100644 (file)
                },
                "RecordingStarted": {
                        "id": "RecordingStarted",
-                       "extends": "Event",
                        "description": "Event showing the start of a recording operation.",
                        "properties": {
                                "recording": {
                },
                "RecordingFinished": {
                        "id": "RecordingFinished",
-                       "extends": "Event",
                        "description": "Event showing the completion of a recording operation.",
                        "properties": {
                                "recording": {
                },
                "RecordingFailed": {
                        "id": "RecordingFailed",
-                       "extends": "Event",
                        "description": "Event showing failure of a recording operation.",
                        "properties": {
                                "recording": {