forked from loafle/openapi-generator-original
Compare commits
188 Commits
v4.2.2
...
swift_vapo
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e09f1c9b37 | ||
|
|
55c6c0385b | ||
|
|
fe8775a5a5 | ||
|
|
50f7e14a99 | ||
|
|
6a48dd7cd6 | ||
|
|
8a94a3a7d5 | ||
|
|
4767259df4 | ||
|
|
65a6d94842 | ||
|
|
0344f14e9a | ||
|
|
bf24d646c5 | ||
|
|
fb6daa89b0 | ||
|
|
cf67725e4f | ||
|
|
b22fde6caa | ||
|
|
b22f7f033f | ||
|
|
b680d7cd7f | ||
|
|
78bf3adc4a | ||
|
|
4627c7d534 | ||
|
|
5e5536367b | ||
|
|
20c7400d56 | ||
|
|
cbc12543a9 | ||
|
|
75508f5ce0 | ||
|
|
6dcdf5c311 | ||
|
|
2d24d42e65 | ||
|
|
a2532cc3c5 | ||
|
|
5ec34b9b59 | ||
|
|
c27a6ed2bf | ||
|
|
e23f2aa6aa | ||
|
|
d51354783f | ||
|
|
ec1e9a4c9b | ||
|
|
9b893ef3c1 | ||
|
|
38185d8558 | ||
|
|
79d11d7129 | ||
|
|
c2ee4aefe1 | ||
|
|
25036e48d5 | ||
|
|
965efdd965 | ||
|
|
6dc3216f6d | ||
|
|
7073859aa8 | ||
|
|
759ab1390a | ||
|
|
60b1855ec1 | ||
|
|
41f3cba85f | ||
|
|
8e1bb3ddff | ||
|
|
e675360b9e | ||
|
|
7c31b7f206 | ||
|
|
1cb99e3497 | ||
|
|
5cc5fbe76a | ||
|
|
39ba6bbfb1 | ||
|
|
d643b2706a | ||
|
|
3a2439c8e6 | ||
|
|
85f6ed5338 | ||
|
|
178a3e24bd | ||
|
|
89e963c072 | ||
|
|
ac4ead9e78 | ||
|
|
f37d26cc73 | ||
|
|
43a5411436 | ||
|
|
0ebbfbc26a | ||
|
|
85f43a3000 | ||
|
|
da8500db95 | ||
|
|
1a5ba8736d | ||
|
|
3100f8c4e4 | ||
|
|
57d248dd3d | ||
|
|
54cfab84b6 | ||
|
|
90cbf71134 | ||
|
|
adf9c12f73 | ||
|
|
ca6fb2c4f2 | ||
|
|
24155b31e9 | ||
|
|
69b8831cbe | ||
|
|
376e419d0b | ||
|
|
daec02b8c5 | ||
|
|
9cab534034 | ||
|
|
d9c3af54e6 | ||
|
|
ad4b9c711b | ||
|
|
a8bc3360fd | ||
|
|
4b01943b06 | ||
|
|
0c92b0c4a4 | ||
|
|
2949b53820 | ||
|
|
a95e3e3684 | ||
|
|
e90fa5c4df | ||
|
|
c0994c479d | ||
|
|
ca4f718748 | ||
|
|
04ac754d3e | ||
|
|
3959530465 | ||
|
|
1084cd38a1 | ||
|
|
af783a8c54 | ||
|
|
27bf120d87 | ||
|
|
966eab4cf3 | ||
|
|
5740348902 | ||
|
|
3eaafce569 | ||
|
|
ad6c832162 | ||
|
|
2f5a229fb9 | ||
|
|
3146e80c61 | ||
|
|
56f298a0b4 | ||
|
|
9feaae8572 | ||
|
|
b6fd1b0ade | ||
|
|
dc91112031 | ||
|
|
265ad2297b | ||
|
|
87ee6c8bfb | ||
|
|
77b28f7963 | ||
|
|
5ba67c8c95 | ||
|
|
366bfd2a67 | ||
|
|
10b60e27b1 | ||
|
|
a18494bd8e | ||
|
|
b62d68ac5a | ||
|
|
e6e919fe98 | ||
|
|
c6ec794293 | ||
|
|
fb0479a213 | ||
|
|
fee79246d0 | ||
|
|
4ee610c857 | ||
|
|
375f24f605 | ||
|
|
4ac5ba13ca | ||
|
|
52d3844ff4 | ||
|
|
b73dbee8d1 | ||
|
|
bb93a3b1e2 | ||
|
|
0ae1ea68fb | ||
|
|
88efb28506 | ||
|
|
617904c876 | ||
|
|
83cb4206cd | ||
|
|
7ea4dcd703 | ||
|
|
62e5d1f43b | ||
|
|
399e73e5d8 | ||
|
|
1f8383a973 | ||
|
|
67de4c4d8d | ||
|
|
45eb87c16a | ||
|
|
8d37641ae1 | ||
|
|
c98644a672 | ||
|
|
49022d7b66 | ||
|
|
a9cc96b50f | ||
|
|
7bd378c026 | ||
|
|
adbed055dd | ||
|
|
bb4af91bbd | ||
|
|
789f1a06f0 | ||
|
|
02f5cb1a65 | ||
|
|
0ffb99a48e | ||
|
|
3754679751 | ||
|
|
db2c8e843e | ||
|
|
1e995cacdc | ||
|
|
f784667dc7 | ||
|
|
6ed2b0de57 | ||
|
|
7e75cea6f1 | ||
|
|
2277934d5e | ||
|
|
fe9121967f | ||
|
|
21ad2869b1 | ||
|
|
9754ef4f88 | ||
|
|
b19d241be7 | ||
|
|
a695748805 | ||
|
|
00abb4780c | ||
|
|
60ba6194c1 | ||
|
|
525174f4d6 | ||
|
|
f22f6a40a1 | ||
|
|
ca9313881a | ||
|
|
a9494ac1a3 | ||
|
|
307f37c7f9 | ||
|
|
42f685f59c | ||
|
|
5116163bfb | ||
|
|
d8c469c19d | ||
|
|
68cb98e9f6 | ||
|
|
ebf9ba023a | ||
|
|
41bb41c87c | ||
|
|
d405158d3f | ||
|
|
acc04c5609 | ||
|
|
cd6ec0dcf5 | ||
|
|
85affe83cb | ||
|
|
0c0050578f | ||
|
|
6b99aed93f | ||
|
|
da44e458e0 | ||
|
|
775cf655f9 | ||
|
|
467fb74a21 | ||
|
|
4dc07cb9c5 | ||
|
|
8d8eea4fe9 | ||
|
|
f472020412 | ||
|
|
d0dfe3e4a0 | ||
|
|
cb31089664 | ||
|
|
acf081bc02 | ||
|
|
dce392336d | ||
|
|
5453edf1b6 | ||
|
|
a3c3012707 | ||
|
|
c882338ef1 | ||
|
|
e774db05b6 | ||
|
|
06ba8317f9 | ||
|
|
e0d6f7df1f | ||
|
|
01e84d79a0 | ||
|
|
7eeeab0825 | ||
|
|
cb2df9e848 | ||
|
|
2a592b5d01 | ||
|
|
dd1a624ba3 | ||
|
|
ba3af50384 | ||
|
|
663ee66068 | ||
|
|
11c7007429 | ||
|
|
c69a5a69f9 |
30
.github/CODEOWNERS
vendored
Normal file
30
.github/CODEOWNERS
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
## Core team
|
||||
modules/openapi-generator/src/main/java/org/openapitools/codegen/*.java @OpenAPITools/generator-core-team
|
||||
modules/openapi-generator/src/main/java/org/openapitools/codegen/auth/*.java @OpenAPITools/generator-core-team
|
||||
modules/openapi-generator/src/main/java/org/openapitools/codegen/config/*.java @OpenAPITools/generator-core-team
|
||||
modules/openapi-generator/src/main/java/org/openapitools/codegen/examples/*.java @OpenAPITools/generator-core-team
|
||||
modules/openapi-generator/src/main/java/org/openapitools/codegen/ignore/**/*.java @OpenAPITools/generator-core-team
|
||||
modules/openapi-generator/src/main/java/org/openapitools/codegen/serializer/*.java @OpenAPITools/generator-core-team
|
||||
modules/openapi-generator/src/main/java/org/openapitools/codegen/templating/**/*.java @OpenAPITools/generator-core-team
|
||||
modules/openapi-generator/src/main/java/org/openapitools/codegen/utils/**/*.java @OpenAPITools/generator-core-team
|
||||
modules/openapi-generator-core/**/* @OpenAPITools/generator-core-team
|
||||
|
||||
# No need for auto-generated subdirectories (reduces noise)
|
||||
docs/ @OpenAPITools/generator-core-team
|
||||
|
||||
## Individual interests
|
||||
.github/**/* @jimschubert
|
||||
scripts/**/* @jimschubert
|
||||
website/**/* @jimschubert
|
||||
bin/ci/**/* @jimschubert
|
||||
|
||||
## Bulid related
|
||||
CI/**/* @OpenAPITools/build
|
||||
.mvn/**/* @OpenAPITools/build
|
||||
bin/utils/**/* @OpenAPITools/build
|
||||
|
||||
## Module-specific
|
||||
modules/openapi-generator-cli/**/* @jimschubert
|
||||
modules/openapi-generator-gradle-plugin/**/* @jimschubert
|
||||
modules/openapi-generator-maven-plugin/**/* @jimschubert
|
||||
|
||||
2
.github/auto-labeler.yml
vendored
2
.github/auto-labeler.yml
vendored
@@ -247,7 +247,7 @@ labels:
|
||||
'Server: Java':
|
||||
- '\s*?\[java-.*?\]\s*?'
|
||||
- '\s*?-[gl] java-.*?\s*?'
|
||||
- '\s*?-[gl] jaxrx-.*?\s*?'
|
||||
- '\s*?-[gl] jaxrs-.*?\s*?'
|
||||
'Server: Kotlin':
|
||||
- '\s*?\[ktor]\s*?'
|
||||
- '\s*?\[kotlin-spring]\s*?'
|
||||
|
||||
@@ -136,10 +136,10 @@ script:
|
||||
- mvn --quiet --batch-mode --show-version clean install
|
||||
- mvn --quiet --batch-mode --show-version verify -Psamples
|
||||
# test maven plugin
|
||||
- mvn clean compile -f modules/openapi-generator-maven-plugin/examples/java-client.xml
|
||||
- mvn clean compile -f modules/openapi-generator-maven-plugin/examples/multi-module/pom.xml
|
||||
- mvn clean compile -f modules/openapi-generator-maven-plugin/examples/kotlin.xml
|
||||
- mvn clean compile -f modules/openapi-generator-maven-plugin/examples/spring.xml
|
||||
- mvn --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/java-client.xml
|
||||
- mvn --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/multi-module/pom.xml
|
||||
- mvn --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/kotlin.xml
|
||||
- mvn --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/spring.xml
|
||||
# test gradle plugin
|
||||
- (cd modules/openapi-generator-gradle-plugin/samples/local-spec && ./gradlew buildGoSdk)
|
||||
- (cd modules/openapi-generator-gradle-plugin/samples/local-spec && ./gradlew openApiGenerate)
|
||||
|
||||
@@ -40,12 +40,40 @@ workflows:
|
||||
|
||||
sh bin/swift4-all.sh
|
||||
- script@1.1.5:
|
||||
title: Run Swift4 tests
|
||||
inputs:
|
||||
- content: |
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
./samples/client/petstore/swift4/swift4_test_all.sh && ./samples/client/test/swift4/swift4_test_all.sh && exit ${PIPESTATUS[0]}
|
||||
title: Run Swift4 tests
|
||||
./samples/client/petstore/swift4/swift4_test_all.sh
|
||||
./samples/client/test/swift4/swift4_test_all.sh
|
||||
- script@1.1.5:
|
||||
title: Update Swift5 samples
|
||||
inputs:
|
||||
- content: |
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
sh bin/swift5-all.sh
|
||||
- script@1.1.5:
|
||||
title: Run Swift5 tests
|
||||
inputs:
|
||||
- content: |
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
./samples/client/petstore/swift5/swift5_test_all.sh
|
||||
./samples/client/test/swift5/swift5_test_all.sh
|
||||
- script@1.1.5:
|
||||
title: Run all bin scripts
|
||||
inputs:
|
||||
- content: |-
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
./bin/run-all-petstore
|
||||
|
||||
@@ -102,7 +102,7 @@ ext {
|
||||
jersey_version = "2.6"
|
||||
commons_io_version=2.5
|
||||
commons_lang3_version=3.6
|
||||
junit_version = "4.12"
|
||||
junit_version = "4.13"
|
||||
threetenbp_version = "2.6.4"
|
||||
}
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ Code change should conform to the programming style guide of the respective lang
|
||||
- Go: https://github.com/golang/go/wiki/CodeReviewComments
|
||||
- ObjC: https://github.com/NYTimes/objective-c-style-guide
|
||||
- Perl: http://perldoc.perl.org/perlstyle.html
|
||||
- PHP: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
|
||||
- PHP: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-12-extended-coding-style-guide.md
|
||||
- PowerShell: https://msdn.microsoft.com/en-us/library/dd878270(v=vs.85).aspx
|
||||
- Python: https://www.python.org/dev/peps/pep-0008/
|
||||
- R: https://google.github.io/styleguide/Rguide.xml
|
||||
@@ -101,5 +101,5 @@ To start the CI tests, you can run `mvn verify -Psamples` (assuming you've all t
|
||||
- Make sure test cases passed after the change (one way is to leverage https://travis-ci.org/ to run the CI tests)
|
||||
- File a PR with meaningful title, description and commit messages.
|
||||
- Recommended git settings
|
||||
- `git config --global core.autocrlf input` to tell Git convert CRLF to LF on commit but not the other way around
|
||||
- `git config core.autocrlf input` to tell Git convert CRLF to LF on commit but not the other way around
|
||||
- To close an issue (e.g. issue 1542) automatically after a PR is merged, use keywords "fix", "close", "resolve" in the PR description, e.g. `fix #1542`. (Ref: [closing issues using keywords](https://help.github.com/articles/closing-issues-using-keywords/))
|
||||
|
||||
57
README.md
57
README.md
@@ -2,7 +2,7 @@
|
||||
|
||||
<div align="center">
|
||||
|
||||
[Master](https://github.com/OpenAPITools/openapi-generator/tree/master) (`4.2.2`): [](https://travis-ci.org/OpenAPITools/openapi-generator)
|
||||
[Master](https://github.com/OpenAPITools/openapi-generator/tree/master) (`4.2.3-SNAPSHOT`): [](https://travis-ci.org/OpenAPITools/openapi-generator)
|
||||
[](https://circleci.com/gh/OpenAPITools/openapi-generator)
|
||||
[](https://app.shippable.com/github/OpenAPITools/openapi-generator)
|
||||
[](https://ci.appveyor.com/project/WilliamCheng/openapi-generator-wh2wu)
|
||||
@@ -56,6 +56,8 @@ If you find OpenAPI Generator useful for work, please consider asking your compa
|
||||
|
||||
[](https://www.namsor.com/?utm_source=openapi_generator&utm_medium=github_webpage&utm_campaign=sponsor)
|
||||
[](https://www.lightbow.net/?utm_source=openapi_generator&utm_medium=github_webpage&utm_campaign=sponsor)
|
||||
[<img src="https://openapi-generator.tech/img/companies/docspring.png" width="128" height="128">](https://docspring.com/?utm_source=openapi_generator&utm_medium=github_webpage&utm_campaign=sponsor)
|
||||
|
||||
|
||||
#### Thank you GoDaddy for sponsoring the domain names and Linode for sponsoring the VPS
|
||||
|
||||
@@ -68,7 +70,7 @@ OpenAPI Generator allows generation of API client libraries (SDK generation), se
|
||||
|
||||
| | Languages/Frameworks |
|
||||
|-|-|
|
||||
**API clients** | **ActionScript**, **Ada**, **Apex**, **Bash**, **C**, **C#** (.net 2.0, 3.5 or later, .NET Standard 1.3 - 2.0, .NET Core 2.0), **C++** (cpp-restsdk, Qt5, Tizen), **Clojure**, **Dart (1.x, 2.x)**, **Elixir**, **Elm**, **Eiffel**, **Erlang**, **Go**, **Groovy**, **Haskell** (http-client, Servant), **Java** (Jersey1.x, Jersey2.x, OkHttp, Retrofit1.x, Retrofit2.x, Feign, RestTemplate, RESTEasy, Vertx, Google API Client Library for Java, Rest-assured, Spring 5 Web Client), **Kotlin**, **Lua**, **Nim**, **Node.js/JavaScript** (ES5, ES6, AngularJS with Google Closure Compiler annotations, Flow types), **Objective-C**, **OCaml**, **Perl**, **PHP**, **PowerShell**, **Python**, **R**, **Ruby**, **Rust** (rust, rust-server), **Scala** (akka, http4s, scalaz, swagger-async-httpclient), **Swift** (2.x, 3.x, 4.x), **Typescript** (AngularJS, Angular (2.x - 8.x), Aurelia, Axios, Fetch, Inversify, jQuery, Node, Rxjs)
|
||||
**API clients** | **ActionScript**, **Ada**, **Apex**, **Bash**, **C**, **C#** (.net 2.0, 3.5 or later, .NET Standard 1.3 - 2.0, .NET Core 2.0), **C++** (cpp-restsdk, Qt5, Tizen), **Clojure**, **Dart (1.x, 2.x)**, **Elixir**, **Elm**, **Eiffel**, **Erlang**, **Go**, **Groovy**, **Haskell** (http-client, Servant), **Java** (Jersey1.x, Jersey2.x, OkHttp, Retrofit1.x, Retrofit2.x, Feign, RestTemplate, RESTEasy, Vertx, Google API Client Library for Java, Rest-assured, Spring 5 Web Client, MicroProfile Rest Client), **Kotlin**, **Lua**, **Nim**, **Node.js/JavaScript** (ES5, ES6, AngularJS with Google Closure Compiler annotations, Flow types), **Objective-C**, **OCaml**, **Perl**, **PHP**, **PowerShell**, **Python**, **R**, **Ruby**, **Rust** (rust, rust-server), **Scala** (akka, http4s, scalaz, swagger-async-httpclient), **Swift** (2.x, 3.x, 4.x, 5.x), **Typescript** (AngularJS, Angular (2.x - 8.x), Aurelia, Axios, Fetch, Inversify, jQuery, Node, Rxjs)
|
||||
**Server stubs** | **Ada**, **C#** (ASP.NET Core, NancyFx), **C++** (Pistache, Restbed, Qt5 QHTTPEngine), **Erlang**, **F#** (Giraffe), **Go** (net/http, Gin), **Haskell** (Servant), **Java** (MSF4J, Spring, Undertow, JAX-RS: CDI, CXF, Inflector, Jersey, RestEasy, Play Framework, [PKMST](https://github.com/ProKarma-Inc/pkmst-getting-started-examples), [Vert.x](https://vertx.io/)), **Kotlin** (Spring Boot, Ktor, Vertx), **PHP** (Laravel, Lumen, Slim, Silex, [Symfony](https://symfony.com/), [Zend Expressive](https://github.com/zendframework/zend-expressive)), **Python** (Flask), **NodeJS**, **Ruby** (Sinatra, Rails5), **Rust** (rust-server), **Scala** ([Finch](https://github.com/finagle/finch), [Lagom](https://github.com/lagom/lagom), [Play](https://www.playframework.com/), Scalatra)
|
||||
**API documentation generators** | **HTML**, **Confluence Wiki**, **Asciidoc**
|
||||
**Configuration files** | [**Apache2**](https://httpd.apache.org/)
|
||||
@@ -112,8 +114,8 @@ OpenAPI Generator Version | Release Date | Notes
|
||||
---------------------------- | ------------ | -----
|
||||
5.0.0 (upcoming major release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/5.0.0-SNAPSHOT/)| 13.05.2020 | Major release with breaking changes (no fallback)
|
||||
4.3.0 (upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/4.3.0-SNAPSHOT/)| 29.02.2020 | Minor release (breaking changes with fallbacks)
|
||||
4.2.2 (upcoming patch release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/4.2.2/)| 02.12.2019 | Patch release
|
||||
[4.2.1](https://github.com/OpenAPITools/openapi-generator/releases/tag/v4.2.1) (latest stable release) | 15.11.2019 | Patch release
|
||||
4.2.3-SNAPSHOT (upcoming patch release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/4.2.3-SNAPSHOT/)| 31.01.2020 | Patch release
|
||||
[4.2.2](https://github.com/OpenAPITools/openapi-generator/releases/tag/v4.2.2) (latest stable release) | 02.12.2019 | Patch release
|
||||
|
||||
OpenAPI Spec compatibility: 1.0, 1.1, 1.2, 2.0, 3.0
|
||||
|
||||
@@ -169,16 +171,16 @@ See the different versions of the [openapi-generator-cli](https://mvnrepository.
|
||||
<!-- RELEASE_VERSION -->
|
||||
If you're looking for the latest stable version, you can grab it directly from Maven.org (Java 8 runtime at a minimum):
|
||||
|
||||
JAR location: `http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.2.1/openapi-generator-cli-4.2.1.jar`
|
||||
JAR location: `http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.2.2/openapi-generator-cli-4.2.2.jar`
|
||||
|
||||
For **Mac/Linux** users:
|
||||
```sh
|
||||
wget http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.2.1/openapi-generator-cli-4.2.1.jar -O openapi-generator-cli.jar
|
||||
wget http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.2.2/openapi-generator-cli-4.2.2.jar -O openapi-generator-cli.jar
|
||||
```
|
||||
|
||||
For **Windows** users, you will need to install [wget](http://gnuwin32.sourceforge.net/packages/wget.htm) or you can use Invoke-WebRequest in PowerShell (3.0+), e.g.
|
||||
```
|
||||
Invoke-WebRequest -OutFile openapi-generator-cli.jar http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.2.1/openapi-generator-cli-4.2.1.jar
|
||||
Invoke-WebRequest -OutFile openapi-generator-cli.jar http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.2.2/openapi-generator-cli-4.2.2.jar
|
||||
```
|
||||
|
||||
After downloading the JAR, run `java -jar openapi-generator-cli.jar help` to show the usage.
|
||||
@@ -420,7 +422,7 @@ java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generat
|
||||
(if you're on Windows, replace the last command with `java -jar modules\openapi-generator-cli\target\openapi-generator-cli.jar generate -i https://raw.githubusercontent.com/openapitools/openapi-generator/master/modules/openapi-generator/src/test/resources/2_0/petstore.yaml -g php -o c:\temp\php_api_client`)
|
||||
|
||||
<!-- RELEASE_VERSION -->
|
||||
You can also download the JAR (latest release) directly from [maven.org](http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.2.1/openapi-generator-cli-4.2.1.jar)
|
||||
You can also download the JAR (latest release) directly from [maven.org](http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.2.2/openapi-generator-cli-4.2.2.jar)
|
||||
<!-- /RELEASE_VERSION -->
|
||||
|
||||
To get a list of **general** options available, please run `java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar help generate`
|
||||
@@ -480,7 +482,7 @@ SYNOPSIS
|
||||
[--model-name-prefix <model name prefix>]
|
||||
[--model-name-suffix <model name suffix>]
|
||||
[--model-package <model package>]
|
||||
[(-o <output directory> | --output <output directory>)]
|
||||
[(-o <output directory> | --output <output directory>)]
|
||||
[(-p <additional properties> | --additional-properties <additional properties>)...]
|
||||
[--package-name <package name>] [--release-note <release note>]
|
||||
[--remove-operation-id-prefix]
|
||||
@@ -560,7 +562,7 @@ Here is a list of community-conitributed IDE plug-ins that integrate with OpenAP
|
||||
- Visual Studio: [REST API Client Code Generator](https://marketplace.visualstudio.com/items?itemName=ChristianResmaHelle.ApiClientCodeGenerator) by [Christian Resma Helle](https://christian-helle.blogspot.com/)
|
||||
- Visual Studio Code: [Codewind OpenAPI Tools](https://marketplace.visualstudio.com/items?itemName=IBM.codewind-openapi-tools) by [IBM](https://marketplace.visualstudio.com/publishers/IBM)
|
||||
|
||||
|
||||
|
||||
## [4 - Companies/Projects using OpenAPI Generator](#table-of-contents)
|
||||
Here are some companies/projects (alphabetical order) using OpenAPI Generator in production. To add your company/project to the list, please visit [README.md](README.md) and click on the icon to edit the page.
|
||||
|
||||
@@ -578,16 +580,18 @@ Here are some companies/projects (alphabetical order) using OpenAPI Generator in
|
||||
- [California State University, Northridge](https://www.csun.edu)
|
||||
- [CAM](https://www.cam-inc.co.jp/)
|
||||
- [Camptocamp](https://www.camptocamp.com/en)
|
||||
- [Cisco](https://www.cisco.com/)
|
||||
- [codecentric AG](https://www.codecentric.de/)
|
||||
- [Commencis](https://www.commencis.com/)
|
||||
- [Crossover Health](https://crossoverhealth.com/)
|
||||
- [Cupix](https://www.cupix.com/)
|
||||
- [DB Systel](https://www.dbsystel.de)
|
||||
- [DocSpring](https://docspring.com/)
|
||||
- [dwango](https://dwango.co.jp/)
|
||||
- [Edge Impulse](https://www.edgeimpulse.com/)
|
||||
- [Element AI](https://www.elementai.com/)
|
||||
- [Embotics](https://www.embotics.com/)
|
||||
- [Fenergo](https://www.fenergo.com/)
|
||||
- [FormAPI](https://formapi.io/)
|
||||
- [FreshCells](https://www.freshcells.de/)
|
||||
- [Fuse](https://www.fuse.no/)
|
||||
- [Gantner](https://www.gantner.com)
|
||||
@@ -600,11 +604,14 @@ Here are some companies/projects (alphabetical order) using OpenAPI Generator in
|
||||
- [JustStar](https://www.juststarinfo.com)
|
||||
- [Klarna](https://www.klarna.com/)
|
||||
- [Kronsoft Development](https://www.kronsoft.ro/home/)
|
||||
- [Kubernetes](https://kubernetes.io)
|
||||
- [Linode](https://www.linode.com/)
|
||||
- [Médiavision](https://www.mediavision.fr/)
|
||||
- [Metaswitch](https://www.metaswitch.com/)
|
||||
- [Myworkout](https://myworkout.com)
|
||||
- [NamSor](https://www.namsor.com/)
|
||||
- [Openet](https://www.openet.com/)
|
||||
- [Oracle](https://www.oracle.com/)
|
||||
- [Paxos](https://www.paxos.com)
|
||||
- [Ponicode](https://ponicode.dev/)
|
||||
- [Pricefx](https://www.pricefx.com/)
|
||||
@@ -623,6 +630,7 @@ Here are some companies/projects (alphabetical order) using OpenAPI Generator in
|
||||
- [TUI InfoTec GmbH](http://www.tui-infotec.com/)
|
||||
- [unblu inc.](https://www.unblu.com/)
|
||||
- [Veamly](https://www.veamly.com/)
|
||||
- [Woleet](https://www.woleet.io/)
|
||||
- [WSO2](https://wso2.com/)
|
||||
- [Vouchery.io](https://vouchery.io)
|
||||
- [Xero](https://www.xero.com/)
|
||||
@@ -703,9 +711,14 @@ Here are some companies/projects (alphabetical order) using OpenAPI Generator in
|
||||
- 2019-11-11 - [One Spec to Rule them all - OpenAPI in Action](https://www.youtube.com/watch?v=MMay_nht8ec) by [Andreas Litt](https://github.com/littldr) at [code.talks 2019](https://www.codetalks.com/)
|
||||
- 2019-11-17 - [OpenAPI Generator YouTube playlist](https://www.youtube.com/playlist?list=PLtJyHVMdzfF6fBkOUV5VDVErP23CGgHIy) at [YouTube](https://www.youtube.com)
|
||||
- 2019-11-20 - [Introduction to OpenAPI](https://noti.st/lornajane/HvDH7U/introduction-to-openapi) by [Lorna Mitchell](https://twitter.com/lornajane) at [GOTO Copenhagen 2019](https://gotocph.com/2019/)
|
||||
- 2019/11/23 - [Swagger ではない OpenAPI Specification 3.0 による API サーバー開発](https://www.slideshare.net/techblogyahoo/swagger-openapi-specification-30-api) by [Tetsuya Morimoto](https://github.com/t2y) at [JJUG CCC 2019 Fall](https://ccc2019fall.java-users.jp/)
|
||||
- 2019-11-20 - [How to Generate Angular code from OpenAPI specifications](https://dotnetthoughts.net/how-to-generate-angular-code-from-openapi-specifications/) by Anuraj
|
||||
- 2019-11-23 - [Swagger ではない OpenAPI Specification 3.0 による API サーバー開発](https://www.slideshare.net/techblogyahoo/swagger-openapi-specification-30-api) by [Tetsuya Morimoto](https://github.com/t2y) at [JJUG CCC 2019 Fall](https://ccc2019fall.java-users.jp/)
|
||||
- 2019-11-24 - [Accelerate Flutter development with OpenAPI and Dart code generation](https://medium.com/@irinasouthwell_220/accelerate-flutter-development-with-openapi-and-dart-code-generation-1f16f8329a6a) by [Irina Southwell](https://medium.com/@irinasouthwell_220)
|
||||
- 2019-11-25 - [openapi-generatorで手軽にスタブサーバとクライアントの生成](https://qiita.com/pochopocho13/items/8db662e1934fb2b408b8) by [@pochopocho13](https://twitter.com/pochopocho13)
|
||||
- 2019-11-26 - [CordaCon 2019 Highlights: Braid Server and OpenAPI Generator for Corda Client API’s](https://blog.b9lab.com/cordacon-2019-highlights-braid-server-and-openapi-generator-for-corda-flows-api-s-d24179ccb27c) by [Adel Rustum](https://blog.b9lab.com/@adelrestom) at [B9lab](https://blog.b9lab.com/)
|
||||
- 2019-12-04 - [Angular+NestJS+OpenAPI(Swagger)でマイクロサービスを視野に入れた環境を考える](https://qiita.com/teracy55/items/0327c7a170ec772970c6) by [てらしー](https://twitter.com/teracy55)
|
||||
- 2019-12-17 - [OpenAPI Generator で OAuth2 アクセストークン発行のコードまで生成してみる](https://www.techscore.com/blog/2019/12/17/openapi-generator-oauth2-accesstoken/) by [TECHSCORE](https://www.techscore.com/blog/)
|
||||
- 2019-12-23 - [Use Ada for Your Web Development](https://www.electronicdesign.com/technologies/embedded-revolution/article/21119177/use-ada-for-your-web-development) by [Stephane Carrez](https://github.com/stcarrez)
|
||||
|
||||
## [6 - About Us](#table-of-contents)
|
||||
|
||||
@@ -721,7 +734,7 @@ OpenAPI Generator core team members are contributors who have been making signif
|
||||
* [@jmini](https://github.com/jmini) (2018/04) [:heart:](https://www.patreon.com/jmini)
|
||||
* [@etherealjoy](https://github.com/etherealjoy) (2019/06)
|
||||
|
||||
:heart: = Link to support the contributor directly
|
||||
:heart: = Link to support the contributor directly
|
||||
|
||||
#### Template Creator
|
||||
|
||||
@@ -776,8 +789,9 @@ Here is a list of template creators:
|
||||
* Perl: @wing328 [:heart:](https://www.patreon.com/wing328)
|
||||
* PHP (Guzzle): @baartosz
|
||||
* PowerShell: @beatcracker
|
||||
* Python-experimental: @spacether
|
||||
* R: @ramnov
|
||||
* Ruby (Faraday): @meganemura @dkliban
|
||||
* Ruby (Faraday): @meganemura @dkliban
|
||||
* Rust: @farcaller
|
||||
* Rust (rust-server): @metaswitch
|
||||
* Scala (scalaz & http4s): @tbrown1979
|
||||
@@ -785,9 +799,10 @@ Here is a list of template creators:
|
||||
* Swift: @tkqubo
|
||||
* Swift 3: @hexelon
|
||||
* Swift 4: @ehyche
|
||||
* Swift 5: @4brunu
|
||||
* TypeScript (Angular1): @mhardorf
|
||||
* TypeScript (Angular2): @roni-frantchi
|
||||
* TypeScript (Angular6): @akehir
|
||||
* TypeScript (Angular6): @akehir
|
||||
* TypeScript (Angular7): @topce
|
||||
* TypeScript (Axios): @nicokoenig
|
||||
* TypeScript (Fetch): @leonyu
|
||||
@@ -795,11 +810,11 @@ Here is a list of template creators:
|
||||
* TypeScript (Node): @mhardorf
|
||||
* TypeScript (Rxjs): @denyo
|
||||
* TypeScript (Inversify): @gualtierim
|
||||
* TypeSCript (redux-query): @petejohansonxo
|
||||
* TypeScript (redux-query): @petejohansonxo
|
||||
* Server Stubs
|
||||
* Ada: @stcarrez
|
||||
* C# ASP.NET 5: @jimschubert [:heart:](https://www.patreon.com/jimschubert)
|
||||
* C# ASP.NET Core 3.0: @A-Joshi
|
||||
* C# ASP.NET Core 3.0: @A-Joshi
|
||||
* C# NancyFX: @mstefaniuk
|
||||
* C++ (Qt5 QHttpEngine): @etherealjoy
|
||||
* C++ Pistache: @sebymiano
|
||||
@@ -842,7 +857,7 @@ Here is a list of template creators:
|
||||
* Configuration
|
||||
* Apache2: @stkrwork
|
||||
* Schema
|
||||
* Avro: @sgadouar
|
||||
* Avro: @sgadouar
|
||||
* GraphQL: @wing328 [:heart:](https://www.patreon.com/wing328)
|
||||
* MySQL: @ybelenko
|
||||
* Protocol Buffer: @wing328
|
||||
@@ -885,11 +900,11 @@ If you want to join the committee, please kindly apply by sending an email to te
|
||||
| Android | @jaz-ah (2017/09) |
|
||||
| Apex | |
|
||||
| Bash | @frol (2017/07) @bkryza (2017/08) @kenjones-cisco (2017/09) |
|
||||
| C | @zhemant (2018/11) |
|
||||
| C | @zhemant (2018/11) @ityuhui (2019/12) |
|
||||
| C++ | @ravinikam (2017/07) @stkrwork (2017/07) @etherealjoy (2018/02) @martindelille (2018/03) @muttleyxd (2019/08) |
|
||||
| C# | @mandrean (2017/08), @jimschubert (2017/09) [:heart:](https://www.patreon.com/jimschubert) @frankyjuang (2019/09) |
|
||||
| Clojure | |
|
||||
| Dart | @ircecho (2017/07) @swipesight (2018/09) @jaumard (2018/09) @nickmeinhold (2019/09) |
|
||||
| Dart | @ircecho (2017/07) @swipesight (2018/09) @jaumard (2018/09) @nickmeinhold (2019/09) @athornz (2019/12) @amondnet (2019/12) |
|
||||
| Eiffel | @jvelilla (2017/09) |
|
||||
| Elixir | @mrmstn (2018/12) |
|
||||
| Elm | @eriktim (2018/09) |
|
||||
@@ -914,7 +929,7 @@ If you want to join the committee, please kindly apply by sending an email to te
|
||||
| Ruby | @cliffano (2017/07) @zlx (2017/09) @autopp (2019/02) |
|
||||
| Rust | @frol (2017/07) @farcaller (2017/08) @bjgill (2017/12) @richardwhiuk (2019/07) |
|
||||
| Scala | @clasnake (2017/07), @jimschubert (2017/09) [:heart:](https://www.patreon.com/jimschubert), @shijinkui (2018/01), @ramzimaalej (2018/03) |
|
||||
| Swift | @jgavris (2017/07) @ehyche (2017/08) @Edubits (2017/09) @jaz-ah (2017/09) @d-date (2018/03) @4brunu (2019/11) |
|
||||
| Swift | @jgavris (2017/07) @ehyche (2017/08) @Edubits (2017/09) @jaz-ah (2017/09) @4brunu (2019/11) |
|
||||
| TypeScript | @TiFu (2017/07) @taxpon (2017/07) @sebastianhaas (2017/07) @kenisteward (2017/07) @Vrolijkx (2017/09) @macjohnny (2018/01) @nicokoenig (2018/09) @topce (2018/10) @akehir (2019/07) @petejohansonxo (2019/11) |
|
||||
|
||||
:heart: = Link to support the contributor directly
|
||||
|
||||
@@ -26,6 +26,6 @@ fi
|
||||
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
ags="$@ generate -t modules/openapi-generator/src/main/resources/asciidoc-documentation --additional-properties=specDir=modules/openapi-generator/src/main/resources/asciidoc-documentation,snippetDir=. -i modules/openapi-generator/src/test/resources/2_0/petstore.yaml -g asciidoc -o samples/documentation/asciidoc"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/asciidoc-documentation --additional-properties=specDir=modules/openapi-generator/src/main/resources/asciidoc-documentation,snippetDir=. -i modules/openapi-generator/src/test/resources/2_0/petstore.yaml -g asciidoc -o samples/documentation/asciidoc $@"
|
||||
|
||||
java ${JAVA_OPTS} -jar ${executable} ${ags}
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
"templateDir": "modules/openapi-generator/src/main/resources/Java/libraries/feign",
|
||||
"additionalProperties": {
|
||||
"hideGenerationTimestamp": true,
|
||||
"booleanGetterPrefix": "is"
|
||||
"booleanGetterPrefix": "is",
|
||||
"additionalModelTypeAnnotations": "@javax.annotation.concurrent.Immutable"
|
||||
}
|
||||
}
|
||||
@@ -6,6 +6,8 @@
|
||||
"templateDir": "modules/openapi-generator/src/main/resources/kotlin-client",
|
||||
"additionalProperties": {
|
||||
"dateLibrary": "string",
|
||||
"serializableModel": "true"
|
||||
"serializableModel": "true",
|
||||
"sortParamsByRequiredFlag": "false",
|
||||
"sortModelPropertiesByRequiredFlag": "false"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatorName": "php-slim4",
|
||||
"inputSpec": "modules/openapi-generator/src/test/resources/3_0/petstore.yaml",
|
||||
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||
"outputDir": "samples/server/petstore/php-slim4",
|
||||
"templateDir": "modules/openapi-generator/src/main/resources/php-slim4-server"
|
||||
}
|
||||
@@ -7,6 +7,7 @@
|
||||
./bin/java-petstore-jersey1.sh
|
||||
./bin/java-petstore-jersey2-java6.sh
|
||||
./bin/java-petstore-jersey2.sh
|
||||
./bin/java-petstore-microprofile.sh
|
||||
./bin/java-petstore-native.sh
|
||||
./bin/java-petstore-okhttp-gson-parcelable.sh
|
||||
./bin/java-petstore-okhttp-gson.sh
|
||||
|
||||
@@ -27,7 +27,7 @@ fi
|
||||
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/Java/libraries/feign -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -g java -c bin/java-petstore-feign-9x.json -o samples/client/petstore/java/feign --additional-properties hideGenerationTimestamp=true,booleanGetterPrefix=is $@"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/Java/libraries/feign -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -g java -c bin/java-petstore-feign-9x.json -o samples/client/petstore/java/feign --additional-properties hideGenerationTimestamp=true,booleanGetterPrefix=is,additionalModelTypeAnnotations=@javax.annotation.concurrent.Immutable $@"
|
||||
|
||||
echo "Removing files and folders under samples/client/petstore/java/feign/src/main"
|
||||
rm -rf samples/client/petstore/java/feign/src/main
|
||||
|
||||
36
bin/java-petstore-microprofile.sh
Executable file
36
bin/java-petstore-microprofile.sh
Executable file
@@ -0,0 +1,36 @@
|
||||
#!/bin/sh
|
||||
|
||||
SCRIPT="$0"
|
||||
echo "# START SCRIPT: $SCRIPT"
|
||||
|
||||
while [ -h "$SCRIPT" ] ; do
|
||||
ls=`ls -ld "$SCRIPT"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
SCRIPT="$link"
|
||||
else
|
||||
SCRIPT=`dirname "$SCRIPT"`/"$link"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ ! -d "${APP_DIR}" ]; then
|
||||
APP_DIR=`dirname "$SCRIPT"`/..
|
||||
APP_DIR=`cd "${APP_DIR}"; pwd`
|
||||
fi
|
||||
|
||||
executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
|
||||
|
||||
if [ ! -f "$executable" ]
|
||||
then
|
||||
mvn -B clean package
|
||||
fi
|
||||
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
ags="generate --artifact-id "microprofile-rest-client" -i modules/openapi-generator/src/test/resources/2_0/petstore.yaml -g java --library microprofile -o samples/client/petstore/java/microprofile-rest-client $@"
|
||||
|
||||
echo "Removing files and folders under samples/client/petstore/java/microprofile-rest-client/src/main"
|
||||
rm -rf samples/client/petstore/java/microprofile-rest-client/src/main
|
||||
find samples/client/petstore/java/microprofile-rest-client -maxdepth 1 -type f ! -name "README.md" -exec rm {} +
|
||||
|
||||
java $JAVA_OPTS -jar $executable $ags
|
||||
@@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
./bin/kotlin-client-gson.sh
|
||||
./bin/kotlin-client-moshi-codegen.sh
|
||||
./bin/kotlin-client-nonpublic.sh
|
||||
./bin/kotlin-client-okhttp3.sh
|
||||
./bin/kotlin-client-petstore-multiplatform.sh
|
||||
@@ -8,3 +9,5 @@
|
||||
./bin/kotlin-client-string.sh
|
||||
./bin/kotlin-client-threetenbp.sh
|
||||
./bin/kotlin-client-nullable.sh
|
||||
./bin/kotlin-client-retrofit2.sh
|
||||
./bin/kotlin-client-json-request-date.sh
|
||||
|
||||
32
bin/kotlin-client-json-request-date.sh
Executable file
32
bin/kotlin-client-json-request-date.sh
Executable file
@@ -0,0 +1,32 @@
|
||||
#!/bin/sh
|
||||
|
||||
SCRIPT="$0"
|
||||
echo "# START SCRIPT: $SCRIPT"
|
||||
|
||||
while [ -h "$SCRIPT" ] ; do
|
||||
ls=$(ls -ld "$SCRIPT")
|
||||
link=$(expr "$ls" : '.*-> \(.*\)$')
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
SCRIPT="$link"
|
||||
else
|
||||
SCRIPT=$(dirname "$SCRIPT")/"$link"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ ! -d "${APP_DIR}" ]; then
|
||||
APP_DIR=$(dirname "$SCRIPT")/..
|
||||
APP_DIR=$(cd "${APP_DIR}"; pwd)
|
||||
fi
|
||||
|
||||
executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
|
||||
|
||||
if [ ! -f "$executable" ]
|
||||
then
|
||||
mvn -B clean package
|
||||
fi
|
||||
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/kotlin-client -i modules/openapi-generator/src/test/resources/2_0/petstore-with-date-field.yaml -g kotlin --artifact-id kotlin-petstore-json-request-date --additional-properties requestDateConverter=toJson -o samples/client/petstore/kotlin-json-request-date $@"
|
||||
|
||||
java ${JAVA_OPTS} -jar ${executable} ${ags}
|
||||
32
bin/kotlin-client-moshi-codegen.sh
Executable file
32
bin/kotlin-client-moshi-codegen.sh
Executable file
@@ -0,0 +1,32 @@
|
||||
#!/bin/sh
|
||||
|
||||
SCRIPT="$0"
|
||||
echo "# START SCRIPT: $SCRIPT"
|
||||
|
||||
while [ -h "$SCRIPT" ] ; do
|
||||
ls=$(ls -ld "$SCRIPT")
|
||||
link=$(expr "$ls" : '.*-> \(.*\)$')
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
SCRIPT="$link"
|
||||
else
|
||||
SCRIPT=$(dirname "$SCRIPT")/"$link"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ ! -d "${APP_DIR}" ]; then
|
||||
APP_DIR=$(dirname "$SCRIPT")/..
|
||||
APP_DIR=$(cd "${APP_DIR}"; pwd)
|
||||
fi
|
||||
|
||||
executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
|
||||
|
||||
if [ ! -f "$executable" ]
|
||||
then
|
||||
mvn -B clean package
|
||||
fi
|
||||
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/kotlin-client -i modules/openapi-generator/src/test/resources/2_0/petstore.yaml -g kotlin --artifact-id kotlin-petstore-moshi-codegen --additional-properties serializationLibrary=moshi,moshiCodeGen=true -o samples/client/petstore/kotlin-moshi-codegen $@"
|
||||
|
||||
java ${JAVA_OPTS} -jar ${executable} ${ags}
|
||||
32
bin/kotlin-client-retrofit2.sh
Executable file
32
bin/kotlin-client-retrofit2.sh
Executable file
@@ -0,0 +1,32 @@
|
||||
#!/bin/sh
|
||||
|
||||
SCRIPT="$0"
|
||||
echo "# START SCRIPT: $SCRIPT"
|
||||
|
||||
while [ -h "$SCRIPT" ] ; do
|
||||
ls=$(ls -ld "$SCRIPT")
|
||||
link=$(expr "$ls" : '.*-> \(.*\)$')
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
SCRIPT="$link"
|
||||
else
|
||||
SCRIPT=$(dirname "$SCRIPT")/"$link"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ ! -d "${APP_DIR}" ]; then
|
||||
APP_DIR=$(dirname "$SCRIPT")/..
|
||||
APP_DIR=$(cd "${APP_DIR}"; pwd)
|
||||
fi
|
||||
|
||||
executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
|
||||
|
||||
if [ ! -f "$executable" ]
|
||||
then
|
||||
mvn -B clean package
|
||||
fi
|
||||
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/kotlin-client -i modules/openapi-generator/src/test/resources/2_0/petstore.yaml -g kotlin --artifact-id kotlin-petstore-retrofit2 --library jvm-retrofit2 -o samples/client/petstore/kotlin-retrofit2 $@"
|
||||
|
||||
java ${JAVA_OPTS} -jar ${executable} ${ags}
|
||||
@@ -27,7 +27,7 @@ fi
|
||||
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/kotlin-client -i modules/openapi-generator/src/test/resources/2_0/petstore.yaml -g kotlin --artifact-id kotlin-petstore-string --additional-properties dateLibrary=string,serializableModel=true -o samples/client/petstore/kotlin-string $@"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/kotlin-client -i modules/openapi-generator/src/test/resources/2_0/petstore.yaml -g kotlin --artifact-id kotlin-petstore-string --additional-properties dateLibrary=string,serializableModel=true,sortParamsByRequiredFlag=false,sortModelPropertiesByRequiredFlag=false -o samples/client/petstore/kotlin-string $@"
|
||||
|
||||
java ${JAVA_OPTS} -jar ${executable} ${ags}
|
||||
|
||||
|
||||
34
bin/kotlin-client-uppercase-enum.sh
Executable file
34
bin/kotlin-client-uppercase-enum.sh
Executable file
@@ -0,0 +1,34 @@
|
||||
#!/bin/sh
|
||||
|
||||
SCRIPT="$0"
|
||||
echo "# START SCRIPT: $SCRIPT"
|
||||
|
||||
while [ -h "$SCRIPT" ] ; do
|
||||
ls=$(ls -ld "$SCRIPT")
|
||||
link=$(expr "$ls" : '.*-> \(.*\)$')
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
SCRIPT="$link"
|
||||
else
|
||||
SCRIPT=$(dirname "$SCRIPT")/"$link"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ ! -d "${APP_DIR}" ]; then
|
||||
APP_DIR=$(dirname "$SCRIPT")/..
|
||||
APP_DIR=$(cd "${APP_DIR}"; pwd)
|
||||
fi
|
||||
|
||||
executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
|
||||
|
||||
if [ ! -f "$executable" ]
|
||||
then
|
||||
mvn -B clean package
|
||||
fi
|
||||
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/kotlin-client -i modules/openapi-generator/src/test/resources/3_0/issue-4062.yaml -g kotlin --artifact-id kotlin-uppercase-enum --additional-properties enumPropertyNaming=UPPERCASE -o samples/client/petstore/kotlin-uppercase-enum $@"
|
||||
|
||||
java ${JAVA_OPTS} -jar ${executable} ${ags}
|
||||
|
||||
#cp CI/samples.ci/client/petstore/kotlin-uppercase-enum/pom.xml samples/client/petstore/kotlin-uppercase-enum/pom.xml
|
||||
31
bin/markdown-documentation-petstore.sh
Executable file
31
bin/markdown-documentation-petstore.sh
Executable file
@@ -0,0 +1,31 @@
|
||||
#!/bin/sh
|
||||
|
||||
SCRIPT="$0"
|
||||
|
||||
while [ -h "$SCRIPT" ] ; do
|
||||
ls=$(ls -ld "$SCRIPT")
|
||||
link=$(expr "$ls" : '.*-> \(.*\)$')
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
SCRIPT="$link"
|
||||
else
|
||||
SCRIPT=$(dirname "$SCRIPT")/"$link"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ ! -d "${APP_DIR}" ]; then
|
||||
APP_DIR=$(dirname "$SCRIPT")/..
|
||||
APP_DIR=$(cd "${APP_DIR}"; pwd)
|
||||
fi
|
||||
|
||||
executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
|
||||
|
||||
if [ ! -f "$executable" ]
|
||||
then
|
||||
mvn -B clean package
|
||||
fi
|
||||
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/markdown-documentation -i modules/openapi-generator/src/test/resources/2_0/petstore.yaml -g markdown -o samples/documentation/markdown $@"
|
||||
|
||||
java ${JAVA_OPTS} -jar ${executable} ${ags}
|
||||
35
bin/openapi3/kotlin-client-petstore-nullable-required.sh
Normal file
35
bin/openapi3/kotlin-client-petstore-nullable-required.sh
Normal file
@@ -0,0 +1,35 @@
|
||||
#!/bin/sh
|
||||
|
||||
SCRIPT="$0"
|
||||
echo "# START SCRIPT: $SCRIPT"
|
||||
|
||||
while [ -h "$SCRIPT" ] ; do
|
||||
ls=$(ls -ld "$SCRIPT")
|
||||
link=$(expr "$ls" : '.*-> \(.*\)$')
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
SCRIPT="$link"
|
||||
else
|
||||
SCRIPT=$(dirname "$SCRIPT")/"$link"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ ! -d "${APP_DIR}" ]; then
|
||||
APP_DIR=$(dirname "$SCRIPT")/..
|
||||
APP_DIR=$(cd "${APP_DIR}"; pwd)
|
||||
fi
|
||||
|
||||
executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
|
||||
|
||||
if [ ! -f "$executable" ]
|
||||
then
|
||||
mvn clean package
|
||||
fi
|
||||
|
||||
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
ags="generate -i modules/openapi-generator/src/test/resources/3_0/petstore-with-nullable-required.yaml -t modules/openapi-generator/src/main/resources/kotlin-client -g kotlin --artifact-id kotlin-petstore-nullable-required --additional-properties allowRequiredAsNullable=true -o samples/openapi3/client/petstore/kotlin-nullable-required $@"
|
||||
|
||||
echo "Cleaning previously generated files if any from samples/openapi3/client/petstore/kotlin-nullable-required"
|
||||
rm -rf samples/openapi3/client/petstore/kotlin-nullable-required
|
||||
|
||||
echo "Generating Kotling client..."
|
||||
java $JAVA_OPTS -jar $executable $ags
|
||||
10
bin/openapi3/windows/kotlin-client-nullable-required.bat
Normal file
10
bin/openapi3/windows/kotlin-client-nullable-required.bat
Normal file
@@ -0,0 +1,10 @@
|
||||
set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
|
||||
|
||||
If Not Exist %executable% (
|
||||
mvn clean package
|
||||
)
|
||||
|
||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
||||
set ags=generate -i modules\openapi-generator\src\test\resources\3_0\petstore-with-nullable-required.yaml -g kotlin --artifact-id "kotlin-petstore-nullable-required" --additional-properties allowRequiredAsNullable=true -o samples\openapi3\client\petstore\kotlin-nullable-required
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
||||
@@ -3,3 +3,4 @@
|
||||
./bin/python-server-aiohttp-petstore.sh
|
||||
./bin/python-server-flask-petstore.sh
|
||||
./bin/python-server-flask-petstore-python2.sh
|
||||
./bin/python-server-blueplanet-petstore.sh
|
||||
|
||||
@@ -3,5 +3,6 @@
|
||||
"podHomepage": "https://github.com/openapitools/openapi-generator",
|
||||
"podAuthors": "",
|
||||
"projectName": "PetstoreClient",
|
||||
"nonPublicApi": true
|
||||
"nonPublicApi": true,
|
||||
"sortParamsByRequiredFlag": false
|
||||
}
|
||||
|
||||
4
bin/swift5-all.sh
Executable file
4
bin/swift5-all.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
./bin/swift5-petstore-all.sh
|
||||
./bin/swift5-test.sh
|
||||
7
bin/swift5-petstore-alamofire.json
Normal file
7
bin/swift5-petstore-alamofire.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"podSummary": "PetstoreClient",
|
||||
"podHomepage": "https://github.com/openapitools/openapi-generator",
|
||||
"podAuthors": "",
|
||||
"projectName": "PetstoreClient",
|
||||
"library": "alamofire"
|
||||
}
|
||||
42
bin/swift5-petstore-alamofire.sh
Executable file
42
bin/swift5-petstore-alamofire.sh
Executable file
@@ -0,0 +1,42 @@
|
||||
#!/bin/sh
|
||||
|
||||
SCRIPT="$0"
|
||||
echo "# START SCRIPT: $SCRIPT"
|
||||
|
||||
while [ -h "$SCRIPT" ] ; do
|
||||
ls=`ls -ld "$SCRIPT"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
SCRIPT="$link"
|
||||
else
|
||||
SCRIPT=`dirname "$SCRIPT"`/"$link"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ ! -d "${APP_DIR}" ]; then
|
||||
APP_DIR=`dirname "$SCRIPT"`/..
|
||||
APP_DIR=`cd "${APP_DIR}"; pwd`
|
||||
fi
|
||||
|
||||
executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
|
||||
|
||||
if [ ! -f "$executable" ]
|
||||
then
|
||||
mvn -B clean package
|
||||
fi
|
||||
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/swift5 -i modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml -g swift5 -c ./bin/swift5-petstore-alamofire.json -o samples/client/petstore/swift5/alamofireLibrary --generate-alias-as-model $@"
|
||||
|
||||
java $JAVA_OPTS -jar $executable $ags
|
||||
|
||||
if type "xcodegen" > /dev/null 2>&1; then
|
||||
cd samples/client/petstore/swift5/alamofireLibrary
|
||||
xcodegen generate
|
||||
fi
|
||||
|
||||
if type "swiftlint" > /dev/null 2>&1; then
|
||||
cd samples/client/petstore/swift5/alamofireLibrary
|
||||
swiftlint autocorrect
|
||||
fi
|
||||
12
bin/swift5-petstore-all.sh
Executable file
12
bin/swift5-petstore-all.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
./bin/swift5-petstore.sh
|
||||
./bin/swift5-petstore-promisekit.sh
|
||||
./bin/swift5-petstore-result.sh
|
||||
./bin/swift5-petstore-rxswift.sh
|
||||
./bin/swift5-petstore-objcCompatible.sh
|
||||
./bin/swift5-petstore-nonPublicApi.sh
|
||||
./bin/swift5-petstore-urlsession.sh
|
||||
./bin/swift5-petstore-alamofire.sh
|
||||
./bin/swift5-petstore-combine.sh
|
||||
|
||||
7
bin/swift5-petstore-combine.json
Normal file
7
bin/swift5-petstore-combine.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"podSummary": "PetstoreClient",
|
||||
"podHomepage": "https://github.com/openapitools/openapi-generator",
|
||||
"podAuthors": "",
|
||||
"projectName": "PetstoreClient",
|
||||
"responseAs": "Combine"
|
||||
}
|
||||
42
bin/swift5-petstore-combine.sh
Executable file
42
bin/swift5-petstore-combine.sh
Executable file
@@ -0,0 +1,42 @@
|
||||
#!/bin/sh
|
||||
|
||||
SCRIPT="$0"
|
||||
echo "# START SCRIPT: $SCRIPT"
|
||||
|
||||
while [ -h "$SCRIPT" ] ; do
|
||||
ls=`ls -ld "$SCRIPT"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
SCRIPT="$link"
|
||||
else
|
||||
SCRIPT=`dirname "$SCRIPT"`/"$link"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ ! -d "${APP_DIR}" ]; then
|
||||
APP_DIR=`dirname "$SCRIPT"`/..
|
||||
APP_DIR=`cd "${APP_DIR}"; pwd`
|
||||
fi
|
||||
|
||||
executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
|
||||
|
||||
if [ ! -f "$executable" ]
|
||||
then
|
||||
mvn -B clean package
|
||||
fi
|
||||
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/swift5 -i modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml -g swift5 -c ./bin/swift5-petstore-combine.json -o samples/client/petstore/swift5/combineLibrary --generate-alias-as-model $@"
|
||||
|
||||
java $JAVA_OPTS -jar $executable $ags
|
||||
|
||||
if type "xcodegen" > /dev/null 2>&1; then
|
||||
cd samples/client/petstore/swift5/combineLibrary
|
||||
xcodegen generate
|
||||
fi
|
||||
|
||||
if type "swiftlint" > /dev/null 2>&1; then
|
||||
cd samples/client/petstore/swift5/combineLibrary
|
||||
swiftlint autocorrect
|
||||
fi
|
||||
8
bin/swift5-petstore-nonPublicApi.json
Normal file
8
bin/swift5-petstore-nonPublicApi.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"podSummary": "PetstoreClient",
|
||||
"podHomepage": "https://github.com/openapitools/openapi-generator",
|
||||
"podAuthors": "",
|
||||
"projectName": "PetstoreClient",
|
||||
"nonPublicApi": true,
|
||||
"sortParamsByRequiredFlag": false
|
||||
}
|
||||
@@ -22,11 +22,21 @@ executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
|
||||
|
||||
if [ ! -f "$executable" ]
|
||||
then
|
||||
mvn clean package
|
||||
mvn -B clean package
|
||||
fi
|
||||
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/nodejs -i modules/openapi-generator/src/test/resources/3_0/petstore.yaml -g nodejs-server-deprecated -o samples/server/petstore/nodejs -Dservice $@"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/swift5 -i modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml -g swift5 -c ./bin/swift5-petstore-nonPublicApi.json -o samples/client/petstore/swift5/nonPublicApi --generate-alias-as-model $@"
|
||||
|
||||
java $JAVA_OPTS -jar $executable $ags
|
||||
|
||||
if type "xcodegen" > /dev/null 2>&1; then
|
||||
cd samples/client/petstore/swift5/nonPublicApi
|
||||
xcodegen generate
|
||||
fi
|
||||
|
||||
if type "swiftlint" > /dev/null 2>&1; then
|
||||
cd samples/client/petstore/swift5/nonPublicApi
|
||||
swiftlint autocorrect
|
||||
fi
|
||||
7
bin/swift5-petstore-objcCompatible.json
Normal file
7
bin/swift5-petstore-objcCompatible.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"podSummary": "PetstoreClient",
|
||||
"podHomepage": "https://github.com/openapitools/openapi-generator",
|
||||
"podAuthors": "",
|
||||
"projectName": "PetstoreClient",
|
||||
"objcCompatible": true
|
||||
}
|
||||
42
bin/swift5-petstore-objcCompatible.sh
Executable file
42
bin/swift5-petstore-objcCompatible.sh
Executable file
@@ -0,0 +1,42 @@
|
||||
#!/bin/sh
|
||||
|
||||
SCRIPT="$0"
|
||||
echo "# START SCRIPT: $SCRIPT"
|
||||
|
||||
while [ -h "$SCRIPT" ] ; do
|
||||
ls=`ls -ld "$SCRIPT"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
SCRIPT="$link"
|
||||
else
|
||||
SCRIPT=`dirname "$SCRIPT"`/"$link"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ ! -d "${APP_DIR}" ]; then
|
||||
APP_DIR=`dirname "$SCRIPT"`/..
|
||||
APP_DIR=`cd "${APP_DIR}"; pwd`
|
||||
fi
|
||||
|
||||
executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
|
||||
|
||||
if [ ! -f "$executable" ]
|
||||
then
|
||||
mvn -B clean package
|
||||
fi
|
||||
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/swift5 -i modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml -g swift5 -c ./bin/swift5-petstore-objcCompatible.json -o samples/client/petstore/swift5/objcCompatible --generate-alias-as-model $@"
|
||||
|
||||
java $JAVA_OPTS -jar $executable $ags
|
||||
|
||||
if type "xcodegen" > /dev/null 2>&1; then
|
||||
cd samples/client/petstore/swift5/objcCompatible
|
||||
xcodegen generate
|
||||
fi
|
||||
|
||||
if type "swiftlint" > /dev/null 2>&1; then
|
||||
cd samples/client/petstore/swift5/objcCompatible
|
||||
swiftlint autocorrect
|
||||
fi
|
||||
7
bin/swift5-petstore-promisekit.json
Normal file
7
bin/swift5-petstore-promisekit.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"podSummary": "PetstoreClient",
|
||||
"podHomepage": "https://github.com/openapitools/openapi-generator",
|
||||
"podAuthors": "",
|
||||
"projectName": "PetstoreClient",
|
||||
"responseAs": "PromiseKit"
|
||||
}
|
||||
42
bin/swift5-petstore-promisekit.sh
Executable file
42
bin/swift5-petstore-promisekit.sh
Executable file
@@ -0,0 +1,42 @@
|
||||
#!/bin/sh
|
||||
|
||||
SCRIPT="$0"
|
||||
echo "# START SCRIPT: $SCRIPT"
|
||||
|
||||
while [ -h "$SCRIPT" ] ; do
|
||||
ls=`ls -ld "$SCRIPT"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
SCRIPT="$link"
|
||||
else
|
||||
SCRIPT=`dirname "$SCRIPT"`/"$link"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ ! -d "${APP_DIR}" ]; then
|
||||
APP_DIR=`dirname "$SCRIPT"`/..
|
||||
APP_DIR=`cd "${APP_DIR}"; pwd`
|
||||
fi
|
||||
|
||||
executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
|
||||
|
||||
if [ ! -f "$executable" ]
|
||||
then
|
||||
mvn -B clean package
|
||||
fi
|
||||
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/swift5 -i modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml -g swift5 -c ./bin/swift5-petstore-promisekit.json -o samples/client/petstore/swift5/promisekitLibrary --generate-alias-as-model $@"
|
||||
|
||||
java $JAVA_OPTS -jar $executable $ags
|
||||
|
||||
if type "xcodegen" > /dev/null 2>&1; then
|
||||
cd samples/client/petstore/swift5/promisekitLibrary
|
||||
xcodegen generate
|
||||
fi
|
||||
|
||||
if type "swiftlint" > /dev/null 2>&1; then
|
||||
cd samples/client/petstore/swift5/promisekitLibrary
|
||||
swiftlint autocorrect
|
||||
fi
|
||||
7
bin/swift5-petstore-result.json
Normal file
7
bin/swift5-petstore-result.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"podSummary": "PetstoreClient",
|
||||
"podHomepage": "https://github.com/openapitools/openapi-generator",
|
||||
"podAuthors": "",
|
||||
"projectName": "PetstoreClient",
|
||||
"responseAs": "Result"
|
||||
}
|
||||
@@ -22,11 +22,21 @@ executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
|
||||
|
||||
if [ ! -f "$executable" ]
|
||||
then
|
||||
mvn clean package
|
||||
mvn -B clean package
|
||||
fi
|
||||
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
ags="generate -i modules/openapi-generator/src/test/resources/3_0/petstore.yaml -g nodejs-server-deprecated --additional-properties=googleCloudFunctions=true -o samples/server/petstore/nodejs-google-cloud-functions -Dservice $@"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/swift5 -i modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml -g swift5 -c ./bin/swift5-petstore-result.json -o samples/client/petstore/swift5/resultLibrary --generate-alias-as-model $@"
|
||||
|
||||
java $JAVA_OPTS -jar $executable $ags
|
||||
|
||||
if type "xcodegen" > /dev/null 2>&1; then
|
||||
cd samples/client/petstore/swift5/resultLibrary
|
||||
xcodegen generate
|
||||
fi
|
||||
|
||||
if type "swiftlint" > /dev/null 2>&1; then
|
||||
cd samples/client/petstore/swift5/resultLibrary
|
||||
swiftlint autocorrect
|
||||
fi
|
||||
7
bin/swift5-petstore-rxswift.json
Normal file
7
bin/swift5-petstore-rxswift.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"podSummary": "PetstoreClient",
|
||||
"podHomepage": "https://github.com/openapitools/openapi-generator",
|
||||
"podAuthors": "",
|
||||
"projectName": "PetstoreClient",
|
||||
"responseAs": "RxSwift"
|
||||
}
|
||||
42
bin/swift5-petstore-rxswift.sh
Executable file
42
bin/swift5-petstore-rxswift.sh
Executable file
@@ -0,0 +1,42 @@
|
||||
#!/bin/sh
|
||||
|
||||
SCRIPT="$0"
|
||||
echo "# START SCRIPT: $SCRIPT"
|
||||
|
||||
while [ -h "$SCRIPT" ] ; do
|
||||
ls=`ls -ld "$SCRIPT"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
SCRIPT="$link"
|
||||
else
|
||||
SCRIPT=`dirname "$SCRIPT"`/"$link"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ ! -d "${APP_DIR}" ]; then
|
||||
APP_DIR=`dirname "$SCRIPT"`/..
|
||||
APP_DIR=`cd "${APP_DIR}"; pwd`
|
||||
fi
|
||||
|
||||
executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
|
||||
|
||||
if [ ! -f "$executable" ]
|
||||
then
|
||||
mvn -B clean package
|
||||
fi
|
||||
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/swift5 -i modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml -g swift5 -c ./bin/swift5-petstore-rxswift.json -o samples/client/petstore/swift5/rxswiftLibrary --generate-alias-as-model $@"
|
||||
|
||||
java $JAVA_OPTS -jar $executable $ags
|
||||
|
||||
if type "xcodegen" > /dev/null 2>&1; then
|
||||
cd samples/client/petstore/swift5/rxswiftLibrary
|
||||
xcodegen generate
|
||||
fi
|
||||
|
||||
if type "swiftlint" > /dev/null 2>&1; then
|
||||
cd samples/client/petstore/swift5/rxswiftLibrary
|
||||
swiftlint autocorrect
|
||||
fi
|
||||
7
bin/swift5-petstore-urlsession.json
Normal file
7
bin/swift5-petstore-urlsession.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"podSummary": "PetstoreClient",
|
||||
"podHomepage": "https://github.com/openapitools/openapi-generator",
|
||||
"podAuthors": "",
|
||||
"projectName": "PetstoreClient",
|
||||
"library": "urlsession"
|
||||
}
|
||||
42
bin/swift5-petstore-urlsession.sh
Executable file
42
bin/swift5-petstore-urlsession.sh
Executable file
@@ -0,0 +1,42 @@
|
||||
#!/bin/sh
|
||||
|
||||
SCRIPT="$0"
|
||||
echo "# START SCRIPT: $SCRIPT"
|
||||
|
||||
while [ -h "$SCRIPT" ] ; do
|
||||
ls=`ls -ld "$SCRIPT"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
SCRIPT="$link"
|
||||
else
|
||||
SCRIPT=`dirname "$SCRIPT"`/"$link"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ ! -d "${APP_DIR}" ]; then
|
||||
APP_DIR=`dirname "$SCRIPT"`/..
|
||||
APP_DIR=`cd "${APP_DIR}"; pwd`
|
||||
fi
|
||||
|
||||
executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
|
||||
|
||||
if [ ! -f "$executable" ]
|
||||
then
|
||||
mvn -B clean package
|
||||
fi
|
||||
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/swift5 -i modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml -g swift5 -c ./bin/swift5-petstore-urlsession.json -o samples/client/petstore/swift5/urlsessionLibrary --generate-alias-as-model $@"
|
||||
|
||||
java $JAVA_OPTS -jar $executable $ags
|
||||
|
||||
if type "xcodegen" > /dev/null 2>&1; then
|
||||
cd samples/client/petstore/swift5/urlsessionLibrary
|
||||
xcodegen generate
|
||||
fi
|
||||
|
||||
if type "swiftlint" > /dev/null 2>&1; then
|
||||
cd samples/client/petstore/swift5/urlsessionLibrary
|
||||
swiftlint autocorrect
|
||||
fi
|
||||
6
bin/swift5-petstore.json
Normal file
6
bin/swift5-petstore.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"podSummary": "PetstoreClient",
|
||||
"podHomepage": "https://github.com/openapitools/openapi-generator",
|
||||
"podAuthors": "",
|
||||
"projectName": "PetstoreClient"
|
||||
}
|
||||
@@ -27,6 +27,16 @@ fi
|
||||
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/nodejs -i modules/openapi-generator/src/test/resources/2_0/petstore.yaml -g nodejs-server-deprecated -o samples/server/petstore/nodejs -Dservice $@"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/swift5 -i modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml -g swift5 -c ./bin/swift5-petstore.json -o samples/client/petstore/swift5/default --generate-alias-as-model $@"
|
||||
|
||||
java $JAVA_OPTS -jar $executable $ags
|
||||
|
||||
if type "xcodegen" > /dev/null 2>&1; then
|
||||
cd samples/client/petstore/swift5/default
|
||||
xcodegen generate
|
||||
fi
|
||||
|
||||
if type "swiftlint" > /dev/null 2>&1; then
|
||||
cd samples/client/petstore/swift5/default
|
||||
swiftlint autocorrect
|
||||
fi
|
||||
6
bin/swift5-test.json
Normal file
6
bin/swift5-test.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"podSummary": "TestClient",
|
||||
"podHomepage": "https://github.com/openapitools/openapi-generator",
|
||||
"podAuthors": "",
|
||||
"projectName": "TestClient"
|
||||
}
|
||||
@@ -27,6 +27,16 @@ fi
|
||||
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
ags="generate -i modules/openapi-generator/src/test/resources/2_0/petstore.yaml -g nodejs-server-deprecated --additional-properties=googleCloudFunctions=true -o samples/server/petstore/nodejs-google-cloud-functions -Dservice $@"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/swift5 -i modules/openapi-generator/src/test/resources/2_0/swift5Test.json -g swift5 -c ./bin/swift5-test.json -o samples/client/test/swift5/default --generate-alias-as-model $@"
|
||||
|
||||
java $JAVA_OPTS -jar $executable $ags
|
||||
|
||||
if type "xcodegen" > /dev/null 2>&1; then
|
||||
cd samples/client/test/swift5/default
|
||||
xcodegen generate
|
||||
fi
|
||||
|
||||
if type "swiftlint" > /dev/null 2>&1; then
|
||||
cd samples/client/test/swift5/default
|
||||
swiftlint autocorrect
|
||||
fi
|
||||
@@ -45,7 +45,7 @@ declare -a samples=(
|
||||
"${root}/bin/php-symfony-petstore.sh"
|
||||
"${root}/bin/php-lumen-petstore-server.sh"
|
||||
"${root}/bin/php-slim-server-petstore.sh"
|
||||
"${root}/bin/php-slim4-server-petstore.sh"
|
||||
#"${root}/bin/php-slim4-server-petstore.sh"
|
||||
"${root}/bin/php-ze-ph-petstore-server.sh"
|
||||
"${root}/bin/openapi3/php-petstore.sh"
|
||||
"${root}/bin/typescript-angularjs-petstore.sh"
|
||||
|
||||
@@ -14,4 +14,4 @@ fi
|
||||
|
||||
executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
|
||||
|
||||
java -jar ${executable} config-help -g "${NAME}" --named-header --format markdown --markdown-header -o "docs/generators/${NAME}.md"
|
||||
java -jar ${executable} config-help -g "${NAME}" --full-details --named-header --format markdown --markdown-header -o "docs/generators/${NAME}.md"
|
||||
|
||||
@@ -5,6 +5,6 @@ If Not Exist %executable% (
|
||||
)
|
||||
|
||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
||||
set ags=generate -t modules\openapi-generator\src\main\resources\Java\libraries\feign -i modules\openapi-generator\src\test\resources\2_0\petstore-with-fake-endpoints-models-for-testing.yaml -g java -c bin\java-petstore-feign-9x.json -o samples\client\petstore\java\feign --additional-properties hideGenerationTimestamp=true,booleanGetterPrefix=is
|
||||
set ags=generate -t modules\openapi-generator\src\main\resources\Java\libraries\feign -i modules\openapi-generator\src\test\resources\2_0\petstore-with-fake-endpoints-models-for-testing.yaml -g java -c bin\java-petstore-feign-9x.json -o samples\client\petstore\java\feign --additional-properties hideGenerationTimestamp=true,booleanGetterPrefix=is,additionalModelTypeAnnotations=@javax.annotation.concurrent.Immutable
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
||||
|
||||
10
bin/windows/java-petstore-microprofile.bat
Executable file
10
bin/windows/java-petstore-microprofile.bat
Executable file
@@ -0,0 +1,10 @@
|
||||
set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
|
||||
|
||||
If Not Exist %executable% (
|
||||
mvn clean package
|
||||
)
|
||||
|
||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M -DloggerPath=conf/log4j.properties
|
||||
set ags=generate --artifact-id "microprofile-rest-client" -i modules\openapi-generator\src\test\resources\2_0\petstore.yaml -g java --library microprofile -o samples\client\petstore\java\microprofile-rest-client
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
||||
@@ -1,8 +1,11 @@
|
||||
call powershell -command "& '%~dp0\kotlin-client-gson.bat'"
|
||||
call powershell -command "& '%~dp0\kotlin-client-moshi-codegen.bat'"
|
||||
call powershell -command "& '%~dp0\kotlin-client-nonpublic.bat'"
|
||||
call powershell -command "& '%~dp0\kotlin-client-okhttp3.bat'"
|
||||
call powershell -command "& '%~dp0\kotlin-client-petstore-multiplatform.bat'"
|
||||
call powershell -command "& '%~dp0\kotlin-client-petstore.bat'"
|
||||
call powershell -command "& '%~dp0\kotlin-client-string.bat'"
|
||||
call powershell -command "& '%~dp0\kotlin-client-threetenbp.bat'"
|
||||
call powershell -command "& '%~dp0\kotlin-client-nullable.bat'"
|
||||
call powershell -command "& '%~dp0\kotlin-client-nullable.bat'"
|
||||
call powershell -command "& '%~dp0\kotlin-client-json-request-date.bat'"
|
||||
call powershell -command "& '%~dp0\kotlin-client-retrofit2.bat'"
|
||||
10
bin/windows/kotlin-client-json-request-date.bat
Normal file
10
bin/windows/kotlin-client-json-request-date.bat
Normal file
@@ -0,0 +1,10 @@
|
||||
set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
|
||||
|
||||
If Not Exist %executable% (
|
||||
mvn clean package
|
||||
)
|
||||
|
||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M -DloggerPath=conf/log4j.properties
|
||||
set ags=generate --artifact-id "kotlin-petstore-json-request-date" -i modules\openapi-generator\src\test\resources\2_0\petstore-with-date-field.yaml -g kotlin --additional-properties requestDateConverter=toJson -o samples\client\petstore\kotlin-json-request-date
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
||||
10
bin/windows/kotlin-client-moshi-codegen.bat
Normal file
10
bin/windows/kotlin-client-moshi-codegen.bat
Normal file
@@ -0,0 +1,10 @@
|
||||
set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
|
||||
|
||||
If Not Exist %executable% (
|
||||
mvn clean package
|
||||
)
|
||||
|
||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M -DloggerPath=conf/log4j.properties
|
||||
set ags=generate --artifact-id "kotlin-petstore-moshi-codegen" -i modules\openapi-generator\src\test\resources\2_0\petstore.yaml -g kotlin --additional-properties serializationLibrary=moshi,moshiCodeGen=true -o samples\client\petstore\kotlin-moshi-codegen
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
||||
10
bin/windows/kotlin-client-retrofit2.bat
Normal file
10
bin/windows/kotlin-client-retrofit2.bat
Normal file
@@ -0,0 +1,10 @@
|
||||
set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
|
||||
|
||||
If Not Exist %executable% (
|
||||
mvn clean package
|
||||
)
|
||||
|
||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M -DloggerPath=conf/log4j.properties
|
||||
set ags=generate --artifact-id "kotlin-petstore-retrofit2" -i modules\openapi-generator\src\test\resources\2_0\petstore.yaml -g kotlin --library jvm-retrofit2 -o samples\client\petstore\kotlin-retrofit2
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
||||
@@ -5,6 +5,6 @@ If Not Exist %executable% (
|
||||
)
|
||||
|
||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M -DloggerPath=conf/log4j.properties
|
||||
set ags=generate -i modules\openapi-generator\src\test\resources\2_0\petstore.yaml -g kotlin --artifact-id "kotlin-petstore-string" --additional-properties dateLibrary=string,serializableModel=true -o samples\client\petstore\kotlin-string
|
||||
set ags=generate -i modules\openapi-generator\src\test\resources\2_0\petstore.yaml -g kotlin --artifact-id "kotlin-petstore-string" --additional-properties dateLibrary=string,serializableModel=true,sortParamsByRequiredFlag=false,sortModelPropertiesByRequiredFlag=false -o samples\client\petstore\kotlin-string
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
||||
|
||||
10
bin/windows/markdown-documentation-petstore.bat
Normal file
10
bin/windows/markdown-documentation-petstore.bat
Normal file
@@ -0,0 +1,10 @@
|
||||
set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
|
||||
|
||||
If Not Exist %executable% (
|
||||
mvn clean package
|
||||
)
|
||||
|
||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M -DloggerPath=conf/log4j.properties
|
||||
set ags=generate --artifact-id "markdown-petstore-documentation" -i modules\openapi-generator\src\test\resources\2_0\petstore.yaml -g markdown -o samples\documentation\petstore\markdown
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
||||
2
bin/windows/swift5-all.bat
Executable file
2
bin/windows/swift5-all.bat
Executable file
@@ -0,0 +1,2 @@
|
||||
call .\bin\windows\swift5-petstore-all.bat
|
||||
call .\bin\windows\swift5-test.bat
|
||||
10
bin/windows/swift5-petstore-alamofire.bat
Executable file
10
bin/windows/swift5-petstore-alamofire.bat
Executable file
@@ -0,0 +1,10 @@
|
||||
set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
|
||||
|
||||
If Not Exist %executable% (
|
||||
mvn clean package
|
||||
)
|
||||
|
||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
||||
set ags=generate -i modules\openapi-generator\src\test\resources\2_0\swift\petstore-with-fake-endpoints-models-for-testing.yaml -g swift5 -c bin\swift5-petstore-alamofire.json -o samples\client\petstore\swift5\alamofireLibrary
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
||||
9
bin/windows/swift5-petstore-all.bat
Executable file
9
bin/windows/swift5-petstore-all.bat
Executable file
@@ -0,0 +1,9 @@
|
||||
call .\bin\windows\swift5-petstore.bat
|
||||
call .\bin\windows\swift5-petstore-promisekit.bat
|
||||
call .\bin\windows\swift5-petstore-result.bat
|
||||
call .\bin\windows\swift5-petstore-rxswift.bat
|
||||
call .\bin\windows\swift5-petstore-objcCompatible.bat
|
||||
call .\bin\windows\swift5-petstore-nonPublicApi.bat
|
||||
call .\bin\windows\swift5-petstore-urlsession.bat
|
||||
call .\bin\windows\swift5-petstore-alamofire.bat
|
||||
call .\bin\windows\swift5-petstore-combine.bat
|
||||
10
bin/windows/swift5-petstore-combine.bat
Executable file
10
bin/windows/swift5-petstore-combine.bat
Executable file
@@ -0,0 +1,10 @@
|
||||
set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
|
||||
|
||||
If Not Exist %executable% (
|
||||
mvn clean package
|
||||
)
|
||||
|
||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
||||
set ags=generate -i modules\openapi-generator\src\test\resources\2_0\swift\petstore-with-fake-endpoints-models-for-testing.yaml -g swift5 -c bin\swift5-petstore-combine.json -o samples\client\petstore\swift5\combineLibrary
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
||||
10
bin/windows/swift5-petstore-nonPublicApi.bat
Executable file
10
bin/windows/swift5-petstore-nonPublicApi.bat
Executable file
@@ -0,0 +1,10 @@
|
||||
set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
|
||||
|
||||
If Not Exist %executable% (
|
||||
mvn clean package
|
||||
)
|
||||
|
||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
||||
set ags=generate -i modules\openapi-generator\src\test\resources\2_0\swift\petstore-with-fake-endpoints-models-for-testing.yaml -g swift5 -c bin\swift5-petstore-nonPublicApi.json -o samples\client\petstore\swift5\nonPublicApi
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
||||
10
bin/windows/swift5-petstore-objcCompatible.bat
Executable file
10
bin/windows/swift5-petstore-objcCompatible.bat
Executable file
@@ -0,0 +1,10 @@
|
||||
set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
|
||||
|
||||
If Not Exist %executable% (
|
||||
mvn clean package
|
||||
)
|
||||
|
||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
||||
set ags=generate -i modules\openapi-generator\src\test\resources\2_0\swift\petstore-with-fake-endpoints-models-for-testing.yaml -g swift5 -c bin\swift5-petstore-objcCompatible.json -o samples\client\petstore\swift5\objcCompatible
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
||||
10
bin/windows/swift5-petstore-promisekit.bat
Executable file
10
bin/windows/swift5-petstore-promisekit.bat
Executable file
@@ -0,0 +1,10 @@
|
||||
set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
|
||||
|
||||
If Not Exist %executable% (
|
||||
mvn clean package
|
||||
)
|
||||
|
||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
||||
set ags=generate -i modules\openapi-generator\src\test\resources\2_0\swift\petstore-with-fake-endpoints-models-for-testing.yaml -g swift5 -c bin\swift5-petstore-promisekit.json -o samples\client\petstore\swift5\promisekitLibrary
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
||||
10
bin/windows/swift5-petstore-result.bat
Executable file
10
bin/windows/swift5-petstore-result.bat
Executable file
@@ -0,0 +1,10 @@
|
||||
set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
|
||||
|
||||
If Not Exist %executable% (
|
||||
mvn clean package
|
||||
)
|
||||
|
||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
||||
set ags=generate -i modules\openapi-generator\src\test\resources\2_0\swift\petstore-with-fake-endpoints-models-for-testing.yaml -g swift5 -c bin\swift5-petstore-result.json -o samples\client\petstore\swift5\resultLibrary
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
||||
10
bin/windows/swift5-petstore-rxswift.bat
Executable file
10
bin/windows/swift5-petstore-rxswift.bat
Executable file
@@ -0,0 +1,10 @@
|
||||
set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
|
||||
|
||||
If Not Exist %executable% (
|
||||
mvn clean package
|
||||
)
|
||||
|
||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
||||
set ags=generate -i modules\openapi-generator\src\test\resources\2_0\swift\petstore-with-fake-endpoints-models-for-testing.yaml -g swift5 -c bin\swift5-petstore-rxswift.json -o samples\client\petstore\swift5\rxswiftLibrary
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
||||
10
bin/windows/swift5-petstore-urlSession.bat
Executable file
10
bin/windows/swift5-petstore-urlSession.bat
Executable file
@@ -0,0 +1,10 @@
|
||||
set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
|
||||
|
||||
If Not Exist %executable% (
|
||||
mvn clean package
|
||||
)
|
||||
|
||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
||||
set ags=generate -i modules\openapi-generator\src\test\resources\2_0\swift\petstore-with-fake-endpoints-models-for-testing.yaml -g swift5 -c bin\swift5-petstore-urlsession.json -o samples\client\petstore\swift5\urlsessionLibrary
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
||||
10
bin/windows/swift5-petstore.bat
Executable file
10
bin/windows/swift5-petstore.bat
Executable file
@@ -0,0 +1,10 @@
|
||||
set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
|
||||
|
||||
If Not Exist %executable% (
|
||||
mvn clean package
|
||||
)
|
||||
|
||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
||||
set ags=generate -i modules\openapi-generator\src\test\resources\2_0\petstore-with-fake-endpoints-models-for-testing.yaml -g swift5 -o samples\client\petstore\swift5\default
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
||||
10
bin/windows/swift5-test.bat
Executable file
10
bin/windows/swift5-test.bat
Executable file
@@ -0,0 +1,10 @@
|
||||
set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
|
||||
|
||||
If Not Exist %executable% (
|
||||
mvn clean package
|
||||
)
|
||||
|
||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
||||
set ags=generate -i modules\openapi-generator\src\test\resources\2_0\swift5Test.json -g swift5 -c bin\swift5-test.json -o samples\client\test\swift5\default
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
||||
@@ -7,6 +7,6 @@ If Not Exist %executable% (
|
||||
)
|
||||
|
||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
||||
set ags=generate -i modules\openapi-generator\src\test\resources\2_0\petstore.yaml -g typescript-fetch -o samples\client\petstore\typescript-fetch\builds\prefix-parameter-interfaces --additional-properties prefixParameterInterfaces=true
|
||||
set ags=generate -i modules\openapi-generator\src\test\resources\2_0\petstore.yaml -g typescript-fetch -c bin\typescript-fetch-petstore-prefix-parameter-interfaces.json -o samples\client\petstore\typescript-fetch\builds\prefix-parameter-interfaces
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
||||
|
||||
@@ -65,7 +65,7 @@ Code change should conform to the programming style guide of the respective lang
|
||||
- Go: https://github.com/golang/go/wiki/CodeReviewComments
|
||||
- ObjC: https://github.com/NYTimes/objective-c-style-guide
|
||||
- Perl: http://perldoc.perl.org/perlstyle.html
|
||||
- PHP: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
|
||||
- PHP: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-12-extended-coding-style-guide.md
|
||||
- PowerShell: https://msdn.microsoft.com/en-us/library/dd878270(v=vs.85).aspx
|
||||
- Python: https://www.python.org/dev/peps/pep-0008/
|
||||
- R: https://google.github.io/styleguide/Rguide.xml
|
||||
@@ -105,5 +105,5 @@ To start the CI tests, you can run `mvn verify -Psamples` (assuming you've all t
|
||||
- Make sure test cases passed after the change (one way is to leverage https://travis-ci.org/ to run the CI tests)
|
||||
- File a PR with meaningful title, description and commit messages.
|
||||
- Recommended git settings
|
||||
- `git config --global core.autocrlf input` to tell Git convert CRLF to LF on commit but not the other way around
|
||||
- `git config core.autocrlf input` to tell Git convert CRLF to LF on commit but not the other way around
|
||||
- To close an issue (e.g. issue 1542) automatically after a PR is merged, use keywords "fix", "close", "resolve" in the PR description, e.g. `fix #1542`. (Ref: [closing issues using keywords](https://help.github.com/articles/closing-issues-using-keywords/))
|
||||
|
||||
@@ -57,6 +57,7 @@ The following generators are available:
|
||||
* [swift2-deprecated (deprecated)](generators/swift2-deprecated.md)
|
||||
* [swift3-deprecated (deprecated)](generators/swift3-deprecated.md)
|
||||
* [swift4](generators/swift4.md)
|
||||
* [swift5 (beta)](generators/swift5.md)
|
||||
* [typescript-angular](generators/typescript-angular.md)
|
||||
* [typescript-angularjs](generators/typescript-angularjs.md)
|
||||
* [typescript-aurelia](generators/typescript-aurelia.md)
|
||||
@@ -128,6 +129,7 @@ The following generators are available:
|
||||
* [dynamic-html](generators/dynamic-html.md)
|
||||
* [html](generators/html.md)
|
||||
* [html2](generators/html2.md)
|
||||
* [markdown (beta)](generators/markdown.md)
|
||||
* [openapi](generators/openapi.md)
|
||||
* [openapi-yaml](generators/openapi-yaml.md)
|
||||
|
||||
|
||||
@@ -6,7 +6,108 @@ sidebar_label: ada-server
|
||||
| Option | Description | Values | Default |
|
||||
| ------ | ----------- | ------ | ------- |
|
||||
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|
||||
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|
||||
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|
||||
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|
||||
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|
||||
|projectName|GNAT project name| |defaultProject|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>Integer</li>
|
||||
<li>boolean</li>
|
||||
<li>Character</li>
|
||||
<li>double</li>
|
||||
<li>integer</li>
|
||||
<li>Boolean</li>
|
||||
<li>float</li>
|
||||
<li>long</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>exception</li>
|
||||
<li>synchronized</li>
|
||||
<li>constant</li>
|
||||
<li>mod</li>
|
||||
<li>select</li>
|
||||
<li>declare</li>
|
||||
<li>separate</li>
|
||||
<li>use</li>
|
||||
<li>do</li>
|
||||
<li>elsif</li>
|
||||
<li>body</li>
|
||||
<li>type</li>
|
||||
<li>while</li>
|
||||
<li>when</li>
|
||||
<li>aliased</li>
|
||||
<li>protected</li>
|
||||
<li>tagged</li>
|
||||
<li>else</li>
|
||||
<li>loop</li>
|
||||
<li>function</li>
|
||||
<li>record</li>
|
||||
<li>raise</li>
|
||||
<li>rem</li>
|
||||
<li>if</li>
|
||||
<li>case</li>
|
||||
<li>others</li>
|
||||
<li>all</li>
|
||||
<li>new</li>
|
||||
<li>package</li>
|
||||
<li>in</li>
|
||||
<li>is</li>
|
||||
<li>then</li>
|
||||
<li>pragma</li>
|
||||
<li>accept</li>
|
||||
<li>entry</li>
|
||||
<li>exit</li>
|
||||
<li>at</li>
|
||||
<li>delay</li>
|
||||
<li>task</li>
|
||||
<li>null</li>
|
||||
<li>abort</li>
|
||||
<li>overriding</li>
|
||||
<li>terminate</li>
|
||||
<li>begin</li>
|
||||
<li>some</li>
|
||||
<li>private</li>
|
||||
<li>access</li>
|
||||
<li>for</li>
|
||||
<li>range</li>
|
||||
<li>interface</li>
|
||||
<li>out</li>
|
||||
<li>not</li>
|
||||
<li>goto</li>
|
||||
<li>array</li>
|
||||
<li>subtype</li>
|
||||
<li>and</li>
|
||||
<li>of</li>
|
||||
<li>end</li>
|
||||
<li>xor</li>
|
||||
<li>or</li>
|
||||
<li>limited</li>
|
||||
<li>abstract</li>
|
||||
<li>procedure</li>
|
||||
<li>reverse</li>
|
||||
<li>generic</li>
|
||||
<li>renames</li>
|
||||
<li>requeue</li>
|
||||
<li>with</li>
|
||||
<li>abs</li>
|
||||
<li>digits</li>
|
||||
<li>until</li>
|
||||
<li>return</li>
|
||||
</ul>
|
||||
|
||||
@@ -6,7 +6,108 @@ sidebar_label: ada
|
||||
| Option | Description | Values | Default |
|
||||
| ------ | ----------- | ------ | ------- |
|
||||
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|
||||
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|
||||
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|
||||
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|
||||
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|
||||
|projectName|GNAT project name| |defaultProject|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>Integer</li>
|
||||
<li>boolean</li>
|
||||
<li>Character</li>
|
||||
<li>double</li>
|
||||
<li>integer</li>
|
||||
<li>Boolean</li>
|
||||
<li>float</li>
|
||||
<li>long</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>exception</li>
|
||||
<li>synchronized</li>
|
||||
<li>constant</li>
|
||||
<li>mod</li>
|
||||
<li>select</li>
|
||||
<li>declare</li>
|
||||
<li>separate</li>
|
||||
<li>use</li>
|
||||
<li>do</li>
|
||||
<li>elsif</li>
|
||||
<li>body</li>
|
||||
<li>type</li>
|
||||
<li>while</li>
|
||||
<li>when</li>
|
||||
<li>aliased</li>
|
||||
<li>protected</li>
|
||||
<li>tagged</li>
|
||||
<li>else</li>
|
||||
<li>loop</li>
|
||||
<li>function</li>
|
||||
<li>record</li>
|
||||
<li>raise</li>
|
||||
<li>rem</li>
|
||||
<li>if</li>
|
||||
<li>case</li>
|
||||
<li>others</li>
|
||||
<li>all</li>
|
||||
<li>new</li>
|
||||
<li>package</li>
|
||||
<li>in</li>
|
||||
<li>is</li>
|
||||
<li>then</li>
|
||||
<li>pragma</li>
|
||||
<li>accept</li>
|
||||
<li>entry</li>
|
||||
<li>exit</li>
|
||||
<li>at</li>
|
||||
<li>delay</li>
|
||||
<li>task</li>
|
||||
<li>null</li>
|
||||
<li>abort</li>
|
||||
<li>overriding</li>
|
||||
<li>terminate</li>
|
||||
<li>begin</li>
|
||||
<li>some</li>
|
||||
<li>private</li>
|
||||
<li>access</li>
|
||||
<li>for</li>
|
||||
<li>range</li>
|
||||
<li>interface</li>
|
||||
<li>out</li>
|
||||
<li>not</li>
|
||||
<li>goto</li>
|
||||
<li>array</li>
|
||||
<li>subtype</li>
|
||||
<li>and</li>
|
||||
<li>of</li>
|
||||
<li>end</li>
|
||||
<li>xor</li>
|
||||
<li>or</li>
|
||||
<li>limited</li>
|
||||
<li>abstract</li>
|
||||
<li>procedure</li>
|
||||
<li>reverse</li>
|
||||
<li>generic</li>
|
||||
<li>renames</li>
|
||||
<li>requeue</li>
|
||||
<li>with</li>
|
||||
<li>abs</li>
|
||||
<li>digits</li>
|
||||
<li>until</li>
|
||||
<li>return</li>
|
||||
</ul>
|
||||
|
||||
@@ -6,6 +6,7 @@ sidebar_label: android
|
||||
| Option | Description | Values | Default |
|
||||
| ------ | ----------- | ------ | ------- |
|
||||
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|
||||
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|
||||
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|
||||
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|
||||
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|
||||
@@ -22,3 +23,114 @@ sidebar_label: android
|
||||
|androidBuildToolsVersion|buildToolsVersion version for use in the generated build.gradle| |null|
|
||||
|serializableModel|boolean - toggle "implements Serializable" for generated models| |false|
|
||||
|library|library template (sub-template) to use|<dl><dt>**volley**</dt><dd>HTTP client: Volley 1.0.19 (default)</dd><dt>**httpclient**</dt><dd>HTTP client: Apache HttpClient 4.3.6. JSON processing: Gson 2.3.1. IMPORTANT: Android client using HttpClient is not actively maintained and will be depecreated in the next major release.</dd><dl>|null|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|LocalDateTime|org.joda.time.*|
|
||||
|Set|java.util.*|
|
||||
|LocalTime|org.joda.time.*|
|
||||
|HashMap|java.util.HashMap|
|
||||
|ArrayList|java.util.ArrayList|
|
||||
|URI|java.net.URI|
|
||||
|Timestamp|java.sql.Timestamp|
|
||||
|LocalDate|org.joda.time.*|
|
||||
|BigDecimal|java.math.BigDecimal|
|
||||
|Date|java.util.Date|
|
||||
|DateTime|org.joda.time.*|
|
||||
|Array|java.util.List|
|
||||
|List|java.util.*|
|
||||
|UUID|java.util.UUID|
|
||||
|File|java.io.File|
|
||||
|Map|java.util.Map|
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|array|ArrayList|
|
||||
|map|HashMap|
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>Integer</li>
|
||||
<li>byte[]</li>
|
||||
<li>Float</li>
|
||||
<li>boolean</li>
|
||||
<li>Long</li>
|
||||
<li>Object</li>
|
||||
<li>String</li>
|
||||
<li>Boolean</li>
|
||||
<li>Double</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>synchronized</li>
|
||||
<li>basepath</li>
|
||||
<li>do</li>
|
||||
<li>float</li>
|
||||
<li>while</li>
|
||||
<li>localvarpath</li>
|
||||
<li>protected</li>
|
||||
<li>continue</li>
|
||||
<li>else</li>
|
||||
<li>localvarqueryparams</li>
|
||||
<li>catch</li>
|
||||
<li>if</li>
|
||||
<li>case</li>
|
||||
<li>new</li>
|
||||
<li>package</li>
|
||||
<li>static</li>
|
||||
<li>void</li>
|
||||
<li>double</li>
|
||||
<li>byte</li>
|
||||
<li>finally</li>
|
||||
<li>this</li>
|
||||
<li>strictfp</li>
|
||||
<li>throws</li>
|
||||
<li>enum</li>
|
||||
<li>extends</li>
|
||||
<li>null</li>
|
||||
<li>transient</li>
|
||||
<li>final</li>
|
||||
<li>try</li>
|
||||
<li>localvarbuilder</li>
|
||||
<li>object</li>
|
||||
<li>localvarcontenttypes</li>
|
||||
<li>implements</li>
|
||||
<li>private</li>
|
||||
<li>import</li>
|
||||
<li>const</li>
|
||||
<li>for</li>
|
||||
<li>interface</li>
|
||||
<li>long</li>
|
||||
<li>switch</li>
|
||||
<li>default</li>
|
||||
<li>goto</li>
|
||||
<li>public</li>
|
||||
<li>localvarheaderparams</li>
|
||||
<li>native</li>
|
||||
<li>localvarcontenttype</li>
|
||||
<li>apiinvoker</li>
|
||||
<li>assert</li>
|
||||
<li>class</li>
|
||||
<li>localvarformparams</li>
|
||||
<li>break</li>
|
||||
<li>localvarresponse</li>
|
||||
<li>volatile</li>
|
||||
<li>abstract</li>
|
||||
<li>int</li>
|
||||
<li>instanceof</li>
|
||||
<li>super</li>
|
||||
<li>boolean</li>
|
||||
<li>throw</li>
|
||||
<li>localvarpostbody</li>
|
||||
<li>char</li>
|
||||
<li>short</li>
|
||||
<li>authnames</li>
|
||||
<li>return</li>
|
||||
</ul>
|
||||
|
||||
@@ -6,7 +6,44 @@ sidebar_label: apache2
|
||||
| Option | Description | Values | Default |
|
||||
| ------ | ----------- | ------ | ------- |
|
||||
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|
||||
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|
||||
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|
||||
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|
||||
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|
||||
|userInfoPath|Path to the user and group files| |null|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|LocalDateTime|org.joda.time.*|
|
||||
|Set|java.util.*|
|
||||
|LocalTime|org.joda.time.*|
|
||||
|HashMap|java.util.HashMap|
|
||||
|ArrayList|java.util.ArrayList|
|
||||
|URI|java.net.URI|
|
||||
|Timestamp|java.sql.Timestamp|
|
||||
|LocalDate|org.joda.time.*|
|
||||
|BigDecimal|java.math.BigDecimal|
|
||||
|Date|java.util.Date|
|
||||
|DateTime|org.joda.time.*|
|
||||
|Array|java.util.List|
|
||||
|List|java.util.*|
|
||||
|UUID|java.util.UUID|
|
||||
|File|java.io.File|
|
||||
|Map|java.util.Map|
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"></ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"></ul>
|
||||
|
||||
@@ -6,6 +6,7 @@ sidebar_label: apex
|
||||
| Option | Description | Values | Default |
|
||||
| ------ | ----------- | ------ | ------- |
|
||||
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|
||||
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|
||||
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|
||||
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|
||||
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|
||||
@@ -13,3 +14,173 @@ sidebar_label: apex
|
||||
|apiVersion|The Metadata API version number to use for components in this package.| |null|
|
||||
|buildMethod|The build method for this package.| |null|
|
||||
|namedCredential|The named credential name for the HTTP callouts| |null|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|array|List|
|
||||
|map|Map|
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>Blob</li>
|
||||
<li>Time</li>
|
||||
<li>String</li>
|
||||
<li>Double</li>
|
||||
<li>Date</li>
|
||||
<li>Integer</li>
|
||||
<li>Decimal</li>
|
||||
<li>Long</li>
|
||||
<li>Object</li>
|
||||
<li>ID</li>
|
||||
<li>Boolean</li>
|
||||
<li>Datetime</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>exception</li>
|
||||
<li>select</li>
|
||||
<li>commit</li>
|
||||
<li>type</li>
|
||||
<li>when</li>
|
||||
<li>cast</li>
|
||||
<li>number</li>
|
||||
<li>protected</li>
|
||||
<li>else</li>
|
||||
<li>merge</li>
|
||||
<li>next_90_days</li>
|
||||
<li>catch</li>
|
||||
<li>join</li>
|
||||
<li>if</li>
|
||||
<li>case</li>
|
||||
<li>using</li>
|
||||
<li>having</li>
|
||||
<li>last_month</li>
|
||||
<li>in</li>
|
||||
<li>byte</li>
|
||||
<li>outer</li>
|
||||
<li>tomorrow</li>
|
||||
<li>upsert</li>
|
||||
<li>then</li>
|
||||
<li>enum</li>
|
||||
<li>exit</li>
|
||||
<li>as</li>
|
||||
<li>system</li>
|
||||
<li>bulk</li>
|
||||
<li>begin</li>
|
||||
<li>object</li>
|
||||
<li>global</li>
|
||||
<li>long</li>
|
||||
<li>next_week</li>
|
||||
<li>into</li>
|
||||
<li>default</li>
|
||||
<li>search</li>
|
||||
<li>goto</li>
|
||||
<li>by</li>
|
||||
<li>currency</li>
|
||||
<li>where</li>
|
||||
<li>override</li>
|
||||
<li>map</li>
|
||||
<li>rollback</li>
|
||||
<li>stat</li>
|
||||
<li>set</li>
|
||||
<li>break</li>
|
||||
<li>last_90_days</li>
|
||||
<li>abstract</li>
|
||||
<li>trigger</li>
|
||||
<li>this_week</li>
|
||||
<li>asc</li>
|
||||
<li>testmethod</li>
|
||||
<li>throw</li>
|
||||
<li>future</li>
|
||||
<li>returning</li>
|
||||
<li>char</li>
|
||||
<li>webservice</li>
|
||||
<li>return</li>
|
||||
<li>transaction</li>
|
||||
<li>date</li>
|
||||
<li>synchronized</li>
|
||||
<li>tolabel</li>
|
||||
<li>nulls</li>
|
||||
<li>next_month</li>
|
||||
<li>autonomous</li>
|
||||
<li>do</li>
|
||||
<li>float</li>
|
||||
<li>while</li>
|
||||
<li>datetime</li>
|
||||
<li>continue</li>
|
||||
<li>loop</li>
|
||||
<li>limit</li>
|
||||
<li>from</li>
|
||||
<li>export</li>
|
||||
<li>group</li>
|
||||
<li>new</li>
|
||||
<li>package</li>
|
||||
<li>static</li>
|
||||
<li>like</li>
|
||||
<li>finally</li>
|
||||
<li>this</li>
|
||||
<li>sort</li>
|
||||
<li>list</li>
|
||||
<li>inner</li>
|
||||
<li>pragma</li>
|
||||
<li>blob</li>
|
||||
<li>this_month</li>
|
||||
<li>convertcurrency</li>
|
||||
<li>extends</li>
|
||||
<li>null</li>
|
||||
<li>hint</li>
|
||||
<li>activate</li>
|
||||
<li>final</li>
|
||||
<li>true</li>
|
||||
<li>retrieve</li>
|
||||
<li>undelete</li>
|
||||
<li>try</li>
|
||||
<li>decimal</li>
|
||||
<li>collect</li>
|
||||
<li>next_n_days</li>
|
||||
<li>desc</li>
|
||||
<li>implements</li>
|
||||
<li>private</li>
|
||||
<li>virtual</li>
|
||||
<li>const</li>
|
||||
<li>import</li>
|
||||
<li>for</li>
|
||||
<li>insert</li>
|
||||
<li>update</li>
|
||||
<li>interface</li>
|
||||
<li>delete</li>
|
||||
<li>switch</li>
|
||||
<li>yesterday</li>
|
||||
<li>not</li>
|
||||
<li>public</li>
|
||||
<li>array</li>
|
||||
<li>parallel</li>
|
||||
<li>savepoint</li>
|
||||
<li>and</li>
|
||||
<li>of</li>
|
||||
<li>today</li>
|
||||
<li>end</li>
|
||||
<li>class</li>
|
||||
<li>on</li>
|
||||
<li>or</li>
|
||||
<li>bigdecimal</li>
|
||||
<li>false</li>
|
||||
<li>any</li>
|
||||
<li>int</li>
|
||||
<li>instanceof</li>
|
||||
<li>super</li>
|
||||
<li>last_n_days</li>
|
||||
<li>short</li>
|
||||
<li>time</li>
|
||||
<li>last_week</li>
|
||||
</ul>
|
||||
|
||||
@@ -6,6 +6,7 @@ sidebar_label: asciidoc
|
||||
| Option | Description | Values | Default |
|
||||
| ------ | ----------- | ------ | ------- |
|
||||
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|
||||
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|
||||
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|
||||
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|
||||
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|
||||
@@ -19,5 +20,26 @@ sidebar_label: asciidoc
|
||||
|groupId|groupId in generated pom.xml| |null|
|
||||
|artifactId|artifactId in generated pom.xml. This also becomes part of the generated library's filename| |null|
|
||||
|artifactVersion|artifact version in generated pom.xml. This also becomes part of the generated library's filename| |null|
|
||||
|snippetDir|path with includable markup snippets (e.g. test output generated by restdoc, default: .| |.|
|
||||
|specDir|path with includable markup spec files (e.g. handwritten additional docs, default: .| |..|
|
||||
|snippetDir|path with includable markup snippets (e.g. test output generated by restdoc, default: .)| |.|
|
||||
|specDir|path with includable markup spec files (e.g. handwritten additional docs, default: ..)| |..|
|
||||
|headerAttributes|generation of asciidoc header meta data attributes (set to false to suppress, default: true)| |true|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"></ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"></ul>
|
||||
|
||||
@@ -27,6 +27,8 @@ sidebar_label: aspnetcore
|
||||
|useNewtonsoft|Uses the Newtonsoft JSON library.| |true|
|
||||
|newtonsoftVersion|Version for Microsoft.AspNetCore.Mvc.NewtonsoftJson for ASP.NET Core 3.0+| |3.0.0-preview5-19227-01|
|
||||
|useDefaultRouting|Use default routing for the ASP.NET Core version. For 3.0 turn off default because it is not yet supported.| |true|
|
||||
|enumNameSuffix|Suffix that will be appended to all enum names.| |Enum|
|
||||
|enumValueSuffix|Suffix that will be appended to all enum values.| |Enum|
|
||||
|classModifier|Class Modifier can be empty, abstract| ||
|
||||
|operationModifier|Operation Modifier can be virtual, abstract or partial| |virtual|
|
||||
|buildTarget|Target to build an application or library| |program|
|
||||
@@ -34,3 +36,156 @@ sidebar_label: aspnetcore
|
||||
|operationIsAsync|Set methods to async or sync (default).| |false|
|
||||
|operationResultTask|Set methods result to Task<>.| |false|
|
||||
|modelClassModifier|Model Class Modifier can be nothing or partial| |partial|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|array|List|
|
||||
|list|List|
|
||||
|map|Dictionary|
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>int?</li>
|
||||
<li>Dictionary</li>
|
||||
<li>string</li>
|
||||
<li>bool</li>
|
||||
<li>DateTimeOffset?</li>
|
||||
<li>String</li>
|
||||
<li>Guid</li>
|
||||
<li>System.IO.Stream</li>
|
||||
<li>bool?</li>
|
||||
<li>float</li>
|
||||
<li>long</li>
|
||||
<li>DateTime</li>
|
||||
<li>Int32</li>
|
||||
<li>float?</li>
|
||||
<li>DateTime?</li>
|
||||
<li>List</li>
|
||||
<li>Boolean</li>
|
||||
<li>long?</li>
|
||||
<li>double</li>
|
||||
<li>Guid?</li>
|
||||
<li>DateTimeOffset</li>
|
||||
<li>Double</li>
|
||||
<li>int</li>
|
||||
<li>byte[]</li>
|
||||
<li>Float</li>
|
||||
<li>Int64</li>
|
||||
<li>double?</li>
|
||||
<li>ICollection</li>
|
||||
<li>Collection</li>
|
||||
<li>Object</li>
|
||||
<li>decimal?</li>
|
||||
<li>decimal</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>struct</li>
|
||||
<li>ushort</li>
|
||||
<li>localVarQueryParams</li>
|
||||
<li>protected</li>
|
||||
<li>readonly</li>
|
||||
<li>else</li>
|
||||
<li>lock</li>
|
||||
<li>localVarPathParams</li>
|
||||
<li>catch</li>
|
||||
<li>if</li>
|
||||
<li>case</li>
|
||||
<li>localVarHttpHeaderAccepts</li>
|
||||
<li>using</li>
|
||||
<li>localVarPostBody</li>
|
||||
<li>in</li>
|
||||
<li>byte</li>
|
||||
<li>double</li>
|
||||
<li>var</li>
|
||||
<li>is</li>
|
||||
<li>params</li>
|
||||
<li>enum</li>
|
||||
<li>explicit</li>
|
||||
<li>as</li>
|
||||
<li>object</li>
|
||||
<li>implicit</li>
|
||||
<li>internal</li>
|
||||
<li>localVarHttpHeaderAccept</li>
|
||||
<li>unsafe</li>
|
||||
<li>long</li>
|
||||
<li>out</li>
|
||||
<li>delegate</li>
|
||||
<li>default</li>
|
||||
<li>goto</li>
|
||||
<li>localVarHttpContentTypes</li>
|
||||
<li>localVarHttpContentType</li>
|
||||
<li>yield</li>
|
||||
<li>override</li>
|
||||
<li>event</li>
|
||||
<li>typeof</li>
|
||||
<li>break</li>
|
||||
<li>abstract</li>
|
||||
<li>uint</li>
|
||||
<li>throw</li>
|
||||
<li>char</li>
|
||||
<li>sbyte</li>
|
||||
<li>localVarFileParams</li>
|
||||
<li>return</li>
|
||||
<li>extern</li>
|
||||
<li>do</li>
|
||||
<li>float</li>
|
||||
<li>while</li>
|
||||
<li>operator</li>
|
||||
<li>ref</li>
|
||||
<li>continue</li>
|
||||
<li>checked</li>
|
||||
<li>dynamic</li>
|
||||
<li>Client</li>
|
||||
<li>new</li>
|
||||
<li>static</li>
|
||||
<li>void</li>
|
||||
<li>sizeof</li>
|
||||
<li>localVarResponse</li>
|
||||
<li>sealed</li>
|
||||
<li>finally</li>
|
||||
<li>this</li>
|
||||
<li>unchecked</li>
|
||||
<li>null</li>
|
||||
<li>localVarPath</li>
|
||||
<li>true</li>
|
||||
<li>fixed</li>
|
||||
<li>try</li>
|
||||
<li>decimal</li>
|
||||
<li>private</li>
|
||||
<li>virtual</li>
|
||||
<li>bool</li>
|
||||
<li>const</li>
|
||||
<li>string</li>
|
||||
<li>for</li>
|
||||
<li>interface</li>
|
||||
<li>switch</li>
|
||||
<li>foreach</li>
|
||||
<li>ulong</li>
|
||||
<li>public</li>
|
||||
<li>localVarStatusCode</li>
|
||||
<li>stackalloc</li>
|
||||
<li>parameter</li>
|
||||
<li>await</li>
|
||||
<li>client</li>
|
||||
<li>class</li>
|
||||
<li>localVarFormParams</li>
|
||||
<li>false</li>
|
||||
<li>volatile</li>
|
||||
<li>int</li>
|
||||
<li>async</li>
|
||||
<li>localVarHeaderParams</li>
|
||||
<li>namespace</li>
|
||||
<li>short</li>
|
||||
<li>base</li>
|
||||
</ul>
|
||||
|
||||
@@ -6,7 +6,45 @@ sidebar_label: avro-schema
|
||||
| Option | Description | Values | Default |
|
||||
| ------ | ----------- | ------ | ------- |
|
||||
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|
||||
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|
||||
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|
||||
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|
||||
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|
||||
|packageName|package for generated classes (where supported)| |null|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|array|Array|
|
||||
|list|Array|
|
||||
|map|Object|
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>date</li>
|
||||
<li>string</li>
|
||||
<li>double</li>
|
||||
<li>integer</li>
|
||||
<li>float</li>
|
||||
<li>int</li>
|
||||
<li>long</li>
|
||||
<li>BigDecimal</li>
|
||||
<li>DateTime</li>
|
||||
<li>number</li>
|
||||
<li>boolean</li>
|
||||
<li>null</li>
|
||||
<li>bytes</li>
|
||||
<li>UUID</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"></ul>
|
||||
|
||||
@@ -6,6 +6,7 @@ sidebar_label: bash
|
||||
| Option | Description | Values | Default |
|
||||
| ------ | ----------- | ------ | ------- |
|
||||
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|
||||
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|
||||
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|
||||
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|
||||
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|
||||
@@ -17,3 +18,62 @@ sidebar_label: bash
|
||||
|hostEnvironmentVariable|Name of environment variable where host can be defined (e.g. PETSTORE_HOST='http://api.openapitools.org:8080')| |null|
|
||||
|basicAuthEnvironmentVariable|Name of environment variable where username and password can be defined (e.g. PETSTORE_CREDS='username:password')| |null|
|
||||
|apiKeyAuthEnvironmentVariable|Name of environment variable where API key can be defined (e.g. PETSTORE_APIKEY='kjhasdGASDa5asdASD')| |false|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|LocalDateTime|org.joda.time.*|
|
||||
|Set|java.util.*|
|
||||
|LocalTime|org.joda.time.*|
|
||||
|HashMap|java.util.HashMap|
|
||||
|ArrayList|java.util.ArrayList|
|
||||
|URI|java.net.URI|
|
||||
|Timestamp|java.sql.Timestamp|
|
||||
|LocalDate|org.joda.time.*|
|
||||
|BigDecimal|java.math.BigDecimal|
|
||||
|Date|java.util.Date|
|
||||
|DateTime|org.joda.time.*|
|
||||
|Array|java.util.List|
|
||||
|List|java.util.*|
|
||||
|UUID|java.util.UUID|
|
||||
|File|java.io.File|
|
||||
|Map|java.util.Map|
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>boolean</li>
|
||||
<li>string</li>
|
||||
<li>array</li>
|
||||
<li>binary</li>
|
||||
<li>integer</li>
|
||||
<li>float</li>
|
||||
<li>map</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>fi</li>
|
||||
<li>select</li>
|
||||
<li>in</li>
|
||||
<li>for</li>
|
||||
<li>do</li>
|
||||
<li>elif</li>
|
||||
<li>then</li>
|
||||
<li>while</li>
|
||||
<li>done</li>
|
||||
<li>else</li>
|
||||
<li>function</li>
|
||||
<li>until</li>
|
||||
<li>time</li>
|
||||
<li>if</li>
|
||||
<li>case</li>
|
||||
<li>esac</li>
|
||||
</ul>
|
||||
|
||||
@@ -6,7 +6,83 @@ sidebar_label: c
|
||||
| Option | Description | Values | Default |
|
||||
| ------ | ----------- | ------ | ------- |
|
||||
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|
||||
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|
||||
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|
||||
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|
||||
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|
||||
|hideGenerationTimestamp|Hides the generation timestamp when files are generated.| |true|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>binary_t*</li>
|
||||
<li>double</li>
|
||||
<li>char</li>
|
||||
<li>short</li>
|
||||
<li>Object</li>
|
||||
<li>float</li>
|
||||
<li>list</li>
|
||||
<li>int</li>
|
||||
<li>long</li>
|
||||
<li>list_t*</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>struct</li>
|
||||
<li>auto</li>
|
||||
<li>const</li>
|
||||
<li>_static_assert</li>
|
||||
<li>_atomic</li>
|
||||
<li>_complex</li>
|
||||
<li>for</li>
|
||||
<li>extern</li>
|
||||
<li>do</li>
|
||||
<li>float</li>
|
||||
<li>restrict</li>
|
||||
<li>while</li>
|
||||
<li>long</li>
|
||||
<li>remove</li>
|
||||
<li>switch</li>
|
||||
<li>_generic</li>
|
||||
<li>default</li>
|
||||
<li>_alignof</li>
|
||||
<li>goto</li>
|
||||
<li>continue</li>
|
||||
<li>else</li>
|
||||
<li>_noreturn</li>
|
||||
<li>if</li>
|
||||
<li>case</li>
|
||||
<li>_bool</li>
|
||||
<li>static</li>
|
||||
<li>void</li>
|
||||
<li>break</li>
|
||||
<li>sizeof</li>
|
||||
<li>double</li>
|
||||
<li>signed</li>
|
||||
<li>volatile</li>
|
||||
<li>union</li>
|
||||
<li>_thread_local</li>
|
||||
<li>typedef</li>
|
||||
<li>enum</li>
|
||||
<li>int</li>
|
||||
<li>inline</li>
|
||||
<li>_alignas</li>
|
||||
<li>_imaginary</li>
|
||||
<li>char</li>
|
||||
<li>short</li>
|
||||
<li>unsigned</li>
|
||||
<li>return</li>
|
||||
<li>register</li>
|
||||
</ul>
|
||||
|
||||
@@ -6,6 +6,7 @@ sidebar_label: clojure
|
||||
| Option | Description | Values | Default |
|
||||
| ------ | ----------- | ------ | ------- |
|
||||
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|
||||
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|
||||
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|
||||
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|
||||
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|
||||
@@ -16,3 +17,39 @@ sidebar_label: clojure
|
||||
|projectLicenseName|name of the license the project uses (Default: using info.license.name or not included in project.clj)| |null|
|
||||
|projectLicenseUrl|URL of the license the project uses (Default: using info.license.url or not included in project.clj)| |null|
|
||||
|baseNamespace|the base/top namespace (Default: generated from projectName)| |null|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|LocalDateTime|org.joda.time.*|
|
||||
|Set|java.util.*|
|
||||
|LocalTime|org.joda.time.*|
|
||||
|HashMap|java.util.HashMap|
|
||||
|ArrayList|java.util.ArrayList|
|
||||
|URI|java.net.URI|
|
||||
|Timestamp|java.sql.Timestamp|
|
||||
|LocalDate|org.joda.time.*|
|
||||
|BigDecimal|java.math.BigDecimal|
|
||||
|Date|java.util.Date|
|
||||
|DateTime|org.joda.time.*|
|
||||
|Array|java.util.List|
|
||||
|List|java.util.*|
|
||||
|UUID|java.util.UUID|
|
||||
|File|java.io.File|
|
||||
|Map|java.util.Map|
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"></ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"></ul>
|
||||
|
||||
@@ -8,3 +8,35 @@ sidebar_label: cpp-pistache-server
|
||||
|addExternalLibs|Add the Possibility to fetch and compile external Libraries needed by this Framework.| |true|
|
||||
|helpersPackage|Specify the package name to be used for the helpers (e.g. org.openapitools.server.helpers).| |org.openapitools.server.helpers|
|
||||
|useStructModel|Use struct-based model template instead of get/set-based model template| |false|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|std::vector|#include <vector>|
|
||||
|std::map|#include <map>|
|
||||
|std::string|#include <string>|
|
||||
|Object|#include "Object.h"|
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>bool</li>
|
||||
<li>double</li>
|
||||
<li>char</li>
|
||||
<li>float</li>
|
||||
<li>int64_t</li>
|
||||
<li>int</li>
|
||||
<li>long</li>
|
||||
<li>int32_t</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"></ul>
|
||||
|
||||
@@ -6,9 +6,127 @@ sidebar_label: cpp-qt5-client
|
||||
| Option | Description | Values | Default |
|
||||
| ------ | ----------- | ------ | ------- |
|
||||
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|
||||
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|
||||
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|
||||
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|
||||
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|
||||
|cppNamespace|C++ namespace (convention: name::space::for::api).| |OpenAPI|
|
||||
|modelNamePrefix|Prefix that will be prepended to all model names.| |OAI|
|
||||
|optionalProjectFile|Generate client.pri.| |true|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|OAIHttpFileElement|#include "OAIHttpFileElement.h"|
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>QDateTime</li>
|
||||
<li>QString</li>
|
||||
<li>qint64</li>
|
||||
<li>qint32</li>
|
||||
<li>bool</li>
|
||||
<li>QByteArray</li>
|
||||
<li>double</li>
|
||||
<li>QDate</li>
|
||||
<li>float</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>struct</li>
|
||||
<li>auto</li>
|
||||
<li>xor_eq</li>
|
||||
<li>const_cast</li>
|
||||
<li>decltype</li>
|
||||
<li>alignas</li>
|
||||
<li>extern</li>
|
||||
<li>do</li>
|
||||
<li>float</li>
|
||||
<li>while</li>
|
||||
<li>constexpr</li>
|
||||
<li>operator</li>
|
||||
<li>bitand</li>
|
||||
<li>protected</li>
|
||||
<li>continue</li>
|
||||
<li>else</li>
|
||||
<li>friend</li>
|
||||
<li>mutable</li>
|
||||
<li>compl</li>
|
||||
<li>typeid</li>
|
||||
<li>catch</li>
|
||||
<li>export</li>
|
||||
<li>if</li>
|
||||
<li>case</li>
|
||||
<li>dynamic_cast</li>
|
||||
<li>not_eq</li>
|
||||
<li>new</li>
|
||||
<li>using</li>
|
||||
<li>static</li>
|
||||
<li>void</li>
|
||||
<li>sizeof</li>
|
||||
<li>bitor</li>
|
||||
<li>double</li>
|
||||
<li>this</li>
|
||||
<li>signed</li>
|
||||
<li>noexcept</li>
|
||||
<li>typedef</li>
|
||||
<li>enum</li>
|
||||
<li>char16_t</li>
|
||||
<li>explicit</li>
|
||||
<li>static_cast</li>
|
||||
<li>true</li>
|
||||
<li>try</li>
|
||||
<li>reinterpret_cast</li>
|
||||
<li>nullptr</li>
|
||||
<li>requires</li>
|
||||
<li>template</li>
|
||||
<li>private</li>
|
||||
<li>virtual</li>
|
||||
<li>bool</li>
|
||||
<li>const</li>
|
||||
<li>concept</li>
|
||||
<li>static_assert</li>
|
||||
<li>for</li>
|
||||
<li>delete</li>
|
||||
<li>long</li>
|
||||
<li>switch</li>
|
||||
<li>default</li>
|
||||
<li>not</li>
|
||||
<li>goto</li>
|
||||
<li>public</li>
|
||||
<li>and</li>
|
||||
<li>and_eq</li>
|
||||
<li>linux</li>
|
||||
<li>or_eq</li>
|
||||
<li>xor</li>
|
||||
<li>class</li>
|
||||
<li>wchar_t</li>
|
||||
<li>alignof</li>
|
||||
<li>or</li>
|
||||
<li>break</li>
|
||||
<li>false</li>
|
||||
<li>thread_local</li>
|
||||
<li>char32_t</li>
|
||||
<li>volatile</li>
|
||||
<li>union</li>
|
||||
<li>int</li>
|
||||
<li>inline</li>
|
||||
<li>throw</li>
|
||||
<li>char</li>
|
||||
<li>namespace</li>
|
||||
<li>short</li>
|
||||
<li>unsigned</li>
|
||||
<li>asm</li>
|
||||
<li>return</li>
|
||||
<li>typename</li>
|
||||
<li>register</li>
|
||||
</ul>
|
||||
|
||||
@@ -6,8 +6,126 @@ sidebar_label: cpp-qt5-qhttpengine-server
|
||||
| Option | Description | Values | Default |
|
||||
| ------ | ----------- | ------ | ------- |
|
||||
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|
||||
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|
||||
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|
||||
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|
||||
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|
||||
|cppNamespace|C++ namespace (convention: name::space::for::api).| |OpenAPI|
|
||||
|modelNamePrefix|Prefix that will be prepended to all model names.| |OAI|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|OAIHttpFileElement|#include "OAIHttpFileElement.h"|
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>QDateTime</li>
|
||||
<li>QString</li>
|
||||
<li>qint64</li>
|
||||
<li>qint32</li>
|
||||
<li>bool</li>
|
||||
<li>QByteArray</li>
|
||||
<li>double</li>
|
||||
<li>QDate</li>
|
||||
<li>float</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>struct</li>
|
||||
<li>auto</li>
|
||||
<li>xor_eq</li>
|
||||
<li>const_cast</li>
|
||||
<li>decltype</li>
|
||||
<li>alignas</li>
|
||||
<li>extern</li>
|
||||
<li>do</li>
|
||||
<li>float</li>
|
||||
<li>while</li>
|
||||
<li>constexpr</li>
|
||||
<li>operator</li>
|
||||
<li>bitand</li>
|
||||
<li>protected</li>
|
||||
<li>continue</li>
|
||||
<li>else</li>
|
||||
<li>friend</li>
|
||||
<li>mutable</li>
|
||||
<li>compl</li>
|
||||
<li>typeid</li>
|
||||
<li>catch</li>
|
||||
<li>export</li>
|
||||
<li>if</li>
|
||||
<li>case</li>
|
||||
<li>dynamic_cast</li>
|
||||
<li>not_eq</li>
|
||||
<li>new</li>
|
||||
<li>using</li>
|
||||
<li>static</li>
|
||||
<li>void</li>
|
||||
<li>sizeof</li>
|
||||
<li>bitor</li>
|
||||
<li>double</li>
|
||||
<li>this</li>
|
||||
<li>signed</li>
|
||||
<li>noexcept</li>
|
||||
<li>typedef</li>
|
||||
<li>enum</li>
|
||||
<li>char16_t</li>
|
||||
<li>explicit</li>
|
||||
<li>static_cast</li>
|
||||
<li>true</li>
|
||||
<li>try</li>
|
||||
<li>reinterpret_cast</li>
|
||||
<li>nullptr</li>
|
||||
<li>requires</li>
|
||||
<li>template</li>
|
||||
<li>private</li>
|
||||
<li>virtual</li>
|
||||
<li>bool</li>
|
||||
<li>const</li>
|
||||
<li>concept</li>
|
||||
<li>static_assert</li>
|
||||
<li>for</li>
|
||||
<li>delete</li>
|
||||
<li>long</li>
|
||||
<li>switch</li>
|
||||
<li>default</li>
|
||||
<li>not</li>
|
||||
<li>goto</li>
|
||||
<li>public</li>
|
||||
<li>and</li>
|
||||
<li>and_eq</li>
|
||||
<li>linux</li>
|
||||
<li>or_eq</li>
|
||||
<li>xor</li>
|
||||
<li>class</li>
|
||||
<li>wchar_t</li>
|
||||
<li>alignof</li>
|
||||
<li>or</li>
|
||||
<li>break</li>
|
||||
<li>false</li>
|
||||
<li>thread_local</li>
|
||||
<li>char32_t</li>
|
||||
<li>volatile</li>
|
||||
<li>union</li>
|
||||
<li>int</li>
|
||||
<li>inline</li>
|
||||
<li>throw</li>
|
||||
<li>char</li>
|
||||
<li>namespace</li>
|
||||
<li>short</li>
|
||||
<li>unsigned</li>
|
||||
<li>asm</li>
|
||||
<li>return</li>
|
||||
<li>typename</li>
|
||||
<li>register</li>
|
||||
</ul>
|
||||
|
||||
@@ -10,3 +10,123 @@ sidebar_label: cpp-restbed-server
|
||||
|packageVersion|C++ package version.| |1.0.0|
|
||||
|declspec|C++ preprocessor to place before the class name for handling dllexport/dllimport.| ||
|
||||
|defaultInclude|The default include statement that should be placed in all headers for including things like the declspec (convention: #include "Commons.h" | ||
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|std::vector|#include <vector>|
|
||||
|std::map|#include <map>|
|
||||
|std::string|#include <string>|
|
||||
|Object|#include "Object.h"|
|
||||
|restbed::Bytes|#include <corvusoft/restbed/byte.hpp>|
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>bool</li>
|
||||
<li>double</li>
|
||||
<li>char</li>
|
||||
<li>float</li>
|
||||
<li>int64_t</li>
|
||||
<li>int</li>
|
||||
<li>long</li>
|
||||
<li>int32_t</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>struct</li>
|
||||
<li>auto</li>
|
||||
<li>xor_eq</li>
|
||||
<li>const_cast</li>
|
||||
<li>decltype</li>
|
||||
<li>alignas</li>
|
||||
<li>extern</li>
|
||||
<li>do</li>
|
||||
<li>float</li>
|
||||
<li>while</li>
|
||||
<li>constexpr</li>
|
||||
<li>operator</li>
|
||||
<li>bitand</li>
|
||||
<li>protected</li>
|
||||
<li>continue</li>
|
||||
<li>else</li>
|
||||
<li>friend</li>
|
||||
<li>mutable</li>
|
||||
<li>compl</li>
|
||||
<li>typeid</li>
|
||||
<li>catch</li>
|
||||
<li>export</li>
|
||||
<li>if</li>
|
||||
<li>case</li>
|
||||
<li>dynamic_cast</li>
|
||||
<li>not_eq</li>
|
||||
<li>new</li>
|
||||
<li>using</li>
|
||||
<li>static</li>
|
||||
<li>void</li>
|
||||
<li>sizeof</li>
|
||||
<li>bitor</li>
|
||||
<li>double</li>
|
||||
<li>this</li>
|
||||
<li>signed</li>
|
||||
<li>noexcept</li>
|
||||
<li>typedef</li>
|
||||
<li>enum</li>
|
||||
<li>char16_t</li>
|
||||
<li>explicit</li>
|
||||
<li>static_cast</li>
|
||||
<li>true</li>
|
||||
<li>try</li>
|
||||
<li>reinterpret_cast</li>
|
||||
<li>nullptr</li>
|
||||
<li>requires</li>
|
||||
<li>template</li>
|
||||
<li>private</li>
|
||||
<li>virtual</li>
|
||||
<li>bool</li>
|
||||
<li>const</li>
|
||||
<li>concept</li>
|
||||
<li>static_assert</li>
|
||||
<li>for</li>
|
||||
<li>delete</li>
|
||||
<li>long</li>
|
||||
<li>switch</li>
|
||||
<li>default</li>
|
||||
<li>not</li>
|
||||
<li>goto</li>
|
||||
<li>public</li>
|
||||
<li>and</li>
|
||||
<li>and_eq</li>
|
||||
<li>linux</li>
|
||||
<li>or_eq</li>
|
||||
<li>xor</li>
|
||||
<li>class</li>
|
||||
<li>wchar_t</li>
|
||||
<li>alignof</li>
|
||||
<li>or</li>
|
||||
<li>break</li>
|
||||
<li>false</li>
|
||||
<li>thread_local</li>
|
||||
<li>char32_t</li>
|
||||
<li>volatile</li>
|
||||
<li>union</li>
|
||||
<li>int</li>
|
||||
<li>inline</li>
|
||||
<li>throw</li>
|
||||
<li>char</li>
|
||||
<li>namespace</li>
|
||||
<li>short</li>
|
||||
<li>unsigned</li>
|
||||
<li>asm</li>
|
||||
<li>return</li>
|
||||
<li>typename</li>
|
||||
<li>register</li>
|
||||
</ul>
|
||||
|
||||
@@ -11,3 +11,125 @@ sidebar_label: cpp-restsdk
|
||||
|declspec|C++ preprocessor to place before the class name for handling dllexport/dllimport.| ||
|
||||
|defaultInclude|The default include statement that should be placed in all headers for including things like the declspec (convention: #include "Commons.h" | ||
|
||||
|generateGMocksForApis|Generate Google Mock classes for APIs.| |null|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|std::vector|#include <vector>|
|
||||
|utility::string_t|#include <cpprest/details/basic_types.h>|
|
||||
|std::map|#include <map>|
|
||||
|std::string|#include <string>|
|
||||
|utility::datetime|#include <cpprest/details/basic_types.h>|
|
||||
|Object|#include "Object.h"|
|
||||
|HttpContent|#include "HttpContent.h"|
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>bool</li>
|
||||
<li>double</li>
|
||||
<li>char</li>
|
||||
<li>float</li>
|
||||
<li>int64_t</li>
|
||||
<li>int</li>
|
||||
<li>long</li>
|
||||
<li>int32_t</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>struct</li>
|
||||
<li>auto</li>
|
||||
<li>xor_eq</li>
|
||||
<li>const_cast</li>
|
||||
<li>decltype</li>
|
||||
<li>alignas</li>
|
||||
<li>extern</li>
|
||||
<li>do</li>
|
||||
<li>float</li>
|
||||
<li>while</li>
|
||||
<li>constexpr</li>
|
||||
<li>operator</li>
|
||||
<li>bitand</li>
|
||||
<li>protected</li>
|
||||
<li>continue</li>
|
||||
<li>else</li>
|
||||
<li>friend</li>
|
||||
<li>mutable</li>
|
||||
<li>compl</li>
|
||||
<li>typeid</li>
|
||||
<li>catch</li>
|
||||
<li>export</li>
|
||||
<li>if</li>
|
||||
<li>case</li>
|
||||
<li>dynamic_cast</li>
|
||||
<li>not_eq</li>
|
||||
<li>new</li>
|
||||
<li>using</li>
|
||||
<li>static</li>
|
||||
<li>void</li>
|
||||
<li>sizeof</li>
|
||||
<li>bitor</li>
|
||||
<li>double</li>
|
||||
<li>this</li>
|
||||
<li>signed</li>
|
||||
<li>noexcept</li>
|
||||
<li>typedef</li>
|
||||
<li>enum</li>
|
||||
<li>char16_t</li>
|
||||
<li>explicit</li>
|
||||
<li>static_cast</li>
|
||||
<li>true</li>
|
||||
<li>try</li>
|
||||
<li>reinterpret_cast</li>
|
||||
<li>nullptr</li>
|
||||
<li>requires</li>
|
||||
<li>template</li>
|
||||
<li>private</li>
|
||||
<li>virtual</li>
|
||||
<li>bool</li>
|
||||
<li>const</li>
|
||||
<li>concept</li>
|
||||
<li>static_assert</li>
|
||||
<li>for</li>
|
||||
<li>delete</li>
|
||||
<li>long</li>
|
||||
<li>switch</li>
|
||||
<li>default</li>
|
||||
<li>not</li>
|
||||
<li>goto</li>
|
||||
<li>public</li>
|
||||
<li>and</li>
|
||||
<li>and_eq</li>
|
||||
<li>linux</li>
|
||||
<li>or_eq</li>
|
||||
<li>xor</li>
|
||||
<li>class</li>
|
||||
<li>wchar_t</li>
|
||||
<li>alignof</li>
|
||||
<li>or</li>
|
||||
<li>break</li>
|
||||
<li>false</li>
|
||||
<li>thread_local</li>
|
||||
<li>char32_t</li>
|
||||
<li>volatile</li>
|
||||
<li>union</li>
|
||||
<li>int</li>
|
||||
<li>inline</li>
|
||||
<li>throw</li>
|
||||
<li>char</li>
|
||||
<li>namespace</li>
|
||||
<li>short</li>
|
||||
<li>unsigned</li>
|
||||
<li>asm</li>
|
||||
<li>return</li>
|
||||
<li>typename</li>
|
||||
<li>register</li>
|
||||
</ul>
|
||||
|
||||
@@ -6,6 +6,125 @@ sidebar_label: cpp-tizen
|
||||
| Option | Description | Values | Default |
|
||||
| ------ | ----------- | ------ | ------- |
|
||||
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|
||||
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|
||||
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|
||||
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|
||||
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>bool</li>
|
||||
<li>std::string</li>
|
||||
<li>double</li>
|
||||
<li>long long</li>
|
||||
<li>float</li>
|
||||
<li>int</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>struct</li>
|
||||
<li>synchronized</li>
|
||||
<li>auto</li>
|
||||
<li>xor_eq</li>
|
||||
<li>const_cast</li>
|
||||
<li>decltype</li>
|
||||
<li>alignas</li>
|
||||
<li>extern</li>
|
||||
<li>do</li>
|
||||
<li>float</li>
|
||||
<li>while</li>
|
||||
<li>constexpr</li>
|
||||
<li>operator</li>
|
||||
<li>bitand</li>
|
||||
<li>protected</li>
|
||||
<li>continue</li>
|
||||
<li>else</li>
|
||||
<li>friend</li>
|
||||
<li>mutable</li>
|
||||
<li>compl</li>
|
||||
<li>typeid</li>
|
||||
<li>catch</li>
|
||||
<li>export</li>
|
||||
<li>if</li>
|
||||
<li>case</li>
|
||||
<li>dynamic_cast</li>
|
||||
<li>not_eq</li>
|
||||
<li>new</li>
|
||||
<li>using</li>
|
||||
<li>atomic_commit</li>
|
||||
<li>static</li>
|
||||
<li>void</li>
|
||||
<li>sizeof</li>
|
||||
<li>bitor</li>
|
||||
<li>double</li>
|
||||
<li>module</li>
|
||||
<li>this</li>
|
||||
<li>signed</li>
|
||||
<li>atomic_cancel</li>
|
||||
<li>noexcept</li>
|
||||
<li>typedef</li>
|
||||
<li>enum</li>
|
||||
<li>char16_t</li>
|
||||
<li>explicit</li>
|
||||
<li>static_cast</li>
|
||||
<li>true</li>
|
||||
<li>try</li>
|
||||
<li>reinterpret_cast</li>
|
||||
<li>nullptr</li>
|
||||
<li>requires</li>
|
||||
<li>template</li>
|
||||
<li>private</li>
|
||||
<li>virtual</li>
|
||||
<li>bool</li>
|
||||
<li>const</li>
|
||||
<li>import</li>
|
||||
<li>concept</li>
|
||||
<li>static_assert</li>
|
||||
<li>for</li>
|
||||
<li>atomic_noexcept</li>
|
||||
<li>delete</li>
|
||||
<li>long</li>
|
||||
<li>switch</li>
|
||||
<li>default</li>
|
||||
<li>not</li>
|
||||
<li>goto</li>
|
||||
<li>public</li>
|
||||
<li>and</li>
|
||||
<li>and_eq</li>
|
||||
<li>or_eq</li>
|
||||
<li>xor</li>
|
||||
<li>class</li>
|
||||
<li>wchar_t</li>
|
||||
<li>alignof</li>
|
||||
<li>or</li>
|
||||
<li>break</li>
|
||||
<li>false</li>
|
||||
<li>thread_local</li>
|
||||
<li>char32_t</li>
|
||||
<li>volatile</li>
|
||||
<li>union</li>
|
||||
<li>int</li>
|
||||
<li>inline</li>
|
||||
<li>throw</li>
|
||||
<li>char</li>
|
||||
<li>namespace</li>
|
||||
<li>short</li>
|
||||
<li>unsigned</li>
|
||||
<li>asm</li>
|
||||
<li>return</li>
|
||||
<li>typename</li>
|
||||
<li>register</li>
|
||||
</ul>
|
||||
|
||||
@@ -8,3 +8,151 @@ sidebar_label: csharp-dotnet2
|
||||
|packageName|C# package name (convention: Camel.Case).| |Org.OpenAPITools|
|
||||
|packageVersion|C# package version.| |1.0.0|
|
||||
|clientPackage|C# client package name (convention: Camel.Case).| |Org.OpenAPITools.Client|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|array|List|
|
||||
|list|List|
|
||||
|map|Dictionary|
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>int?</li>
|
||||
<li>Dictionary</li>
|
||||
<li>string</li>
|
||||
<li>bool</li>
|
||||
<li>DateTimeOffset?</li>
|
||||
<li>String</li>
|
||||
<li>Guid</li>
|
||||
<li>System.IO.Stream</li>
|
||||
<li>bool?</li>
|
||||
<li>float</li>
|
||||
<li>long</li>
|
||||
<li>DateTime</li>
|
||||
<li>Int32</li>
|
||||
<li>float?</li>
|
||||
<li>DateTime?</li>
|
||||
<li>List</li>
|
||||
<li>Boolean</li>
|
||||
<li>long?</li>
|
||||
<li>double</li>
|
||||
<li>Guid?</li>
|
||||
<li>DateTimeOffset</li>
|
||||
<li>Double</li>
|
||||
<li>int</li>
|
||||
<li>byte[]</li>
|
||||
<li>Float</li>
|
||||
<li>Int64</li>
|
||||
<li>double?</li>
|
||||
<li>ICollection</li>
|
||||
<li>Collection</li>
|
||||
<li>Object</li>
|
||||
<li>decimal?</li>
|
||||
<li>decimal</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>struct</li>
|
||||
<li>extern</li>
|
||||
<li>do</li>
|
||||
<li>ushort</li>
|
||||
<li>float</li>
|
||||
<li>while</li>
|
||||
<li>operator</li>
|
||||
<li>localVarQueryParams</li>
|
||||
<li>ref</li>
|
||||
<li>protected</li>
|
||||
<li>readonly</li>
|
||||
<li>continue</li>
|
||||
<li>else</li>
|
||||
<li>checked</li>
|
||||
<li>lock</li>
|
||||
<li>localVarPathParams</li>
|
||||
<li>catch</li>
|
||||
<li>Client</li>
|
||||
<li>if</li>
|
||||
<li>case</li>
|
||||
<li>localVarHttpHeaderAccepts</li>
|
||||
<li>new</li>
|
||||
<li>using</li>
|
||||
<li>static</li>
|
||||
<li>void</li>
|
||||
<li>localVarPostBody</li>
|
||||
<li>in</li>
|
||||
<li>sizeof</li>
|
||||
<li>localVarResponse</li>
|
||||
<li>byte</li>
|
||||
<li>double</li>
|
||||
<li>sealed</li>
|
||||
<li>finally</li>
|
||||
<li>this</li>
|
||||
<li>unchecked</li>
|
||||
<li>is</li>
|
||||
<li>params</li>
|
||||
<li>enum</li>
|
||||
<li>explicit</li>
|
||||
<li>as</li>
|
||||
<li>null</li>
|
||||
<li>localVarPath</li>
|
||||
<li>true</li>
|
||||
<li>fixed</li>
|
||||
<li>try</li>
|
||||
<li>decimal</li>
|
||||
<li>object</li>
|
||||
<li>implicit</li>
|
||||
<li>internal</li>
|
||||
<li>private</li>
|
||||
<li>virtual</li>
|
||||
<li>bool</li>
|
||||
<li>const</li>
|
||||
<li>string</li>
|
||||
<li>for</li>
|
||||
<li>localVarHttpHeaderAccept</li>
|
||||
<li>interface</li>
|
||||
<li>unsafe</li>
|
||||
<li>long</li>
|
||||
<li>out</li>
|
||||
<li>switch</li>
|
||||
<li>delegate</li>
|
||||
<li>foreach</li>
|
||||
<li>default</li>
|
||||
<li>ulong</li>
|
||||
<li>goto</li>
|
||||
<li>localVarHttpContentTypes</li>
|
||||
<li>localVarHttpContentType</li>
|
||||
<li>public</li>
|
||||
<li>localVarStatusCode</li>
|
||||
<li>stackalloc</li>
|
||||
<li>parameter</li>
|
||||
<li>client</li>
|
||||
<li>override</li>
|
||||
<li>event</li>
|
||||
<li>class</li>
|
||||
<li>typeof</li>
|
||||
<li>localVarFormParams</li>
|
||||
<li>break</li>
|
||||
<li>false</li>
|
||||
<li>volatile</li>
|
||||
<li>abstract</li>
|
||||
<li>uint</li>
|
||||
<li>int</li>
|
||||
<li>localVarHeaderParams</li>
|
||||
<li>throw</li>
|
||||
<li>char</li>
|
||||
<li>namespace</li>
|
||||
<li>sbyte</li>
|
||||
<li>short</li>
|
||||
<li>localVarFileParams</li>
|
||||
<li>return</li>
|
||||
<li>base</li>
|
||||
</ul>
|
||||
|
||||
@@ -19,3 +19,66 @@ sidebar_label: csharp-nancyfx
|
||||
|immutable|Enabled by default. If disabled generates model classes with setters| |true|
|
||||
|writeModulePath|Enabled by default. If disabled, module paths will not mirror api base path| |true|
|
||||
|asyncServer|Set to true to enable the generation of async routes/endpoints.| |false|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|array|List|
|
||||
|list|List|
|
||||
|map|Dictionary|
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>int?</li>
|
||||
<li>Dictionary</li>
|
||||
<li>string</li>
|
||||
<li>bool</li>
|
||||
<li>LocalDate?</li>
|
||||
<li>DateTimeOffset?</li>
|
||||
<li>ZonedDateTime?</li>
|
||||
<li>String</li>
|
||||
<li>Guid</li>
|
||||
<li>System.IO.Stream</li>
|
||||
<li>bool?</li>
|
||||
<li>float</li>
|
||||
<li>long</li>
|
||||
<li>DateTime</li>
|
||||
<li>Int32</li>
|
||||
<li>float?</li>
|
||||
<li>DateTime?</li>
|
||||
<li>List</li>
|
||||
<li>Boolean</li>
|
||||
<li>LocalTime?</li>
|
||||
<li>long?</li>
|
||||
<li>double</li>
|
||||
<li>Guid?</li>
|
||||
<li>DateTimeOffset</li>
|
||||
<li>Double</li>
|
||||
<li>int</li>
|
||||
<li>byte[]</li>
|
||||
<li>Float</li>
|
||||
<li>Int64</li>
|
||||
<li>double?</li>
|
||||
<li>ICollection</li>
|
||||
<li>Collection</li>
|
||||
<li>Object</li>
|
||||
<li>decimal?</li>
|
||||
<li>decimal</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>async</li>
|
||||
<li>var</li>
|
||||
<li>yield</li>
|
||||
<li>await</li>
|
||||
<li>dynamic</li>
|
||||
</ul>
|
||||
|
||||
@@ -26,3 +26,151 @@ sidebar_label: csharp-netcore
|
||||
|netCoreProjectFile|Use the new format (.NET Core) for .NET project files (.csproj).| |false|
|
||||
|validatable|Generates self-validatable models.| |true|
|
||||
|caseInsensitiveResponseHeaders|Make API response's headers case-insensitive| |false|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|array|List|
|
||||
|list|List|
|
||||
|map|Dictionary|
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>int?</li>
|
||||
<li>Dictionary</li>
|
||||
<li>string</li>
|
||||
<li>bool</li>
|
||||
<li>DateTimeOffset?</li>
|
||||
<li>String</li>
|
||||
<li>Guid</li>
|
||||
<li>System.IO.Stream</li>
|
||||
<li>bool?</li>
|
||||
<li>float</li>
|
||||
<li>long</li>
|
||||
<li>DateTime</li>
|
||||
<li>Int32</li>
|
||||
<li>float?</li>
|
||||
<li>DateTime?</li>
|
||||
<li>List</li>
|
||||
<li>Boolean</li>
|
||||
<li>long?</li>
|
||||
<li>double</li>
|
||||
<li>Guid?</li>
|
||||
<li>DateTimeOffset</li>
|
||||
<li>Double</li>
|
||||
<li>int</li>
|
||||
<li>byte[]</li>
|
||||
<li>Float</li>
|
||||
<li>Int64</li>
|
||||
<li>double?</li>
|
||||
<li>ICollection</li>
|
||||
<li>Collection</li>
|
||||
<li>Object</li>
|
||||
<li>decimal?</li>
|
||||
<li>decimal</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>struct</li>
|
||||
<li>extern</li>
|
||||
<li>do</li>
|
||||
<li>ushort</li>
|
||||
<li>float</li>
|
||||
<li>while</li>
|
||||
<li>operator</li>
|
||||
<li>localVarQueryParams</li>
|
||||
<li>ref</li>
|
||||
<li>protected</li>
|
||||
<li>readonly</li>
|
||||
<li>continue</li>
|
||||
<li>else</li>
|
||||
<li>checked</li>
|
||||
<li>lock</li>
|
||||
<li>localVarPathParams</li>
|
||||
<li>catch</li>
|
||||
<li>Client</li>
|
||||
<li>if</li>
|
||||
<li>case</li>
|
||||
<li>localVarHttpHeaderAccepts</li>
|
||||
<li>new</li>
|
||||
<li>using</li>
|
||||
<li>static</li>
|
||||
<li>void</li>
|
||||
<li>localVarPostBody</li>
|
||||
<li>in</li>
|
||||
<li>sizeof</li>
|
||||
<li>localVarResponse</li>
|
||||
<li>byte</li>
|
||||
<li>double</li>
|
||||
<li>sealed</li>
|
||||
<li>finally</li>
|
||||
<li>this</li>
|
||||
<li>unchecked</li>
|
||||
<li>is</li>
|
||||
<li>params</li>
|
||||
<li>enum</li>
|
||||
<li>explicit</li>
|
||||
<li>as</li>
|
||||
<li>null</li>
|
||||
<li>localVarPath</li>
|
||||
<li>true</li>
|
||||
<li>fixed</li>
|
||||
<li>try</li>
|
||||
<li>decimal</li>
|
||||
<li>object</li>
|
||||
<li>implicit</li>
|
||||
<li>internal</li>
|
||||
<li>private</li>
|
||||
<li>virtual</li>
|
||||
<li>bool</li>
|
||||
<li>const</li>
|
||||
<li>string</li>
|
||||
<li>for</li>
|
||||
<li>localVarHttpHeaderAccept</li>
|
||||
<li>interface</li>
|
||||
<li>unsafe</li>
|
||||
<li>long</li>
|
||||
<li>out</li>
|
||||
<li>switch</li>
|
||||
<li>delegate</li>
|
||||
<li>foreach</li>
|
||||
<li>default</li>
|
||||
<li>ulong</li>
|
||||
<li>goto</li>
|
||||
<li>localVarHttpContentTypes</li>
|
||||
<li>localVarHttpContentType</li>
|
||||
<li>public</li>
|
||||
<li>localVarStatusCode</li>
|
||||
<li>stackalloc</li>
|
||||
<li>parameter</li>
|
||||
<li>client</li>
|
||||
<li>override</li>
|
||||
<li>event</li>
|
||||
<li>class</li>
|
||||
<li>typeof</li>
|
||||
<li>localVarFormParams</li>
|
||||
<li>break</li>
|
||||
<li>false</li>
|
||||
<li>volatile</li>
|
||||
<li>abstract</li>
|
||||
<li>uint</li>
|
||||
<li>int</li>
|
||||
<li>localVarHeaderParams</li>
|
||||
<li>throw</li>
|
||||
<li>char</li>
|
||||
<li>namespace</li>
|
||||
<li>sbyte</li>
|
||||
<li>short</li>
|
||||
<li>localVarFileParams</li>
|
||||
<li>return</li>
|
||||
<li>base</li>
|
||||
</ul>
|
||||
|
||||
@@ -28,3 +28,151 @@ sidebar_label: csharp
|
||||
|validatable|Generates self-validatable models.| |true|
|
||||
|useCompareNetObjects|Use KellermanSoftware.CompareNetObjects for deep recursive object comparison. WARNING: this option incurs potential performance impact.| |false|
|
||||
|caseInsensitiveResponseHeaders|Make API response's headers case-insensitive| |false|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|array|List|
|
||||
|list|List|
|
||||
|map|Dictionary|
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>int?</li>
|
||||
<li>Dictionary</li>
|
||||
<li>string</li>
|
||||
<li>bool</li>
|
||||
<li>DateTimeOffset?</li>
|
||||
<li>String</li>
|
||||
<li>Guid</li>
|
||||
<li>System.IO.Stream</li>
|
||||
<li>bool?</li>
|
||||
<li>float</li>
|
||||
<li>long</li>
|
||||
<li>DateTime</li>
|
||||
<li>Int32</li>
|
||||
<li>float?</li>
|
||||
<li>DateTime?</li>
|
||||
<li>List</li>
|
||||
<li>Boolean</li>
|
||||
<li>long?</li>
|
||||
<li>double</li>
|
||||
<li>Guid?</li>
|
||||
<li>DateTimeOffset</li>
|
||||
<li>Double</li>
|
||||
<li>int</li>
|
||||
<li>byte[]</li>
|
||||
<li>Float</li>
|
||||
<li>Int64</li>
|
||||
<li>double?</li>
|
||||
<li>ICollection</li>
|
||||
<li>Collection</li>
|
||||
<li>Object</li>
|
||||
<li>decimal?</li>
|
||||
<li>decimal</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>struct</li>
|
||||
<li>extern</li>
|
||||
<li>do</li>
|
||||
<li>ushort</li>
|
||||
<li>float</li>
|
||||
<li>while</li>
|
||||
<li>operator</li>
|
||||
<li>localVarQueryParams</li>
|
||||
<li>ref</li>
|
||||
<li>protected</li>
|
||||
<li>readonly</li>
|
||||
<li>continue</li>
|
||||
<li>else</li>
|
||||
<li>checked</li>
|
||||
<li>lock</li>
|
||||
<li>localVarPathParams</li>
|
||||
<li>catch</li>
|
||||
<li>Client</li>
|
||||
<li>if</li>
|
||||
<li>case</li>
|
||||
<li>localVarHttpHeaderAccepts</li>
|
||||
<li>new</li>
|
||||
<li>using</li>
|
||||
<li>static</li>
|
||||
<li>void</li>
|
||||
<li>localVarPostBody</li>
|
||||
<li>in</li>
|
||||
<li>sizeof</li>
|
||||
<li>localVarResponse</li>
|
||||
<li>byte</li>
|
||||
<li>double</li>
|
||||
<li>sealed</li>
|
||||
<li>finally</li>
|
||||
<li>this</li>
|
||||
<li>unchecked</li>
|
||||
<li>is</li>
|
||||
<li>params</li>
|
||||
<li>enum</li>
|
||||
<li>explicit</li>
|
||||
<li>as</li>
|
||||
<li>null</li>
|
||||
<li>localVarPath</li>
|
||||
<li>true</li>
|
||||
<li>fixed</li>
|
||||
<li>try</li>
|
||||
<li>decimal</li>
|
||||
<li>object</li>
|
||||
<li>implicit</li>
|
||||
<li>internal</li>
|
||||
<li>private</li>
|
||||
<li>virtual</li>
|
||||
<li>bool</li>
|
||||
<li>const</li>
|
||||
<li>string</li>
|
||||
<li>for</li>
|
||||
<li>localVarHttpHeaderAccept</li>
|
||||
<li>interface</li>
|
||||
<li>unsafe</li>
|
||||
<li>long</li>
|
||||
<li>out</li>
|
||||
<li>switch</li>
|
||||
<li>delegate</li>
|
||||
<li>foreach</li>
|
||||
<li>default</li>
|
||||
<li>ulong</li>
|
||||
<li>goto</li>
|
||||
<li>localVarHttpContentTypes</li>
|
||||
<li>localVarHttpContentType</li>
|
||||
<li>public</li>
|
||||
<li>localVarStatusCode</li>
|
||||
<li>stackalloc</li>
|
||||
<li>parameter</li>
|
||||
<li>client</li>
|
||||
<li>override</li>
|
||||
<li>event</li>
|
||||
<li>class</li>
|
||||
<li>typeof</li>
|
||||
<li>localVarFormParams</li>
|
||||
<li>break</li>
|
||||
<li>false</li>
|
||||
<li>volatile</li>
|
||||
<li>abstract</li>
|
||||
<li>uint</li>
|
||||
<li>int</li>
|
||||
<li>localVarHeaderParams</li>
|
||||
<li>throw</li>
|
||||
<li>char</li>
|
||||
<li>namespace</li>
|
||||
<li>sbyte</li>
|
||||
<li>short</li>
|
||||
<li>localVarFileParams</li>
|
||||
<li>return</li>
|
||||
<li>base</li>
|
||||
</ul>
|
||||
|
||||
@@ -6,6 +6,7 @@ sidebar_label: cwiki
|
||||
| Option | Description | Values | Default |
|
||||
| ------ | ----------- | ------ | ------- |
|
||||
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|
||||
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|
||||
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|
||||
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|
||||
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|
||||
@@ -19,3 +20,23 @@ sidebar_label: cwiki
|
||||
|groupId|groupId in generated pom.xml| |null|
|
||||
|artifactId|artifactId in generated pom.xml. This also becomes part of the generated library's filename| |null|
|
||||
|artifactVersion|artifact version in generated pom.xml. This also becomes part of the generated library's filename| |null|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"></ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"></ul>
|
||||
|
||||
@@ -6,6 +6,7 @@ sidebar_label: dart-dio
|
||||
| Option | Description | Values | Default |
|
||||
| ------ | ----------- | ------ | ------- |
|
||||
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|
||||
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|
||||
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|
||||
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|
||||
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|
||||
@@ -13,7 +14,111 @@ sidebar_label: dart-dio
|
||||
|pubName|Name in generated pubspec| |null|
|
||||
|pubVersion|Version in generated pubspec| |null|
|
||||
|pubDescription|Description in generated pubspec| |null|
|
||||
|pubAuthor|Author name in generated pubspec| |null|
|
||||
|pubAuthorEmail|Email address of the author in generated pubspec| |null|
|
||||
|pubHomepage|Homepage in generated pubspec| |null|
|
||||
|useEnumExtension|Allow the 'x-enum-values' extension for enums| |null|
|
||||
|sourceFolder|Source folder for generated code| |null|
|
||||
|supportDart2|Support Dart 2.x (Dart 1.x support has been deprecated)| |true|
|
||||
|nullableFields|Is the null fields should be in the JSON payload| |null|
|
||||
|dateLibrary|Option. Date library to use|<dl><dt>**core**</dt><dd>Dart core library (DateTime)</dd><dt>**timemachine**</dt><dd>Time Machine is date and time library for Flutter, Web, and Server with support for timezones, calendars, cultures, formatting and parsing.</dd><dl>|core|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|BuiltMap|package:built_collection/built_collection.dart|
|
||||
|JsonObject|package:built_value/json_object.dart|
|
||||
|Uint8List|dart:typed_data|
|
||||
|BuiltList|package:built_collection/built_collection.dart|
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|array|List|
|
||||
|map|Map|
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>bool</li>
|
||||
<li>double</li>
|
||||
<li>num</li>
|
||||
<li>String</li>
|
||||
<li>int</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>do</li>
|
||||
<li>source</li>
|
||||
<li>while</li>
|
||||
<li>operator</li>
|
||||
<li>required</li>
|
||||
<li>patch</li>
|
||||
<li>late</li>
|
||||
<li>continue</li>
|
||||
<li>else</li>
|
||||
<li>function</li>
|
||||
<li>dynamic</li>
|
||||
<li>catch</li>
|
||||
<li>export</li>
|
||||
<li>if</li>
|
||||
<li>case</li>
|
||||
<li>new</li>
|
||||
<li>static</li>
|
||||
<li>void</li>
|
||||
<li>in</li>
|
||||
<li>var</li>
|
||||
<li>finally</li>
|
||||
<li>this</li>
|
||||
<li>is</li>
|
||||
<li>sync</li>
|
||||
<li>typedef</li>
|
||||
<li>enum</li>
|
||||
<li>covariant</li>
|
||||
<li>mixin</li>
|
||||
<li>as</li>
|
||||
<li>external</li>
|
||||
<li>extends</li>
|
||||
<li>null</li>
|
||||
<li>final</li>
|
||||
<li>true</li>
|
||||
<li>try</li>
|
||||
<li>implements</li>
|
||||
<li>deferred</li>
|
||||
<li>extension</li>
|
||||
<li>const</li>
|
||||
<li>import</li>
|
||||
<li>part</li>
|
||||
<li>for</li>
|
||||
<li>show</li>
|
||||
<li>interface</li>
|
||||
<li>out</li>
|
||||
<li>switch</li>
|
||||
<li>default</li>
|
||||
<li>library</li>
|
||||
<li>native</li>
|
||||
<li>assert</li>
|
||||
<li>get</li>
|
||||
<li>of</li>
|
||||
<li>yield</li>
|
||||
<li>await</li>
|
||||
<li>class</li>
|
||||
<li>on</li>
|
||||
<li>rethrow</li>
|
||||
<li>factory</li>
|
||||
<li>set</li>
|
||||
<li>break</li>
|
||||
<li>false</li>
|
||||
<li>abstract</li>
|
||||
<li>super</li>
|
||||
<li>async</li>
|
||||
<li>with</li>
|
||||
<li>hide</li>
|
||||
<li>inout</li>
|
||||
<li>throw</li>
|
||||
<li>return</li>
|
||||
</ul>
|
||||
|
||||
@@ -6,6 +6,7 @@ sidebar_label: dart-jaguar
|
||||
| Option | Description | Values | Default |
|
||||
| ------ | ----------- | ------ | ------- |
|
||||
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|
||||
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|
||||
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|
||||
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|
||||
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|
||||
@@ -13,8 +14,107 @@ sidebar_label: dart-jaguar
|
||||
|pubName|Name in generated pubspec| |null|
|
||||
|pubVersion|Version in generated pubspec| |null|
|
||||
|pubDescription|Description in generated pubspec| |null|
|
||||
|pubAuthor|Author name in generated pubspec| |null|
|
||||
|pubAuthorEmail|Email address of the author in generated pubspec| |null|
|
||||
|pubHomepage|Homepage in generated pubspec| |null|
|
||||
|useEnumExtension|Allow the 'x-enum-values' extension for enums| |null|
|
||||
|sourceFolder|Source folder for generated code| |null|
|
||||
|supportDart2|Support Dart 2.x (Dart 1.x support has been deprecated)| |true|
|
||||
|nullableFields|Is the null fields should be in the JSON payload| |null|
|
||||
|serialization|Choose serialization format JSON or PROTO is supported| |null|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|array|List|
|
||||
|map|Map|
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>bool</li>
|
||||
<li>double</li>
|
||||
<li>num</li>
|
||||
<li>String</li>
|
||||
<li>int</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>do</li>
|
||||
<li>source</li>
|
||||
<li>while</li>
|
||||
<li>operator</li>
|
||||
<li>required</li>
|
||||
<li>patch</li>
|
||||
<li>late</li>
|
||||
<li>continue</li>
|
||||
<li>else</li>
|
||||
<li>function</li>
|
||||
<li>dynamic</li>
|
||||
<li>catch</li>
|
||||
<li>export</li>
|
||||
<li>if</li>
|
||||
<li>case</li>
|
||||
<li>new</li>
|
||||
<li>static</li>
|
||||
<li>void</li>
|
||||
<li>in</li>
|
||||
<li>var</li>
|
||||
<li>finally</li>
|
||||
<li>this</li>
|
||||
<li>is</li>
|
||||
<li>sync</li>
|
||||
<li>typedef</li>
|
||||
<li>enum</li>
|
||||
<li>covariant</li>
|
||||
<li>mixin</li>
|
||||
<li>as</li>
|
||||
<li>external</li>
|
||||
<li>extends</li>
|
||||
<li>null</li>
|
||||
<li>final</li>
|
||||
<li>true</li>
|
||||
<li>try</li>
|
||||
<li>implements</li>
|
||||
<li>deferred</li>
|
||||
<li>extension</li>
|
||||
<li>const</li>
|
||||
<li>import</li>
|
||||
<li>part</li>
|
||||
<li>for</li>
|
||||
<li>show</li>
|
||||
<li>interface</li>
|
||||
<li>out</li>
|
||||
<li>switch</li>
|
||||
<li>default</li>
|
||||
<li>library</li>
|
||||
<li>native</li>
|
||||
<li>assert</li>
|
||||
<li>get</li>
|
||||
<li>of</li>
|
||||
<li>yield</li>
|
||||
<li>await</li>
|
||||
<li>class</li>
|
||||
<li>on</li>
|
||||
<li>rethrow</li>
|
||||
<li>factory</li>
|
||||
<li>set</li>
|
||||
<li>break</li>
|
||||
<li>false</li>
|
||||
<li>abstract</li>
|
||||
<li>super</li>
|
||||
<li>async</li>
|
||||
<li>with</li>
|
||||
<li>hide</li>
|
||||
<li>inout</li>
|
||||
<li>throw</li>
|
||||
<li>return</li>
|
||||
</ul>
|
||||
|
||||
@@ -6,6 +6,7 @@ sidebar_label: dart
|
||||
| Option | Description | Values | Default |
|
||||
| ------ | ----------- | ------ | ------- |
|
||||
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|
||||
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|
||||
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|
||||
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|
||||
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|
||||
@@ -13,6 +14,105 @@ sidebar_label: dart
|
||||
|pubName|Name in generated pubspec| |null|
|
||||
|pubVersion|Version in generated pubspec| |null|
|
||||
|pubDescription|Description in generated pubspec| |null|
|
||||
|pubAuthor|Author name in generated pubspec| |null|
|
||||
|pubAuthorEmail|Email address of the author in generated pubspec| |null|
|
||||
|pubHomepage|Homepage in generated pubspec| |null|
|
||||
|useEnumExtension|Allow the 'x-enum-values' extension for enums| |null|
|
||||
|sourceFolder|Source folder for generated code| |null|
|
||||
|supportDart2|Support Dart 2.x (Dart 1.x support has been deprecated)| |true|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|array|List|
|
||||
|map|Map|
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>bool</li>
|
||||
<li>double</li>
|
||||
<li>num</li>
|
||||
<li>String</li>
|
||||
<li>int</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>do</li>
|
||||
<li>source</li>
|
||||
<li>while</li>
|
||||
<li>operator</li>
|
||||
<li>required</li>
|
||||
<li>patch</li>
|
||||
<li>late</li>
|
||||
<li>continue</li>
|
||||
<li>else</li>
|
||||
<li>function</li>
|
||||
<li>dynamic</li>
|
||||
<li>catch</li>
|
||||
<li>export</li>
|
||||
<li>if</li>
|
||||
<li>case</li>
|
||||
<li>new</li>
|
||||
<li>static</li>
|
||||
<li>void</li>
|
||||
<li>in</li>
|
||||
<li>var</li>
|
||||
<li>finally</li>
|
||||
<li>this</li>
|
||||
<li>is</li>
|
||||
<li>sync</li>
|
||||
<li>typedef</li>
|
||||
<li>enum</li>
|
||||
<li>covariant</li>
|
||||
<li>mixin</li>
|
||||
<li>as</li>
|
||||
<li>external</li>
|
||||
<li>extends</li>
|
||||
<li>null</li>
|
||||
<li>final</li>
|
||||
<li>true</li>
|
||||
<li>try</li>
|
||||
<li>implements</li>
|
||||
<li>deferred</li>
|
||||
<li>extension</li>
|
||||
<li>const</li>
|
||||
<li>import</li>
|
||||
<li>part</li>
|
||||
<li>for</li>
|
||||
<li>show</li>
|
||||
<li>interface</li>
|
||||
<li>out</li>
|
||||
<li>switch</li>
|
||||
<li>default</li>
|
||||
<li>library</li>
|
||||
<li>native</li>
|
||||
<li>assert</li>
|
||||
<li>get</li>
|
||||
<li>of</li>
|
||||
<li>yield</li>
|
||||
<li>await</li>
|
||||
<li>class</li>
|
||||
<li>on</li>
|
||||
<li>rethrow</li>
|
||||
<li>factory</li>
|
||||
<li>set</li>
|
||||
<li>break</li>
|
||||
<li>false</li>
|
||||
<li>abstract</li>
|
||||
<li>super</li>
|
||||
<li>async</li>
|
||||
<li>with</li>
|
||||
<li>hide</li>
|
||||
<li>inout</li>
|
||||
<li>throw</li>
|
||||
<li>return</li>
|
||||
</ul>
|
||||
|
||||
@@ -6,6 +6,7 @@ sidebar_label: dynamic-html
|
||||
| Option | Description | Values | Default |
|
||||
| ------ | ----------- | ------ | ------- |
|
||||
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|
||||
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|
||||
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|
||||
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|
||||
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|
||||
@@ -13,3 +14,25 @@ sidebar_label: dynamic-html
|
||||
|groupId|groupId in generated pom.xml| |null|
|
||||
|artifactId|artifactId in generated pom.xml. This also becomes part of the generated library's filename| |null|
|
||||
|artifactVersion|artifact version in generated pom.xml. This also becomes part of the generated library's filename| |null|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|array|ArrayList|
|
||||
|map|HashMap|
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"></ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"></ul>
|
||||
|
||||
@@ -8,3 +8,113 @@ sidebar_label: eiffel
|
||||
|packageName|Eiffel Cluster name (convention: lowercase).| |openapi|
|
||||
|packageVersion|Eiffel package version.| |1.0.0|
|
||||
|hideGenerationTimestamp|Hides the generation timestamp when files are generated.| |true|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|LocalDateTime|org.joda.time.*|
|
||||
|Set|java.util.*|
|
||||
|LocalTime|org.joda.time.*|
|
||||
|HashMap|java.util.HashMap|
|
||||
|ArrayList|java.util.ArrayList|
|
||||
|URI|java.net.URI|
|
||||
|Timestamp|java.sql.Timestamp|
|
||||
|LocalDate|org.joda.time.*|
|
||||
|BigDecimal|java.math.BigDecimal|
|
||||
|Date|java.util.Date|
|
||||
|DateTime|org.joda.time.*|
|
||||
|Array|java.util.List|
|
||||
|List|java.util.*|
|
||||
|UUID|java.util.UUID|
|
||||
|File|java.io.File|
|
||||
|Map|java.util.Map|
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|array|ARRAYED_LIST|
|
||||
|list|ARRAYED_LIST|
|
||||
|map|STRING_TABLE|
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>INTEGER_16</li>
|
||||
<li>NATURAL_16</li>
|
||||
<li>INTEGER_8</li>
|
||||
<li>REAL_32</li>
|
||||
<li>INTEGER_32</li>
|
||||
<li>INTEGER_64</li>
|
||||
<li>REAL_64</li>
|
||||
<li>NATURAL_8</li>
|
||||
<li>BOOLEAN</li>
|
||||
<li>NATURAL_64</li>
|
||||
<li>NATURAL_32</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>agent</li>
|
||||
<li>select</li>
|
||||
<li>separate</li>
|
||||
<li>convert</li>
|
||||
<li>do</li>
|
||||
<li>when</li>
|
||||
<li>else</li>
|
||||
<li>loop</li>
|
||||
<li>elseif</li>
|
||||
<li>only</li>
|
||||
<li>precursor</li>
|
||||
<li>variant</li>
|
||||
<li>create</li>
|
||||
<li>from</li>
|
||||
<li>export</li>
|
||||
<li>if</li>
|
||||
<li>all</li>
|
||||
<li>ensure</li>
|
||||
<li>void</li>
|
||||
<li>like</li>
|
||||
<li>old</li>
|
||||
<li>frozen</li>
|
||||
<li>require</li>
|
||||
<li>check</li>
|
||||
<li>then</li>
|
||||
<li>undefine</li>
|
||||
<li>invariant</li>
|
||||
<li>as</li>
|
||||
<li>external</li>
|
||||
<li>once</li>
|
||||
<li>inspect</li>
|
||||
<li>true</li>
|
||||
<li>deferred</li>
|
||||
<li>note</li>
|
||||
<li>obsolete</li>
|
||||
<li>local</li>
|
||||
<li>result</li>
|
||||
<li>across</li>
|
||||
<li>redefine</li>
|
||||
<li>tuple</li>
|
||||
<li>current</li>
|
||||
<li>expanded</li>
|
||||
<li>not</li>
|
||||
<li>feature</li>
|
||||
<li>and</li>
|
||||
<li>alias</li>
|
||||
<li>end</li>
|
||||
<li>xor</li>
|
||||
<li>attribute</li>
|
||||
<li>class</li>
|
||||
<li>rescue</li>
|
||||
<li>retry</li>
|
||||
<li>debug</li>
|
||||
<li>or</li>
|
||||
<li>false</li>
|
||||
<li>rename</li>
|
||||
<li>inherit</li>
|
||||
<li>until</li>
|
||||
<li>implies</li>
|
||||
<li>assign</li>
|
||||
</ul>
|
||||
|
||||
@@ -6,9 +6,64 @@ sidebar_label: elixir
|
||||
| Option | Description | Values | Default |
|
||||
| ------ | ----------- | ------ | ------- |
|
||||
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|
||||
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|
||||
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|
||||
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|
||||
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|
||||
|invokerPackage|The main namespace to use for all classes. e.g. Yay.Pets| |null|
|
||||
|licenseHeader|The license header to prepend to the top of all source files.| |null|
|
||||
|packageName|Elixir package name (convention: lowercase).| |null|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|LocalDateTime|org.joda.time.*|
|
||||
|Set|java.util.*|
|
||||
|LocalTime|org.joda.time.*|
|
||||
|HashMap|java.util.HashMap|
|
||||
|ArrayList|java.util.ArrayList|
|
||||
|URI|java.net.URI|
|
||||
|Timestamp|java.sql.Timestamp|
|
||||
|LocalDate|org.joda.time.*|
|
||||
|BigDecimal|java.math.BigDecimal|
|
||||
|Date|java.util.Date|
|
||||
|DateTime|org.joda.time.*|
|
||||
|Array|java.util.List|
|
||||
|List|java.util.*|
|
||||
|UUID|java.util.UUID|
|
||||
|File|java.io.File|
|
||||
|Map|java.util.Map|
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
|
||||
| Type/Alias | Instantiated By |
|
||||
| ---------- | --------------- |
|
||||
|
||||
|
||||
## LANGUAGE PRIMITIVES
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>Integer</li>
|
||||
<li>Float</li>
|
||||
<li>List</li>
|
||||
<li>PID</li>
|
||||
<li>String</li>
|
||||
<li>Boolean</li>
|
||||
<li>Map</li>
|
||||
<li>Atom</li>
|
||||
<li>Tuple</li>
|
||||
<li>DateTime</li>
|
||||
</ul>
|
||||
|
||||
## RESERVED WORDS
|
||||
|
||||
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>nil</li>
|
||||
<li>__DIR__</li>
|
||||
<li>__ENV__</li>
|
||||
<li>__CALLER__</li>
|
||||
<li>__FILE__</li>
|
||||
<li>true</li>
|
||||
<li>false</li>
|
||||
<li>__MODULE__</li>
|
||||
</ul>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user