meganemura
b9949e1a8e
Generate a ruby-client sample for OpenAPI 2.0 ( #1482 )
...
* Move output directory for bin/openapi3/ruby-client-petstore.sh
$ git mv sample/client/petstore/ruby sample/openapi3/client/petstore/ruby-client
* $ bin/ruby-client-petstore.sh
* Run bin/ruby-client-petstore.sh in bin/utils/ensure-up-to-date
2018-11-19 17:02:19 +08:00
William Cheng
36991a4e14
Improve ensure-up-to-date script ( #1362 )
...
* improve ensure-up-to-date script
* trigger build failure
* use exit 1 instead
* fix build failure
* update samples
2018-11-02 15:38:34 +08:00
Dec12 | Fujigon
bb056ccf3d
[General] fix InlineModelResolver's logic and use openapi-generator's InlineModelResolver, so that nested "required" works correctly ( #1200 )
...
* fix InlineModelResolver's logis and use openapi-generator's InlineModelResolver, so that nested "required" works correctly
* add "required" to nested model schema
* update ensure-up-to-date to include openapi v3's jaxrs
* change test required field
* fix sample shell script, hide timestamp
* fix NPE
* move test case to petstore-with-fake-endpoints-models-for-testing.yaml
* fix jaxrs-jersey (oas3) example generate shell script to use petstore-with-fake-endpoints-models-for-testing.yaml
* add default value
* re-generate samples
2018-10-23 16:51:55 +08:00
William Cheng
a55533c178
Add "servers" support to Ruby API client ( #1280 )
...
* update ruby samples with OAS3 spec
* add server support to ruby api client
* minor format change
* minor format fix, skip form models
* better exception and add test for invaid value
* remove exception test code
2018-10-22 12:52:52 +08:00
William Cheng
2b87b309ad
Rename environment variable for Go to post-process file ( #1091 )
...
* renmae Go post process file env variable
* add back samples/client/petstore/c/libcurl.licence
* keep go samples up-to-date
* update go petstore samples
* update go samples without formatting
2018-10-01 21:24:32 +08:00
Yuriy Belenko
e4b5f50515
MySQL Schema Generator #955 ( #1055 )
...
* [Mysql Schema] Add new generator
* [Mysql Schema] Fix default definition
* [Mysql Schema] Add defaultDatabaseName option
* [Mysql Schema] Add jsonDataTypeEnabled option
* [Mysql Schema] Add samples
2018-10-01 15:59:18 +08:00
William Cheng
cbddb08468
Add post processing to files generated by Haskell generators ( #968 )
...
* add hfmt support (without updating the sample)
* update haskell httpclient samples with hfmt
* add code format option to haskell servant, minor bug fixes
* update code samples with hfmt
* update samples using stylish-haskell
* rename env variable
* update haskell samples with stylish-haskell
* regenerate haskell samples without stylish-haskell
* regenerate haskell servant sample
* update example-app & tests-integration for OAS2 code
2018-09-29 17:21:03 +08:00
kemokemo
14de289fc1
[Go] Add a generator for the gin framework ( #1048 )
...
* copy from go-server and add go-gin-server generator
* change the templates for the gin
* fix warnings of the golint tool
* fix the path of script
* add samples
* delete unnecessary comments (#1048 )
* make the help message more appropriate (#1048 )
* fix the link address format (#1048 )
* minor improvement
2018-09-22 00:45:32 +08:00
Jérémie Bresson
31149a5a69
Publish documentation for the generators ( #932 )
2018-08-31 16:00:27 +02:00
Jérémie Bresson
8e1e05e86c
[CLI] Improvements for meta and list command ( #799 )
2018-08-29 06:56:37 +02:00
William Cheng
5ffc297a69
Fix Ruby script path in ensure-up-to-date ( #823 )
...
* fix ruby script path in ensure-up-to-date
* bin/ruby-client-petstore.sh
2018-08-16 13:59:47 +08:00
William Cheng
b64864f47d
Fix float/double default value in C# generator ( #791 )
...
* fix float/double default value
* better code format
* better CI for openapi3 batch files (C# client)
* update nancyfx samples
* pipe output to /dev/null to reduce log size
* fix windows batch file
* add C# API client generated by OAS3 spec
2018-08-13 13:28:22 +08:00
Jon Schoning
f6c21057e1
[haskell-http-client] regen samples ( #709 )
...
* [haskell-http-client] regen samples
* ensure the haskell-http-client samples are always up-to-date
2018-08-05 15:11:52 -05:00
Benjamin Gill
bd33a333af
Ensure rust-server sample is kept up to date ( #600 )
2018-07-19 18:16:36 +08:00
Akihito Nakano
6d6ef0f120
[PHP] Refactor php client generator ( #504 )
...
* Extends AbstractPhpCodegen instead of DefaultCodegen
* Remove fully duplicated methods with AbstractPhpCodegen
* Remove duplicated properties with AbstractPhpCodegen
* Remove duplicated codes in constructor with AbstractPhpCodegen
* Add typeMapping "date". Moved from PhpClientCodegen
refs: 3c34c0b377 (diff-f1801ef05a7926bf394c90f44ae4ab3dL132)
* Remove duplicated codes in processOpts()
* Remove unnecessary 'implements'
* Remove unnecessary method override
* Use setter
* Merge getTypeDeclaration() into AbstractPhpCodegen
* Merge processOpts() into AbstractPhpCodegen
refs:
* 296e6d3db4 (diff-f1801ef05a7926bf394c90f44ae4ab3dL139)
* 296e6d3db4 (diff-f1801ef05a7926bf394c90f44ae4ab3dL147)
* 296e6d3db4 (diff-f1801ef05a7926bf394c90f44ae4ab3dL153)
* tweak
* Optimize IF statement
* Remove duplicated methods
* Merge setParameterExampleValue() into AbstractPhpCodegen
* Merge toEnumVarName() into AbstractPhpCodegen
* Merge toEnumName() into AbstractPhpCodegen
* Merge escapeUnsafeCharacters() into AbstractPhpCodegen
* Merge postProcessOperationsWithModels() into AbstractPhpCodegen
* tweak
* Recover missing method
refs: 2ad0f6f7d4 (diff-f1801ef05a7926bf394c90f44ae4ab3dL91)
* Tweak test case
refs: 4e7b7afc1a
* Remove unnecessary 'import'
* Update lumen and ze-ph samples
- ./bin/php-lumen-petstore-server.sh > /dev/null 2>&1
- ./bin/php-ze-ph-petstore-server.sh > /dev/null 2>&1
* Update slim samples
* Fix script name
* Update silex samples
* Update kotlin-server
2018-07-17 09:27:02 +08:00
Akihito Nakano
837b10aab5
Fix script names ( #508 )
2018-07-08 23:05:27 +08:00
Esteban Marin
3408866b79
Ensure typescript samples are up to date ( #444 )
...
See #80
2018-07-06 07:56:51 +02:00
John Wang
0eb385c0d6
Update path in error message ( #403 )
2018-06-26 09:05:21 +02:00
Ville Skyttä
798bf61fde
Grammar and spelling fixes ( #329 )
2018-06-17 00:49:01 +08:00
William Cheng
6c996a7d1a
Various improvement to CI ( #326 )
...
* Various improvement to CI
* trigger a failure
* disable ensure up-to-date script
* move ensure-up-to-date under bin/utils, pipe update to /dev/null
2018-06-15 16:18:31 +08:00