You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After some investigation, I'm going to fix this in the next breaking version. It's possible that the fix won't impact any already-valid names, but there is a chance some edge cases will be modified.
…. Thanks @iamnoah & @forest-benchling!
* fix!: Turn all tags (endpoints) into valid Python identifiers [WIP]
* test: Fix all failing unit tests
* test: Add e2e test for tag beginning with number
* chore(deps): Update deps, add dataclasses types for Python 3.6
* refactor: Switch _PythonIdentifier to a public custom class in `utils`
Describe the bug
See title.
To Reproduce
Generate a client from this Swagger: https://converter.swagger.io/api/convert?url=https://integration-www.tangocard.com/raas_api_console/v2/api-docs/swagger.json
The package names will start with a number and be un-importable.
Expected behavior
Number is dropped.
OpenAPI Spec File
https://converter.swagger.io/api/convert?url=https://integration-www.tangocard.com/raas_api_console/v2/api-docs/swagger.json
The text was updated successfully, but these errors were encountered: