Skip to content

Commit 5f39b12

Browse files
authored
Merge pull request #60 from dseevr/doc_updates
Fixed HTTP verbs in RAML documentation
2 parents 46411cb + ff020c0 commit 5f39b12

File tree

3 files changed

+409
-1838
lines changed

3 files changed

+409
-1838
lines changed

spec/contiv/schemas/collection-item.raml

+5-11
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,14 @@ get:
1111
body:
1212
application/json: |
1313
{"message": "<<resourcePathName|!singularize>> not found" }
14-
patch:
15-
description: updates <<resourcePathName|!singularize>>.
14+
post:
15+
description: Add a new <<resourcePathName|!singularize>>.
1616
body:
17-
application/json:
18-
type: <<provider>>.upd_<<resourcePathName|!singularize>>
17+
application/json:
18+
type: <<provider>>.<<resourcePathName|!singularize>>
1919
responses:
20-
200:
21-
body:
22-
application/json:
23-
type: <<provider>>.<<resourcePathName|!singularize>>
20+
201:
2421
404:
25-
body:
26-
application/json: |
27-
{"message": "<<resourcePathName|!singularize>> not found" }
2822
delete:
2923
description: deletes <<resourcePathName|!singularize>>.
3024
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)