Fix logic for removal of forward slash in RegGen pattern#8219
Fix logic for removal of forward slash in RegGen pattern#8219wing328 merged 18 commits intoOpenAPITools:masterfrom code-lucidal58:rgxgen-version-update
Conversation
…napi-generator into rgxgen-version-update
…rator into rgxgen-version-update
|
I wonder if a test can be added to cover this issue moving forward. |
|
I shall add tests for the same. |
|
Looks like this is causing issues to the python-legacy generator: Can you please take a look? |
|
For this error, all patterns in the YAML files should start with ^ and end with $. Is it correct to make this assumption? There are some properties |
I don't think that's a correct assumption |
|
pattern (This string SHOULD be a valid regular expression, according to the ECMA 262 regular expression dialect) Per there we can have valid regexes like: |
|
Updated logic: |
|
Thank you for updating your sample spec, that looks good. Now the tests are failing. Can you take a look here and update them? Closing and re-opening the PR to kick off CI again. Some of these failures were unrelated. |
|
The testcases are failing in PythonLegacyTest. Need some time to fix it. Next 24hours would be enough |
Fix logic for removal of forward slash in RegGen pattern
@spacether