Andrew
d91ff3a150
[GO] dont canonize headers ( #10779 )
...
* [GO]: dont canonize headers
* [GO]: update unit tests
2021-11-14 10:36:49 +08:00
WILLIAM CHENG
42f4e863b7
prepare 5.4.0-SNAPSHOT
2021-10-25 12:13:33 +08:00
William Cheng
378465702c
Prepare v5.3.1 in the master ( #10681 )
...
* prepare v5.3.1
* update doc
* update readme
2021-10-25 01:16:07 +08:00
William Cheng
acd747ca6d
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-09-22 12:13:44 +08:00
William Cheng
acdf357b76
Revert "Accept header forces application/json type even if server ( #10337 )" ( #10440 )
...
This reverts commit 18301d00112e064d80d94f1ca5d6ca6032808ddd.
2021-09-21 18:17:05 +08:00
Wojciech Trocki
18301d0011
Accept header forces application/json type even if server ( #10337 )
...
* fix!: accept should not force application JSON
Generated code offen provides range of accept methods.
This method improperly takes JSON as preferred
Example:
localVarHTTPHeaderAccepts := []string{"application/zip", "application/json"}
* chore: generated changes
2021-09-21 12:04:00 +08:00
Wojciech Trocki
a939676c0d
fix: expose allowed values of the enum ( #10386 )
...
* fix: expose allowed values of the enum
Fixes #10385
* chore: update examples
2021-09-21 11:58:38 +08:00
William Cheng
477e2365c7
improve git_push.sh ( #10356 )
2021-09-09 12:49:03 +08:00
Thomas Hervé
36ae0b9ffe
Handle nullable items in Go arrays ( #10268 )
...
If an item in a go array is nullable, we want to represent it as a pointer,
otherwise it will be deserialized with a default value and it will be
impossible to differentiate it from null.
2021-09-09 11:53:23 +08:00
William Cheng
0357b80f19
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-09-01 14:16:17 +08:00
Nathan Baulch
5d68bd6a03
Fix thousands of spelling typos ( #10272 )
2021-08-28 22:58:24 +08:00
William Cheng
808e6af94d
update go petstore samples
2021-08-27 13:37:05 +08:00
Nathan Baulch
9c66d33171
[go] Support for response status code ranges ( #10075 )
2021-08-25 11:15:23 +08:00
Aanisha Mishra
67fbb1081e
Skip setting readOnly properties with default values in model constructors ( #10196 )
...
* skipReadonlyPropertiesInInt flag to go SDK
* minor amendments
* update docs for go
2021-08-25 10:21:02 +08:00
William Cheng
0204bf4ae2
Squashed commit of the following:
...
commit c5a0d0f7394aa742fa336fff7e7c1d3049761868
Merge: 8c4991ba3ed f8ff8c87609
Author: William Cheng <wing328hk@gmail.com>
Date: Tue Aug 17 18:28:12 2021 +0800
Merge branch 'mustache-linting' of https://github.com/NathanBaulch/openapi-generator into NathanBaulch-mustache-linting
commit f8ff8c87609b1ca36fa26fb8474806999638195e
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Thu Aug 5 14:12:47 2021 +1000
Reorder tags that handle missing values
commit f5d8a33709d6a3f846a9fe4520b78c3d637051d9
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Thu Aug 5 14:08:59 2021 +1000
Use dot notation where possible
commit 493d14921e2333f3ae19ef6fc89318b7e263a80c
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Thu Aug 5 14:10:49 2021 +1000
Remove empty tags
commit 32480dc53f48227d55531b94e307d72671373737
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Thu Aug 5 10:41:58 2021 +1000
Remove redundant sections
commit a8edabd722c34aa094b4aeb11c22664529c3a219
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Wed Aug 4 22:02:22 2021 +1000
Trim extra EOF new lines
commit e89bd7458e3594bf0d30e580bc9408e45b018a57
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Wed Aug 4 21:59:26 2021 +1000
Trim trailing whitespace
2021-08-17 18:37:51 +08:00
William Cheng
eaa76f8e1f
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-08-17 18:10:59 +08:00
William Cheng
764a462711
Merge remote-tracking branch 'origin/5.3.x'
2021-08-16 21:38:34 +08:00
William Cheng
8403e59aa0
Prepare 5.2.1 release ( #10161 )
...
* prepare for 5.2.1 release
* update samples
2021-08-16 19:08:29 +08:00
Nathan Baulch
c1c5775271
[go] More idiomatic godoc comments ( #10044 )
...
* [go] More idiomatic godoc comments
* [go] Mark deprecated fields and functions
* [go] Minor mustache readability/consistency fixes
* [go] Mark deprecated operation parameters
* [go] Deprecate a petstore component property for testing
* [go] Apply deprecated godoc in Go servers also
2021-08-03 17:11:16 +08:00
William Cheng
05e4c3cf64
update samples
2021-07-12 17:15:22 +08:00
William Cheng
35f933b27f
Merge remote-tracking branch 'origin/5.3.x' into 6.0.x
2021-07-12 17:11:35 +08:00
William Cheng
39fbf53150
create v5.3.0
2021-07-10 00:12:23 +08:00
William Cheng
02835b35bc
Prepare v5.2.1 ( #9922 )
...
* bump verions to 5.2.1-SNAPSHOT
* update samples
* update readme
* fix gradle properties
2021-07-09 22:42:31 +08:00
William Cheng
90f7bcd909
Prepare v5.2.0 release ( #9920 )
...
* 5.2.0 release
* update samples
* update meta codegen
2021-07-09 17:06:55 +08:00
William Cheng
c5405aa59a
[Go-client] Fix inability to download files ( #9812 )
...
* Revert a change to the Go Client code that broke
the ability to download files. This reverts the change
from 14d41310b9
* Missed import for "io/ioutil"
* update samples
Co-authored-by: icubbon <icubbon@gmail.com>
2021-06-19 11:23:05 +08:00
William Cheng
3e58b0908c
Merge remote-tracking branch 'origin/5.2.x' into 6.0.x
2021-04-28 18:08:24 +08:00
William Cheng
37eaf70755
Merge remote-tracking branch 'origin/master' into 5.2.x
2021-04-28 17:48:21 +08:00
mazrean
01ff635139
[Go] Fix golang comment typos ( #9207 )
...
* fix go comment typo insensitive
* fix go comment typo response
* update samples
2021-04-08 09:59:31 +08:00
Hippolyte HENRY
f8202df9aa
[go] Add constructor and IsValid method to enum types ( #8224 )
...
* Add constructor and IsValid method to enum types
* Add samples
2021-04-04 17:32:17 +08:00
sforst
7bf792a348
[typescript-axios] handle uniqueItems in query and header parameters ( #8965 )
...
* [typescript-axios] handle uniqueItems in query and header parameters
add endpoint /fake/test-unique-paramters to petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml for demonstration
* update samples
* [typescript-axios] update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2021-04-01 16:57:36 +08:00
William Cheng
47483e60cb
update version to 5.2.0-SNAPSHOT, update samples
2021-03-21 00:10:10 +08:00
William Cheng
0dc62e8b79
Prepare v5.1.1 in the master ( #9027 )
...
* Prepare v5.1.1 in the master
* move dart dio next to configs/other
2021-03-20 23:05:11 +08:00
William Cheng
e023eaa821
Prepare v5.1.0 release ( #9017 )
...
* prepare v5.1.0 release
* update samples (dart-dio-next)
2021-03-20 16:45:05 +08:00
William Cheng
3909505c5b
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-03-13 23:26:43 +08:00
Jiri Kuncar
8cb4741248
[go][client] Fix example value for non string enums ( #8900 )
...
* [go][client] Fix example value for non string enums
* regenerated samples
2021-03-08 18:11:50 +08:00
William Cheng
d96197bcbd
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-03-03 16:19:20 +08:00
Thomas Hervé
3cf93226fa
Make nullable fix on all vars in Go ( #8820 )
...
* Make nullable fix on all vars in Go
This applies the Nullable change to all variables on the model, instead
of just the ones in vars.
* Add sample showing the issue
2021-02-27 18:12:51 +08:00
Adrien CABARBAYE
a31dba5b88
[GO] use latest available oauth2 version ( #8764 )
...
* [GO] use latest available oauth2 version
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2021-02-25 02:32:49 +08:00
Thomas Hervé
f9b1f98d21
Fix base type naming in Go ( #8819 )
...
Go generation didn't properly named base type in `getSchemaType`, which
ends up breaking some doc generation.
2021-02-25 02:31:59 +08:00
William Cheng
ba4aae5074
[Go] bug fix (breaking), minor code format enhancement ( #8715 )
...
* go minor code format enhnacement
* fix required vars in the model new
* remove comma
2021-02-20 11:50:27 +08:00
William Cheng
53285e5aa5
update samples
2021-02-16 08:15:04 +08:00
David Hontecillas
51c8fd1520
Fix generated go client cannot upload file ( #8393 )
...
* go client send **io.File body
* run generate-samples for Go upload fix
2021-02-16 08:08:27 +08:00
William Cheng
b4f4d7434b
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-02-12 18:48:20 +08:00
William Cheng
3e81876e2c
Merge remote-tracking branch 'origin/master' into 5.1.x
2021-02-06 17:52:32 +08:00
William Cheng
c7fcb39a2d
Prepare v5.0.1 release ( #8627 )
...
* release 5.0.1
* update samples
2021-02-06 16:37:22 +08:00
Aanisha Mishra
d869544ce1
[Go][Client] Secret key content string in http signing support ( #8570 )
...
* accept private key content string
* sample update
* Add comments to new methods
* update samples with comments
* Update modules/openapi-generator/src/main/resources/go/signing.mustache
Co-authored-by: Jiri Kuncar <jiri.kuncar@gmail.com>
* Update modules/openapi-generator/src/main/resources/go/signing.mustache
Co-authored-by: Jiri Kuncar <jiri.kuncar@gmail.com>
* Update signing.mustache
* update sample comments
* Update modules/openapi-generator/src/main/resources/go/signing.mustache
Co-authored-by: Sebastien Rosset <serosset@cisco.com>
* Update modules/openapi-generator/src/main/resources/go/signing.mustache
Co-authored-by: Sebastien Rosset <serosset@cisco.com>
* update empty checks for privateKey
Co-authored-by: Vikrant Balyan <vvb@users.noreply.github.com>
Co-authored-by: Jiri Kuncar <jiri.kuncar@gmail.com>
Co-authored-by: Sebastien Rosset <serosset@cisco.com>
2021-02-04 10:33:17 +08:00
William Cheng
694b10e41c
Merge remote-tracking branch 'origin/5.1.x' into 6.0.x
2021-01-28 16:47:55 +08:00
William Cheng
d97717ee24
Merge remote-tracking branch 'origin/master' into 5.1.x
2021-01-28 15:52:44 +08:00
Christophe Bornet
06ad7a51ef
[Kotlin-Spring] Fix properties default value ( #8373 )
...
* [Kotlin-Spring] Fix properties default value
* Fix kotlin enum default
* Update go sample
2021-01-24 22:43:58 +08:00
William Cheng
52065cc1c5
Merge remote-tracking branch 'origin/5.1.x' into 6.0.x
2021-01-18 12:40:31 +08:00