Skip to content

Commit

Permalink
docs: moved method to correct chapter (#922)
Browse files Browse the repository at this point in the history
  • Loading branch information
niklashaug authored Jan 4, 2025
1 parent 5705800 commit b373f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/oas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ const operation = petstore.operation('/pet', 'post');
| `.getRequestBodyExamples()` | Retrieve an array of all request body examples that this operation has defined. |
| `.getRequestBodyMediaTypes()` | Retrieve a list of all the media/content types that the operation can accept a request body payload for. |
| `.hasRequestBody()` | Determine if this operation has a request body defined. |
| `.hasRequiredRequestBody()` | Determine if this operation has a required request body. |
<!-- prettier-ignore-end -->

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

#### Security
Expand Down

0 comments on commit b373f99

Please sign in to comment.