Skip to content

Commit e863bfa

Browse files
committed
Moved POST verb from the collection to the member
Signed-off-by: Bill Robinson <[email protected]>
1 parent 21b2f9c commit e863bfa

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

spec/contiv/schemas/collection-item.raml

+8
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ get:
1111
body:
1212
application/json: |
1313
{"message": "<<resourcePathName|!singularize>> not found" }
14+
post:
15+
description: Add a new <<resourcePathName|!singularize>>.
16+
body:
17+
application/json:
18+
type: <<provider>>.<<resourcePathName|!singularize>>
19+
responses:
20+
201:
21+
404:
1422
delete:
1523
description: deletes <<resourcePathName|!singularize>>.
1624
responses:

spec/contiv/schemas/collection.raml

-8
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,3 @@ get:
77
body:
88
application/json:
99
type: <<provider>>.<<resourcePathName>>
10-
post:
11-
description: Add a new <<resourcePathName|!singularize>>.
12-
body:
13-
application/json:
14-
type: <<provider>>.<<resourcePathName|!singularize>>
15-
responses:
16-
201:
17-
404:

0 commit comments

Comments
 (0)