You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge branch 'master' into nullpointer-settings-fixes
* master: (45 commits)
update python samples
Two tiny fixes for Java Vertx client (#3683)
Exclude "test" from packages so that it is not installed as top-level package when "pip installing" the generated sdk (#3731)
[java-client] add unit test for JDK 11 HttpClient (#3735)
[R] feat(r): handling error response for 3xx cases (#3571)
[Dart] Avoid redundant null checking in fromJson (#3632)
[core] Set isMultipart=true for multipart operations, fix possible NPE (#3750)
reenable kotlin client tests in shippable ci (#3751)
Fix null assignation to header/query param map (#3749)
Mockito 3.0.0 (#3732)
Update to swagger-parser to 2.0.14-OpenAPITools.org-1 (#3737)
Add a link to a Qiita blog post (#3747)
update csharp samples
Simple spelling error in dotnet core comments (#3746)
better support for multipart (#3736)
[typescript-fetch] fix#1998: prefix req ifaces. (#3740)
cpp-qt5-client: add valgrind memory test (#3663)
[typescript-angular] Encode objects for multipart/form-data with json - fixes#2733 (#3738)
[BUG] Https protocol schema is not handled correctly in java 11 native code #3729 (#3730)
comment out kotlin client tests
...
Copy file name to clipboardExpand all lines: .travis.yml
+2
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,8 @@ before_install:
94
94
# - Rely on `kerl` for [pre-compiled versions available](https://docs.travis-ci.com/user/languages/erlang#Choosing-OTP-releases-to-test-against). Rely on installation path chosen by [`travis-erlang-builder`](https://github.com/travis-ci/travis-erlang-builder/blob/e6d016b1a91ca7ecac5a5a46395bde917ea13d36/bin/compile#L18).
- 2019-07-14 - [OpenAPI GeneratorでPythonのクライアントライブラリを作成した](https://qiita.com/yuji38kwmt/items/dfb929316a1335a161c0) by [yuji38kwmt](https://qiita.com/yuji38kwmt)
628
629
- 2019-07-19 - [Developer Experience (DX) for Open-Source Projects: How to Engage Developers and Build a Growing Developer Community](https://speakerdeck.com/wing328/developer-experience-dx-for-open-source-projects-english-japanese) by [William Cheng](https://twitter.com/wing328), [中野暁人](https://github.com/ackintosh) at [Open Source Summit Japan 2019](https://events.linuxfoundation.org/events/open-source-summit-japan-2019/)
630
+
- 2019-08-24 - [SwaggerドキュメントからOpenAPI Generatorを使ってモックサーバー作成](https://qiita.com/masayoshi0222/items/4845e4c715d04587c104) by [坂本正義](https://qiita.com/masayoshi0222)
629
631
630
632
## [6 - About Us](#table-of-contents)
631
633
@@ -755,6 +757,7 @@ Here is a list of template creators:
Copy file name to clipboardExpand all lines: docs/generators/csharp-netcore.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ sidebar_label: csharp-netcore
12
12
|sourceFolder|source folder for generated code||src|
13
13
|packageGuid|The GUID that will be associated with the C# project||null|
14
14
|interfacePrefix|Prefix interfaces with a community standard or widely accepted prefix.||I|
15
-
|targetFramework|The target .NET framework version.|<dl><dt>**netstandard1.3**</dt><dd>.NET Standard 1.3 compatible</dd><dt>**netstandard1.4**</dt><dd>.NET Standard 1.4 compatible</dd><dt>**netstandard1.5**</dt><dd>.NET Standard 1.5 compatible</dd><dt>**netstandard1.6**</dt><dd>.NET Standard 1.6 compatible</dd><dt>**netstandard2.0**</dt><dd>.NET Standard 2.0 compatible</dd><dt>**netcoreapp2.0**</dt><dd>.NET Core 2.0 compatible</dd><dl>|v4.6.1|
15
+
|targetFramework|The target .NET framework version.|<dl><dt>**netstandard1.3**</dt><dd>.NET Standard 1.3 compatible</dd><dt>**netstandard1.4**</dt><dd>.NET Standard 1.4 compatible</dd><dt>**netstandard1.5**</dt><dd>.NET Standard 1.5 compatible</dd><dt>**netstandard1.6**</dt><dd>.NET Standard 1.6 compatible</dd><dt>**netstandard2.0**</dt><dd>.NET Standard 2.0 compatible</dd><dt>**netcoreapp2.0**</dt><dd>.NET Core 2.0 compatible</dd><dl>|netstandard2.0|
16
16
|modelPropertyNaming|Naming convention for the property: 'camelCase', 'PascalCase', 'snake_case' and 'original', which keeps the original name||PascalCase|
17
17
|hideGenerationTimestamp|Hides the generation timestamp when files are generated.||true|
18
18
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.||true|
@@ -26,3 +26,4 @@ sidebar_label: csharp-netcore
26
26
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false||false|
27
27
|netCoreProjectFile|Use the new format (.NET Core) for .NET project files (.csproj).||false|
Copy file name to clipboardExpand all lines: docs/generators/go-experimental.md
+1
Original file line number
Diff line number
Diff line change
@@ -13,4 +13,5 @@ sidebar_label: go-experimental
13
13
|isGoSubmodule|whether the generated Go module is a submodule||false|
14
14
|withGoCodegenComment|whether to include Go codegen comment to disable Go Lint and collapse by default GitHub in PRs and diffs||false|
15
15
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)||false|
16
+
|enumClassPrefix|Prefix enum with class name||false|
16
17
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.||false|
Copy file name to clipboardExpand all lines: docs/generators/go.md
+1
Original file line number
Diff line number
Diff line change
@@ -13,4 +13,5 @@ sidebar_label: go
13
13
|isGoSubmodule|whether the generated Go module is a submodule||false|
14
14
|withGoCodegenComment|whether to include Go codegen comment to disable Go Lint and collapse by default GitHub in PRs and diffs||false|
15
15
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)||false|
16
+
|enumClassPrefix|Prefix enum with class name||false|
16
17
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.||false|
Copy file name to clipboardExpand all lines: docs/generators/typescript-fetch.md
+1
Original file line number
Diff line number
Diff line change
@@ -19,3 +19,4 @@ sidebar_label: typescript-fetch
19
19
|npmRepository|Use this property to set an url your private npmRepo in the package.json||null|
20
20
|withInterfaces|Setting this property to true will generate interfaces next to the default class implementations.||false|
21
21
|useSingleRequestParameter|Setting this property to true will generate functions with a single argument containing all API endpoint parameters instead of one argument per parameter.||true|
22
+
|prefixParameterInterfaces|Setting this property to true will generate parameter interface declarations prefixed with API class name to avoid name conflicts.||false|
Copy file name to clipboardExpand all lines: docs/migration-from-swagger-codegen.md
+6-1
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ id: swagger-codegen-migration
3
3
title: Migrating from Swagger Codegen
4
4
---
5
5
6
-
OpenAPI Generator is a fork of `swagger-codegen` between version `2.3.1` and `2.4.0`.
6
+
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](https://github.com/OpenAPITools/openapi-generator/blob/master/docs/qna.md).
7
7
This community-driven version called "OpenAPI Generator" provides similar functionalities and can be used as drop-in replacement.
8
8
This guide explains the major differences in order to help you with the migration.
9
9
@@ -22,6 +22,7 @@ This guide explains the major differences in order to help you with the migratio
22
22
-[New fully qualified name for the classes](#new-fully-qualified-name-for-the-classes)
23
23
-[Body parameter name](#body-parameter-name)
24
24
-[Default basePath](#default-basepath)
25
+
-[Nullable](#nullable)
25
26
26
27
## New docker images
27
28
@@ -250,3 +251,7 @@ If your API client is using named parameters in the function call (e.g. Perl req
250
251
## Default basePath
251
252
252
253
The default `basePath` has been changed from `https://localhost` to `http://localhost` (http without s)
254
+
255
+
## Nullable
256
+
257
+
OpenAPI spec v3 has better support for `nullable`. If you're still using OpenAPI/Swagger spec v2, please use `x-nullable: true` instead.
0 commit comments