Hello,
How can I reference a response model created already (in another serverless project). I need to reference this model in the documentation section as well as the http documentation section of my function call:
models:
-
name: "ClientErrorResponse"
description: "4XX client error response"
contentType: "application/json"
schema: <<Here in documentation section>>
methodResponses:
-
statusCode: "200"
responseBody:
description: "Response body description"
responseModels:
"application/json": "my_resp.json"
-
statusCode: "400"
responseModels:
"application/json": "<<HERE>>"