[Ruby] Fix regualr expression in error message#2139
[Ruby] Fix regualr expression in error message#2139wing328 merged 2 commits intoOpenAPITools:masterfrom
Conversation
|
@autopp thanks for the PR. If my memory serves me well, the reason of using |
|
@wing328 Thanks for review!
I thought that all patterns follow the In any case, since this is not directly related to the purpose of this PR, I will remove it once. |
|
@autopp let me try to dig out the discussion by this weekend. Then we can decide whether to proceed with this PR or not. Stay tuned. |
54e78fe to
7bafde9
Compare
|
@wing328 I rebased. |
|
@wing328 Oh, I'm sorry...I fixed it before I saw your reply 😢 |
|
@autopp that's ok bro. |
I've restarted the job. 😉 |
|
@ackintosh Thanks! |
|
@wing328 How shall we do this PR after all? |
|
@autopp let's go with what you've at the moment. We can always update the templates to handle more edge cases. |
|
@wing328 Thanks! |
* master: (40 commits) [Python] remove default value from being fallback to example (#2213) Add petstore integration tests to Ruby OAS3 client (#2211) Gradle - make GenerateTask properties optional (#2185) skip bats installation (#2198) Something in the dependencies changed. This switch is no longer needed. (#1850) Use oauth token for basic bearer auth in Rust. (#2161) Fix missing nullable (#2189) Enable error handling in Java WebClient library, fixes #1243 (#1244) [core] fix referenced enum case (#2175) rest-template: allow array parameters in path using collectionFormat (#2177) update go petstore samples Fix string types for cpprestsdk client generator (#1676) update kotline samples Remove API Key Authentication code for go when cookie is used. (#1601) changed the package install instructions to install the .tgz package … (#1989) okhttp-gson: allow array parameters in path using collectionFormat (#2137) [Ruby] Fix regualr expression in error message (#2069) (#2139) [kotlin][client] bytearray conversion (#2166) [rust-server] Added client documentation to rust-server (#2159) [Java] Getter/Setter naming convention not followed in generated models (#2095) ...
…penAPITools#2139) * Fix usage of regular expression literals in Ruby client (OpenAPITools#2069) * update samples of Ruby client (OpenAPITools#2069)
./bin/to update Petstore sample so that CIs can verify the change. (For instance, only need to run./bin/{LANG}-petstore.sh,./bin/openapi3/{LANG}-petstore.sh,./bin/security/{LANG}-petstore.shand./bin/openapi3/security/{LANG}-petstore.shif updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in.\bin\windows\.master,. Default:3.4.x,4.0.xmaster.Fix #2069.
Regexp.newis deleted. (Regexp.new(/.../)->/.../)