From b373f99a1f0cc851a11d1c40c124ce8eb582a93f Mon Sep 17 00:00:00 2001 From: Niklas Haug <54448642+niklashaug@users.noreply.github.com> Date: Sat, 4 Jan 2025 20:57:45 +0100 Subject: [PATCH] docs: moved method to correct chapter (#922) --- packages/oas/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/oas/README.md b/packages/oas/README.md index cd8c5a1ae..c7dfcfbc2 100644 --- a/packages/oas/README.md +++ b/packages/oas/README.md @@ -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. | #### Responses @@ -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. | #### Security