From bba78029fc97e6eaf5a569f7a7cf3aff8700d6bf Mon Sep 17 00:00:00 2001 From: Wouter Date: Tue, 15 Jan 2019 17:07:33 +0100 Subject: [PATCH] Fixed a small type This is a very little nitpick, but I hope it is useful anyway. --- docs/migration-from-swagger-codegen.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/migration-from-swagger-codegen.md b/docs/migration-from-swagger-codegen.md index d807eb8d34cd..5dba503d422c 100644 --- a/docs/migration-from-swagger-codegen.md +++ b/docs/migration-from-swagger-codegen.md @@ -184,7 +184,7 @@ Example: `org.openapitools.codegen.DefaultGenerator` ### Body parameter name -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: +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: OpenAPI Spec v3: ```yaml