William Cheng
704c1b8893
update petstore samples
2018-08-23 18:52:34 +08:00
William Cheng
3d06900e68
Prepare 3.2.3-SNAPSHOT version ( #870 )
2018-08-22 13:39:20 +02:00
Jérémie Bresson
79b993e6d5
Prepare version 3.2.2-SNAPSHOT ( #810 )
2018-08-14 13:38:18 +02:00
William Cheng
90a8b81728
Prepare 3.2.1-SNAPSHOT release ( #748 )
...
* prepare 3.2.1 SNAPSHOT release
* update doc to use 3.2.0 stable version
2018-08-07 01:31:37 +08:00
William Cheng
ab08dd1d26
Better handling of operationID starting with numbers ( #691 )
...
* add numeric operationid to test spec
* better handling of operationId in more generators
* fix go toOperationId
* update samples
* update java samples
* update java samples (vertx, webclient)
* update java google api client sample
* fix typo, update OAS3 test spec, update php petstore (oas3)
* defer camelize in operationid
* remove duplicated sanitizeName
2018-08-01 22:31:58 +08:00
Jérémie Bresson
a8e8acead7
[java] add useNullForUnknownEnumValue option ( #633 )
2018-07-26 11:00:45 +02:00
Daonomic
0a52f56ba4
Support for discriminator.mapping ( #536 )
2018-07-18 06:14:42 +02:00
Jeremie Bresson
0cc60d39d2
Merge remote-tracking branch 'origin/master' into 3.2.x
2018-07-13 07:25:49 +02:00
John Wang
19fd48e33b
[Golang][client] fix formData
file
parameter name use ( #506 )
...
* support form-data file MIME `name` parameter
* update test spec and Go client for form-data file name
* update samples for ensure-up-to-date
* update mustache template
* update samples for Go client
* improve assignment location
* update samples
2018-07-13 00:53:38 +08:00
Jeremie Bresson
23c04e2e66
Prepare version 3.2.0-SNAPSHOT
2018-07-07 06:14:58 +02:00
Jérémie Bresson
4b6fb504a2
Prepare version 3.1.1-SNAPSHOT ( #487 )
2018-07-07 06:05:19 +02:00
John Wang
0bffdf2463
[Golang][client] fix for schema definition name file
( #433 )
...
* fix schema/definition name as 'file'
* update samples
* Trigger CI due to previous Shippable race condition
* add fix with toModelName(openAPIType)
* update tests for file schema/definition name
* Update 3.0 test spec
* update samples
* update samples for jaxrs-cxf
* Trigger CI due to previous Shippable race condition
* add back explode
2018-07-05 20:32:24 +08:00
Jérémie Bresson
7a7e221210
[Java] option for the prefix of boolean getters ( #432 )
...
* Add "booleanGetterPrefix" option
* Create `docs/migration-guide.adoc`
2018-07-03 17:00:15 +02:00
William Cheng
862fe79f32
Minor improvement to Go client generator, move test case ( #430 )
...
* move test cases to under fake endpoint
* remove trailing spaces in the template
* update samples
* add new file
* minor fix to OAS3 spec
2018-07-02 10:23:12 +08:00
John Wang
e960fe9512
[Golang][client] fix undefined: localVarFile ( #382 )
...
* fix undefined: localVarFile
* add required formData file endpoints to 2.0 and 3.0 specs
* streamline api.mustache update
* update sampels
* update samples
* update samples
* update samples bin/jaxrs-cxf-client-petstore.sh
* update samples
* update samples
* update samples run-all-petstore
* update samples
* update samples
* Trigger CI due to race condition
* update samples
* update samples
* Trigger CI due to previous timeout
* Trigger CI due to previous Shippable timeout
* Trigger CI due to previous Shippable race condition
2018-07-01 16:58:45 +08:00
William Cheng
a897feef50
Fix alias to map in the model's properties ( #360 )
...
* add test case for ref to map (boolean) in fake petstore spec
* fix alias to map in model properties
* remove logging from new method
* update samples for the new map test case
* fix javadoc string
* skip testSanitizeNestedInvalidValue in php test
* skip test in php oas3 client
* add logic to handle outer enum
* update samples
* fix alias in model's allOf
* generate models for map def
* update petstore samples
* update petstore samples
2018-06-21 22:59:02 +08:00
Jeremie Bresson
478b0d6101
Merge remote-tracking branch 'origin/master' into 3.1.x
2018-06-19 07:32:52 +02:00
Jérémie Bresson
9511586f07
Prepare 3.0.3-SNAPSHOT ( #338 )
2018-06-18 09:32:11 +02:00
William Cheng
53d9878cf2
Update Petstore samples ( #331 )
...
* Grammar and spelling fixes
* update petstore samples
2018-06-17 01:33:36 +08:00
Jeremie Bresson
a878749f6c
Merge remote-tracking branch 'origin/master' into 3.1.x
2018-06-12 16:26:44 +02:00
Christophe Bornet
d2016d8e0a
Fix spring controller validation ( #225 )
2018-06-12 20:45:17 +08:00
Jeremie Bresson
c223f28171
Initial commit for 3.1.0-SNAPSHOT
2018-06-12 06:27:26 +02:00
Jérémie Bresson
8ae1c814d5
Prepare 3.0.2-SNAPSHOT ( #285 )
...
Set version `3.0.2-SNAPSHOT`.
Follow up from #280
2018-06-11 13:22:03 -04:00
Christophe Bornet
7a1945e154
[Spring] Add apiFirst option ( #184 )
...
* [Spring] Add apiFirst option
* Git diff to see what's wrong
* Git diff to see what's wrong
* Update bin/ensure-up-to-date
* Run bin/ensure-up-to-date
2018-06-07 13:55:12 +08:00
Jérémie Bresson
1e5e1d4458
Prepare 3.0.1-SNAPSHOT ( #195 )
...
* Restore version to 3.0.0-SNAPSHOT
* Set version to 3.0.1-SNAPSHOT
* Run ensure-up-to-date
* Remove duplicated version declaration
2018-06-02 10:57:33 +08:00
Christophe Bornet
71b5de3ed5
Do not set contextPath for spring-boot ( #104 )
2018-05-28 16:29:09 +08:00
Jérémie Bresson
059a3efe46
Regenerate samples ( #367 )
2018-05-08 16:44:51 +08:00
Jérémie Bresson
e2f8976fa7
Remove old metadata files ( #357 )
2018-05-07 13:31:17 +02:00
cbornet
1619486578
Add reactive option for Spring Boot (webflux)
2018-05-05 17:26:08 +02:00
Akihito Nakano
08e0393def
Fix missing examples ( #305 )
...
* Fix missing examples
* support ArraySchema
* Refactor: move the logic to generate samples from DefaultCodegen to ExampleGenerator
* Delete unnecessary argument
OpenAPI is passed in constructor
* Delete unnecessary 'import'
* Update samples ( bin/springboot-petstore-server.sh )
* Update samples ( bin/openapi3/nodejs-petstore-server.sh )
2018-05-04 17:25:49 +08:00
Jérémie Bresson
1492df6cef
Override server port for Jetty configuration ( #246 )
2018-05-02 07:11:29 +02:00
Jérémie Bresson
25ccef818d
Rename default package for spring generator ( #221 )
2018-04-24 18:20:44 +02:00
Jérémie Bresson
949ef4453a
Generate java spring OAS2 ( #216 )
2018-04-24 16:26:52 +02:00
Jérémie Bresson
7ecd5f3566
Rename "swagger" to "openapi" ( #191 )
...
* Rename ".swagger-codegen-ignore" to ".openapi-generator-ignore"
* Rename setGenerateSwaggerMetadata(Boolean) to setGenerateMetadata(Boolean)
* Rename Metadata Folder to .openapi-generator
2018-04-22 21:28:17 +02:00
Simon Sprünker
f00a1ef52c
[JAVA] Fix #7734 : Correct consumes/produces attributes for Spring Controllers ( #7760 )
...
* fix #7734 : Correct consumes/produces attributes for Spring Controllers
* fix #7734 : Update petstore
2018-03-08 22:56:43 +08:00
Adam Conway
ff1178ad7e
[Java][Spring] fix optional query params missing in generated swagger ( #7607 )
...
* Added genericModelSubstitutes if using Optional
As per https://github.com/springfox/springfox/issues/1848 Doesn't seem to fix the problem, but is what springfox recommends so might be aprt of it.
* Added config package to scans
If you have defined apiPackage and basepackage (e.g. as com.example.api) but not defined configPackage then config is still in io.swagger.config and is not included in the component scan. This means the config is not used when generating the swagger definition from the code. Fixed by including configPackage also in the scan.
* Ran spring-all-pestore.sh update script
* Converted tabs to spaces
* Ran spring-all-pestore.sh update script
2018-02-23 00:02:38 +08:00
wing328
cf21ac0327
update spring petstore samples
2018-01-29 01:38:13 +08:00
wing328
73c338be58
Merge remote-tracking branch 'origin/master' into 2.4.0
2018-01-13 15:54:41 +08:00
William Cheng
8aef689d1b
[Java] allow setting boolean getter (is, has, get) in templates ( #7344 )
...
* allow setting java boolean getter (is, has, get) in templates
* update msf4j boolean getter
* update jaxrs-spec boolean handler
* update jaxrs boolean getter
* update reasteasy, spring, cxf boolean getter
* update inflector boolean getter
* update java play boolean getter
* update java boolean getter
* update spring samples
2018-01-13 15:19:02 +08:00
Mehdi Jouan
c7f12d6c2d
[Spring][Java] fix support of long values for @Max and @Min annotations ( #7227 )
...
* add support of long values for @Max and @Min annotations
* run shell scripts for java and spring
* fix import issue after running shell script
2018-01-08 00:22:06 +08:00
Christophe Bornet
79326399ef
Fix starting springboot server from IDE ( #7184 )
2017-12-16 11:19:31 +08:00
elion
20ace869b7
Issue 7151 2.3.0 ( #7181 )
...
* Removed redundant version declaration. Upgraded Spring boot dependency version.
* Update samples
2017-12-15 21:04:00 +08:00
wing328
1d44bb8141
update spring petstore samples
2017-12-15 00:02:43 +08:00
wing328
55410a3d4a
update spring petstore sample
2017-11-27 22:12:46 +08:00
Kenny Jones
63fce58931
[Java][Spring] Resolve serialization warning from RFC3339DateFormat ( #6960 )
...
Adds `serialVersionUID` to RFC3339DateFormat.java to avoid Java warning.
2017-11-21 12:14:02 +08:00
Christophe Bornet
fe2ed67f20
Remove Accept request header from api signature ( #6704 )
...
* Remove Accept request header from api signature
* Inject HttpServletRequest to get request header and clean templates
* Use constructor injection for HttpServletRequest
* Implement example in default controller responses
2017-10-27 22:45:30 +08:00
wing328
6814530d69
fix enum in path parameter (spring) ( #6810 )
2017-10-25 22:30:36 +08:00
Will Neild
e4abddf253
Fix spring api operation annotation ( #6700 )
...
* * Fix apioperation annotation using generics in class reference for spring server generation
* * Regenerate classes for new spring template
2017-10-18 16:38:12 +08:00
Elias Ovchynnikov
3f7f6b8599
Add operationId as nickname to @ApiOperation ( #6688 )
...
* Add operationId as nickname to @ApiOperation
* Refresh samples after adding nicknames to @ApiOperation
2017-10-16 10:18:32 +08:00
wing328
d054a43b65
update java server samples
2017-10-09 23:00:44 +08:00