Aliaksei Zhuk
|
9c3d4ef2a6
|
Parse integer array query parameters. Fix typos (#11105)
|
2022-01-04 17:55:18 +08:00 |
|
Ween Jiann
|
11d29eb22b
|
[go-server] Feat: add required assertions to models (#10068)
* Add RequiredError
* Add IsZeroValue helper
* Add AssertRequired method to all models
* Add AssertRequired call for body param
* Regenerate files
* Add DisallowUnknownFields
* Regenerate samples
* Use hasRequired in model to remove unnecessary code
* Revert disallowUnknownFields
* Use isAdditionalPropertiesTrue for disallowing unknown fields
* Updated samples
* Fix indent
* Add require checks for nested slices
* Add new tests
* Regenerate samples
* Regenerate samples after merging
|
2021-08-07 21:29:14 +08:00 |
|
William Cheng
|
c79d056935
|
Allow to specify response headers (needed for redirecting clients) (#9170)
* Allow to specify response headers (needed for redirecting clients) (#8148)
Co-authored-by: Bernardo Pastorelli <13519917+randomswdev@users.noreply.github.com>
* add addResponseHeaders option
* enable addResponseHeaders
* fix comma
Co-authored-by: randomswdev <randomswdev@users.noreply.github.com>
Co-authored-by: Bernardo Pastorelli <13519917+randomswdev@users.noreply.github.com>
|
2021-04-05 16:27:41 +08:00 |
|
Gmtstephane
|
4e05912ae7
|
[GO][SERVER] Implement response code (#7397)
* Feature(template) add response with status code generation
* Generate Samples
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
|
2020-09-14 23:14:53 +08:00 |
|