Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixed a small type
This is a very little nitpick, but I hope it is useful anyway.
  • Loading branch information
sharkwouter authored Jan 15, 2019
commit bba78029fc97e6eaf5a569f7a7cf3aff8700d6bf
2 changes: 1 addition & 1 deletion docs/migration-from-swagger-codegen.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down