Skip to content

Commit b373f99

Browse files
authored
docs: moved method to correct chapter (#922)
1 parent 5705800 commit b373f99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/oas/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ const operation = petstore.operation('/pet', 'post');
202202
| `.getRequestBodyExamples()` | Retrieve an array of all request body examples that this operation has defined. |
203203
| `.getRequestBodyMediaTypes()` | Retrieve a list of all the media/content types that the operation can accept a request body payload for. |
204204
| `.hasRequestBody()` | Determine if this operation has a request body defined. |
205+
| `.hasRequiredRequestBody()` | Determine if this operation has a required request body. |
205206
<!-- prettier-ignore-end -->
206207

207208
#### Responses
@@ -213,7 +214,6 @@ const operation = petstore.operation('/pet', 'post');
213214
| `.getResponseByStatusCode()` | Retrieve the raw response object for a given status code. |
214215
| `.getResponseExamples()` | Retrieve an array of all response examples that this operation has defined. |
215216
| `.getResponseStatusCodes()` | Retrieve all status codes that this operation may respond with. |
216-
| `.hasRequiredRequestBody()` | Determine if this operation has a required request body. |
217217
<!-- prettier-ignore-end -->
218218

219219
#### Security

0 commit comments

Comments
 (0)