[asterisk-commits] mjordan: trunk r423622 - in /trunk: ./ rest-api/api-docs/events.json

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Sep 20 18:55:47 CDT 2014


Author: mjordan
Date: Sat Sep 20 18:55:45 2014
New Revision: 423622

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=423622
Log:
rest-api/api-docs/events.json: Remove non-compliant 'extends' attribute

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

Modified:
    trunk/   (props changed)
    trunk/rest-api/api-docs/events.json

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-13-merged' - no diff available.

Modified: trunk/rest-api/api-docs/events.json
URL: http://svnview.digium.com/svn/asterisk/trunk/rest-api/api-docs/events.json?view=diff&rev=423622&r1=423621&r2=423622
==============================================================================
--- trunk/rest-api/api-docs/events.json (original)
+++ trunk/rest-api/api-docs/events.json Sat Sep 20 18:55:45 2014
@@ -203,7 +203,6 @@
 		},
 		"RecordingStarted": {
 			"id": "RecordingStarted",
-			"extends": "Event",
 			"description": "Event showing the start of a recording operation.",
 			"properties": {
 				"recording": {
@@ -215,7 +214,6 @@
 		},
 		"RecordingFinished": {
 			"id": "RecordingFinished",
-			"extends": "Event",
 			"description": "Event showing the completion of a recording operation.",
 			"properties": {
 				"recording": {
@@ -227,7 +225,6 @@
 		},
 		"RecordingFailed": {
 			"id": "RecordingFailed",
-			"extends": "Event",
 			"description": "Event showing failure of a recording operation.",
 			"properties": {
 				"recording": {




More information about the asterisk-commits mailing list