You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For more info on `serverless.yml` syntax, see their docs.
@@ -179,7 +183,7 @@ functions:
179
183
application/json: "ErrorResponse"
180
184
```
181
185
182
-
#### queryParams
186
+
#### `queryParams`
183
187
184
188
Query parameters can be described as follow:
185
189
@@ -197,7 +201,7 @@ queryParams:
197
201
type: "string"
198
202
```
199
203
200
-
#### pathParams
204
+
#### `pathParams`
201
205
202
206
Path parameters can be described as follow:
203
207
@@ -213,7 +217,7 @@ pathParams:
213
217
type: "string"
214
218
```
215
219
216
-
#### cookieParams
220
+
#### `cookieParams`
217
221
218
222
Cookie parameters can be described as follow:
219
223
@@ -231,7 +235,7 @@ cookieParams:
231
235
type: "string"
232
236
```
233
237
234
-
#### requestModels
238
+
#### `requestModels`
235
239
236
240
The `requestModels` property allows you to define models for the HTTP Request of the function event. You can define a different model for each different `Content-Type`. You can define a reference to the relevant request model named in the `models` section of your configuration (see [Defining Models](#defining-models) section).
237
241
@@ -241,7 +245,7 @@ requestModels:
241
245
application/xml: "CreateRequestXML"
242
246
```
243
247
244
-
#### methodResponses
248
+
#### `methodResponses`
245
249
246
250
You can define the response schemas by defining properties for your function event.
247
251
@@ -260,7 +264,7 @@ methodResponse:
260
264
application/xml: "CreateResponseXML"
261
265
```
262
266
263
-
##### responseModels
267
+
##### `responseModels`
264
268
265
269
The `responseModels` property allows you to define models for the HTTP Response of the function event. You can define a different model for each different `Content-Type`. You can define a reference to the relevant response model named in the `models` section of your configuration (see [Defining Models](#defining-models) section).
266
270
@@ -270,7 +274,7 @@ responseModels:
270
274
application/xml: "CreateResponseXML"
271
275
```
272
276
273
-
##### responseHeaders
277
+
##### `responseHeaders`
274
278
275
279
The `responseHeaders` section of the configuration allows you to define the HTTP response headers for the function event.
0 commit comments