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
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,16 +124,16 @@ The `documentation` section of the event configuration can contain the following
124
124
* `description`: a detailed description of the method
125
125
* `requestBody`: contains description of the request
126
126
* `description`: a description of the request body
127
-
* `requestModels`: a list of models to describe the request bodies (see [requestModels](#requestModels) below)
128
-
* `queryParams`: a list of query parameters (see [queryParams](#queryParams) below)
129
-
* `pathParams`: a list of path parameters (see [pathParams](#pathParams) below)
130
-
* `cookieParams`: a list of cookie parameters (see [cookieParams](#cookieParams) below)
127
+
* `requestModels`: a list of models to describe the request bodies (see [requestModels](#requestmodels) below)
128
+
* `queryParams`: a list of query parameters (see [queryParams](#queryparams) below)
129
+
* `pathParams`: a list of path parameters (see [pathParams](#pathparams) below)
130
+
* `cookieParams`: a list of cookie parameters (see [cookieParams](#cookieparams) below)
131
131
* `methodResponses`: an array of response models and applicable status codes
132
132
* `statusCode`: applicable http status code (ie. 200/404/500 etc.)
133
133
* `responseBody`: contains description of the response
134
134
* `description`: a description of the body response
135
-
* `responseHeaders`: a list of response headers (see [responseHeaders](#responseHeaders) below)
136
-
* `responseModels`: a list of models to describe the request bodies (see [responseModels](#responseModels) below) for each `Content-Type`
135
+
* `responseHeaders`: a list of response headers (see [responseHeaders](#responseheaders) below)
136
+
* `responseModels`: a list of models to describe the request bodies (see [responseModels](#responsemodels) below) for each `Content-Type`
137
137
138
138
```yml
139
139
functions:
@@ -236,7 +236,7 @@ cookieParams:
236
236
237
237
#### requestModels
238
238
239
-
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](#definingmodels) section).
239
+
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).
240
240
241
241
```yml
242
242
requestModels:
@@ -265,7 +265,7 @@ methodResponse:
265
265
266
266
##### responseModels
267
267
268
-
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](#definingmodels) section).
268
+
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).
0 commit comments