Skip to content

Commit 22ce88e

Browse files
sharkwouterwing328
authored andcommitted
Fixed a small type (#1921)
This is a very little nitpick, but I hope it is useful anyway.
1 parent dec852c commit 22ce88e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/migration-from-swagger-codegen.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ Example: `org.openapitools.codegen.DefaultGenerator`
184184

185185
### Body parameter name
186186

187-
In OpenAPI spec v3, there's no body parameter, which is replaced by [Request Body Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#request-body-object). The parameter name for Request Body is named automatically based on the model name (e.g. User). To control how the "Request Body" parmaeter is named, please add the vendor extension `x-codegen-request-body-name` to the operation:
187+
In OpenAPI spec v3, there's no body parameter, which is replaced by [Request Body Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#request-body-object). The parameter name for Request Body is named automatically based on the model name (e.g. User). To control how the "Request Body" parameter is named, please add the vendor extension `x-codegen-request-body-name` to the operation:
188188

189189
OpenAPI Spec v3:
190190
```yaml

0 commit comments

Comments
 (0)