Ville Skyttä
85c7e7697a
Perl example fixes ( #3652 )
...
* perl: Add configuration and classname imports to examples
* perl: Fix list container syntax in examples
2016-08-28 15:56:00 +08:00
Ville Skyttä
756f7a96f6
java: Fix model package import in example
2016-08-28 01:00:34 +03:00
Ville Skyttä
b4c139f19b
Spelling fixes
2016-08-27 02:34:33 +03:00
Guo Huang
be0233c609
[Go] fixing code gen not recognizing 'object' type issue
2016-08-25 21:44:57 -07:00
wing328
419c3165ea
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-08-25 23:14:58 +08:00
wing328
81f947e723
update android petstore sample, add this to volley's model
2016-08-25 23:12:23 +08:00
wing328
12fbbfbd6d
Merge branch 'mikesol-patch-android-classVarName' of https://github.com/mikesol/swagger-codegen into mikesol-mikesol-patch-android-classVarName
2016-08-25 23:05:09 +08:00
wing328
d590b849cc
Merge pull request #3626 from medallia/flatten-composed-model
...
Adds flattener for ComposedModel
2016-08-25 23:04:01 +08:00
Tony Wang
beaf1fc7aa
fix #3477 , add RxSwift support for Swift ( #3490 )
...
* fix #3477 , add RxSwift support for Swift
* make the SwaggerClient scheme shared
2016-08-25 19:34:12 +08:00
cbornet
194c389a06
fix some inheritance/composition issues and add allOf unit tests
...
Fix #3629 #3544 #3474 #3636
2016-08-24 17:11:45 +02:00
Jason Gavris
e89f914e8b
[Swift] Handle String responses
2016-08-23 10:18:01 -04:00
Jason Gavris
3a457c6a7e
[Swift] Handle Void responses
2016-08-23 10:03:51 -04:00
Diego de Estrada
84de96ef65
Adds flattener for ComposedModel
2016-08-22 17:54:30 -03:00
Ryan Martin
c1f3c51427
[Swift] Include HTTP status code and body data in response errors
...
This is useful when differentiating different error responses. Example:
if let e = error {
switch e {
case ErrorResponse.Error(400, _, _): responseLabel.text = "Unknown error"
case ErrorResponse.Error(403, _, _): responseLabel.text = "Not logged in"
default: responseLabel.text = "\(e)"
}
}
The existing error is straight from Alamofire and only includes the HTTP
status code in the body of the message (not broken out as a separate value).
It also does not include the response body, which may be useful.
2016-08-22 12:30:03 -04:00
Damien Pontifex
54fe7a731c
inject base_path opaque token for typescript angular2 ( #3514 )
...
* inject base_path opaque token for typescript angular2
* Readme note on providing base path to service
2016-08-22 21:40:51 +08:00
Yet Another Minion
9a77c48540
For Qt5 server generator, add BaseIntegerProperty to default values ( #3622 )
...
* For Qt5 server generator, add BaseIntegerProperty to default values
* move base property check to after checks of extended properties
2016-08-22 19:52:10 +08:00
wing328
dd52d666c5
Merge pull request #3623 from wing328/ruby_better_pattern
...
Add function to handle missing delimiter in regex
2016-08-22 19:12:03 +08:00
wing328
a58845bb0f
add function to handle missing delimiter in regex
2016-08-22 18:01:06 +08:00
regga-ws
4d94511935
Allowing generators to be aware of original inputSpec path ( #3592 )
...
* Enabling knowledge of inputSpec path for custom generators
* Enabling knowledge of inputSpec path for custom generators
* Enabling direct use of "inputSpec" property in templates
* Fixing spaces
2016-08-22 16:04:53 +08:00
wing328
4e20bd9bab
[Java][Spring][Inflector][Jax-RS] To fix various enum issues ( #3615 )
...
* fix spring enum deserialization issue
* fix enum class for spring
* update java inflector to fix enum tostring
* fix jaxrs jersey1 enum toString
* fix jaxrs jersey patch issue
2016-08-20 17:54:45 +08:00
Kevin Chabreck
64e03422c0
[Spring Boot] use port defined in spec file for server.port value ( #3605 )
...
* uncommented server.port property in application.mustache template and set it to serverPort value parsed from spec file
* update Petstore sample for Spring MVC and Boot
2016-08-19 17:29:36 +08:00
Mike Solomon
8536d7991c
Uses this.{{name}} to scope instance
...
Otherwise, if {{classVarName}} is the same as a class member name, the function will not work.
2016-08-19 10:11:31 +03:00
wing328
24c0038cce
[Java][Inflector] Fix enum issue with java inflector ( #3606 )
...
* fix enum issue with java inflector
* update pom to test java-inflector
2016-08-18 09:48:50 +08:00
wing328
661c911d27
Merge branch 'issue-3461-configurable-transport' of https://github.com/neilotoole/swagger-codegen into neilotoole-issue-3461-configurable-transport
2016-08-17 22:52:44 +08:00
wing328
0196cfad55
Merge pull request #3599 from ggood/okhttp-gson-template-path-fix
...
Don't escape path in generated okhttp-gson client code
2016-08-17 15:21:37 +08:00
wing328
c166609438
Merge pull request #3595 from MikeRalphson/patch-1
...
Fix typo, descripton -> description
2016-08-17 11:21:13 +08:00
Gordon Good
534e4db527
Don't escape path in generated okhttp-gson client code
...
The mustache templates for the other Java clients (e.g
Java/api.mustache) use 3 curly brackets around the path variable
so the path is not escaped. Make the okhttp-gson template
consistent with them.
2016-08-16 17:12:37 -07:00
Tony Tam
7bc9c4041b
added configuration for swagger-yaml output file, #3597
2016-08-16 15:59:47 -07:00
Mike Ralphson
f6a91db2d3
Fix typo, descripton -> description
2016-08-16 22:42:00 +01:00
wing328
7a49f96a03
Merge pull request #3591 from scottrw93/read-only-fix
...
Create setter for models inline with Issue 3210
2016-08-16 16:03:14 +08:00
wing328
9858403f2e
Merge pull request #3582 from regga-ws/compiler-customization
...
Adding support for JMustache compiler customization
2016-08-16 14:21:20 +08:00
Scott Williams
68d63ec783
Create setter for models inline with Issue 3210
2016-08-15 23:31:30 +01:00
Nekrasov Aleksander
91675c97e2
Fix resteasy offsetdatetime provier ( #3332 )
...
* Fix offsetDateTime and remove unnecessary override annotations
* Update petstore samples to CI for resteasy testing
* fix resteasy templates path
* add ability to hide generated annotations
* Update petstore resteasy samples
* Deduplicate artifact names in resteasy projects
2016-08-15 23:46:52 +08:00
Alexandre Estela
9d5e2c0224
Adding support for JMustache compiler customization
2016-08-12 12:21:10 +02:00
wing328
3d717bd874
add symbolic enum support to csharp
2016-08-12 16:27:47 +08:00
wing328
f7143727e7
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-08-12 15:38:00 +08:00
wing328
2943177d06
Merge branch 'kartenkarsten-patch-1'
2016-08-12 15:37:46 +08:00
wing328
621dee30a8
Merge branch 'patch-1' of https://github.com/kartenkarsten/swagger-codegen into kartenkarsten-patch-1
2016-08-12 15:33:02 +08:00
wing328
f746a93da4
Merge branch 'csharp/INotifyPropertyChanged' of https://github.com/jimschubert/swagger-codegen into jimschubert-csharp/INotifyPropertyChanged
2016-08-12 15:04:04 +08:00
wing328
4fe0b3350c
Merge pull request #3576 from ModelSolv/issue-3572
...
Issue 3572 Remove duplicate CLI Options
2016-08-12 14:39:58 +08:00
wing328
02f43bc195
Merge branch 'feature/js-fix-types' of https://github.com/arikon/swagger-codegen into arikon-feature/js-fix-types
2016-08-12 10:08:24 +08:00
wing328
3c1e47c31d
Merge branch 'feature/jack/update-swift-alamofire' of https://github.com/JackWink/swagger-codegen into JackWink-feature/jack/update-swift-alamofire
2016-08-12 08:59:12 +08:00
Sergey Belov
e01095f53b
Fix Javascript types
2016-08-11 23:05:37 +03:00
Andy Lowry
90a113b441
Issue 3572 Remove dupe options in jaxrs-spec
...
Removed CLI option declarations in JavaJAXRSSpecServerCodegen that also
appear in AbstractJavaJAXRSServerCodegen.
2016-08-11 13:43:14 -04:00
wing328
752ba61e67
[Go] Add more test cases and fix numeric form/header parameters ( #3574 )
...
* add more tests for go, fix numeric form/header parameters
* update go sample
2016-08-11 14:28:31 +08:00
Ivan Vučica
cf0d9b48fd
Go: Replace .Username
with .UserName
in generated API methods.
...
Right now, any generated code where the http basic authentication is
required is broken, as it tries to access nonexistent field in the
generated `Configuration` struct.
The alternative is to fix `configuration.mustache` to replace the
`UserName` field with `Username` field.
2016-08-10 21:36:35 +00:00
Ado Nishimura
eefb2152e9
[htmlDoc2] curl sample - conditionally add 'apiKey'. ( #3561 )
2016-08-10 16:43:47 +08:00
wing328
d2d5553a45
[Go] prefix go local var with localVar ( #3570 )
...
* prefix go local var with localVar
* remove pom from go, minor fix to headerParams
2016-08-10 16:14:33 +08:00
wing328
31fd1df26b
Merge pull request #3562 from wing328/add_enum_endpoint
...
[Java][Spring] Add enum test cases and fix formParam's enum value
2016-08-09 23:32:04 +08:00
wing328
dbeb82f976
Merge pull request #3564 from cliffano/fix-incorrect-param-update-params-for-auth
...
Fix unknown parameter on api_client's update_params_for_auth method.
2016-08-09 23:27:15 +08:00