* Update beanValidationCore.mustache
Update to use x-pattern-message for message customization
* Update spring.md
Update this page adding documentation for x-pattern-message
* added unit test
meet requested corrections
* build the project
* remove space
---------
Co-authored-by: Rodrigo de Almeida - RMA3 <rodrigo.ma3@gmail.com>
Co-authored-by: Rodrigo Maciel de Almeida <rodrigo.almeida@wefin.com.br>
As discussed in https://github.com/OpenAPITools/openapi-generator/pull/7415#discussion_r1113274416, it seems unlikely the code was correct.
server_operation_index is a hash table. In Ruby, `hash[key]` will return the value associated with `key`. If key is absent, `nil` is returned. Because that is sometimes undesirable, there is also `hash.fetch(key)`, which raises an error if the key is absent. It also allows you to specify a default to fall back on: `hash.fetch(key, default)` will return `default` if the key is absent.
So, since not all users will specify a 'server per operation' (or at least: I'm not), the old code would usually set `index` to the `server_index`, which is initialized to 0. The subsequent `if index == nil` will usually return false (`0 != nil` in Ruby), after which the `server_url` call on line 177 constructs the url based on the `server_operation_variables` and `operation_server_settings`, assuming we are dealing with the case where a server per operation is configured. The case where the url should be constructed from `scheme`, `host`, etc. is only called if either `server_index` is explicitly set to `nil` or the key `operation` is explicitly associated with the value `nil` in the `server_operation_index` hash table, both of which seem inappropriate.
* fix issue 15264
* If useResponseEntity true then keep @Controller if not @RestController
---------
Co-authored-by: Rodrigo Maciel de Almeida <rodrigo.almeida@wefin.com.br>
* if method return type is void then no return
* build the project
* fix build the project
* fix build the project
* fix return
* fix build the project
* fix build the project
* fix build the project
---------
Co-authored-by: Rodrigo Maciel de Almeida <rodrigo.almeida@wefin.com.br>
* Add repository as configurable option to pub client libraries
* Generate files
* Make repository null by default
* Update pubRepository mustache template
Co-authored-by: Ahmed Fwela <63286031+ahmednfwela@users.noreply.github.com>
* Regenerate samples and documentation
* Support setting publish_to in pubspec.yaml
---------
Co-authored-by: Ahmed Fwela <63286031+ahmednfwela@users.noreply.github.com>
* Probe content type for multipart form uploads since many servers require each part to correctly identify its type.
* Update samples
* Add explanatory comment
* Update samples with comment
* Make TypeScriptClientCodegen extend AbstractTypeScriptClientCodegen
* Regenerate samples
* Update docs
* Clean up
* Remove updated toEnumName
* Fix: SUPPORTS_ES6
* Fix: `setSupportsES6` should not be set directly in unit tests
* Set modelPropertyNaming to camelCase