2016-10-04 04:11:58 +00:00
|
|
|
type: base
|
2016-09-21 17:22:40 +00:00
|
|
|
get?:
|
|
|
|
description: Get a <<resourcePathName | !singularize>>
|
|
|
|
responses:
|
|
|
|
200:
|
|
|
|
body:
|
|
|
|
application/json:
|
|
|
|
schema: <<resourcePathName | !singularize>>
|
|
|
|
put?:
|
|
|
|
description: Update a <<resourcePathName | !singularize>>
|
|
|
|
responses:
|
|
|
|
201:
|
|
|
|
description: Update success
|
|
|
|
body:
|
|
|
|
application/json:
|
|
|
|
schema: <<resourcePathName | !singularize>>
|
|
|
|
patch?:
|
|
|
|
description: Update a <<resourcePathName | !singularize>>
|
|
|
|
responses:
|
|
|
|
201:
|
|
|
|
description: Update success
|
|
|
|
body:
|
|
|
|
application/json:
|
|
|
|
schema: <<resourcePathName | !singularize>>
|
|
|
|
delete?:
|
|
|
|
description: Delete a <<resourcePathName | !singularize>>
|
|
|
|
responses:
|
|
|
|
204:
|
|
|
|
description: Removed
|