Migrating from Swagger Codegen
OpenAPI Generator is a fork of swagger-codegen
between version 2.3.1
and 2.4.0
.
+
Migrating from Swagger Codegen
OpenAPI Generator is a fork of swagger-codegen
between version 2.3.1
and 2.4.0
. For the reasons behind the fork, please refer to the Q&A.
This community-driven version called "OpenAPI Generator" provides similar functionalities and can be used as drop-in replacement.
This guide explains the major differences in order to help you with the migration.
Table of contents
@@ -79,6 +79,7 @@ This guide explains the major differences in order to help you with the migratioNew docker images
The docker images are available on DockerHub: https://hub.docker.com/u/openapitools/
@@ -247,4 +248,6 @@ Concretely if you did not specify anything when you are generating java code, aIf your API client is using named parameters in the function call (e.g. Perl required & optional parameters, Ruby optional parameters), you will need to add x-codegen-request-body-name
to the spec to restore the original body parameter name.
Default basePath
The default basePath
has been changed from https://localhost
to http://localhost
(http without s)