| 
							
							
								 Ween Jiann | 8f6a2860bf | [go-server] Fix: error handling and linting (#18550) * Update error.go and fix lint
* Regen
* Fix incorrect change
* Fix handler issue
* Regenerate | 2024-05-08 00:06:45 +08:00 |  | 
			
				
					| 
							
							
								 William Cheng | 494d74ab82 | remove duplicated (#18320) | 2024-04-07 22:25:03 +08:00 |  | 
			
				
					| 
							
							
								 Viswajith Venugopal | 650e119f22 | Update go-server template to include the conventional generated code line (#18304) * Update go-server template to include the conventional generated code line
Follow the convention from https://pkg.go.dev/cmd/go#hdr-Generate_Go_files_by_processing_source.
The generated go client code already follows this: f357be480e/modules/openapi-generator/src/main/resources/go/partial_header.mustache (L18)* gen files
* Move to top | 2024-04-07 21:23:24 +08:00 |  | 
			
				
					| 
							
							
								 Ween Jiann | 04441188c6 | [go-server] Update dependencies and use generics (#15087) * Update dependecies and go version
* Use generics for recurse
* Fix helpers.mustache
* Regenerate samples | 2023-04-12 16:37:39 +08:00 |  | 
			
				
					| 
							
							
								 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 |  |