forked from loafle/openapi-generator-original
* PoC json_serializable in dart-dio-next * Move build.yaml template into json_serializable dir * Undo implicit-dynamic change * Fix automatic formatting * Treat non-required fields as nullable * Make class properties final * Fix error introduced by merging in master * Fix map creation when deserializing * Exclude built files from analysis * Add new dio import props * Fix broken merge * Fix configuration of nullable properties * Only add api_util import if using built value * Add config param to set properties as final * Fix syntax error due to merge * Update to simplified dio configuration * Add missing api constructor template * Fix import for multipart files * Fix inclusion of library deserialize template * Update docs * Remove trailing newline from class * Fix whitespace in generated templates * FIx built value generation problem caused by merge conflicts * Escape dollar signs in strings * Handle enums * Config for json_serializable sample * Generate sample for json_serializable * Revert "Escape dollar signs in strings" This reverts commit 6e2a3aeea0450518433f2a07fe7cda92272b18a5. * Use raw strings when dealing with enum values * Add json_serializable Maven module ind fix number based enums * regenerate all tests * Update docs and fix wrong maven module * add a beta hint to json_serializable option * Update minimum dart sdk with json serializable * Use dart 2.14 when testing Dart samples * Update codegen to remove analysis errors in output Co-authored-by: Peter Leibiger <kuhnroyal@gmail.com>
The following generators are available:
CLIENT generators
- ada
- android
- apex
- bash
- c
- clojure
- cpp-qt5-client
- cpp-restsdk
- cpp-tizen
- csharp
- csharp-netcore
- dart
- dart-dio
- eiffel
- elixir
- elm
- erlang-client
- erlang-proper
- go
- go-experimental (experimental)
- groovy
- haskell-http-client
- java
- javascript
- javascript-closure-angular
- javascript-flowtyped
- jaxrs-cxf-client
- jmeter
- kotlin
- lua
- nim (beta)
- objc
- ocaml
- perl
- php
- php-dt
- powershell
- python
- python-legacy
- r
- ruby
- rust
- scala-akka
- scala-gatling
- scalaz
- swift4
- swift5 (beta)
- typescript-angular
- typescript-angularjs
- typescript-aurelia
- typescript-axios
- typescript-fetch
- typescript-inversify
- typescript-jquery
- typescript-node
- typescript-redux-query
- typescript-rxjs
SERVER generators
- ada-server
- aspnetcore
- cpp-pistache-server
- cpp-qt5-qhttpengine-server
- cpp-restbed-server
- erlang-server
- fsharp-functions (beta)
- fsharp-giraffe-server (beta)
- go-gin-server
- go-server
- graphql-nodejs-express-server
- haskell
- java-inflector
- java-msf4j
- java-pkmst
- java-play-framework
- java-undertow-server
- java-vertx
- java-vertx-web (beta)
- jaxrs-cxf
- jaxrs-cxf-cdi
- jaxrs-cxf-extended
- jaxrs-jersey
- jaxrs-resteasy
- jaxrs-resteasy-eap
- jaxrs-spec
- kotlin-server
- kotlin-spring
- kotlin-vertx (beta)
- nodejs-express-server (beta)
- php-laravel
- php-lumen
- php-mezzio-ph
- php-slim4
- php-symfony
- python-aiohttp
- python-blueplanet
- python-flask
- ruby-on-rails
- ruby-sinatra
- rust-server
- scala-finch
- scala-lagom-server
- scala-play-server
- scalatra
- spring