File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
test/serverless-tests/best Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,17 @@ custom:
4848 - name : content
4949 description : The content to create or update
5050 value : { content: "my name is" }
51+ - name : ContentCreatedResponse
52+ content :
53+ application/json :
54+ schema :
55+ type : object
56+ properties :
57+ contentId :
58+ type : string
59+ format : uuid
60+ createdAt :
61+ type : number
5162 - name : FilterContentBody
5263 content :
5364 application/json :
@@ -166,7 +177,13 @@ functions:
166177 responseBody :
167178 description : The content requested
168179 responseModels :
169- application/json : SuccessResponse
180+ application/json : ContentCreatedResponse
181+ links :
182+ MapContentLink :
183+ operation : mapContent
184+ description : The contentId created here can be used to map content
185+ parameters :
186+ contentId : $response.body#/contentId
170187 - statusCode : 404
171188 responseBody :
172189 description : An error occured
You can’t perform that action at this time.
0 commit comments