We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
Somewhere in the generated api_client.py __deserialize code the returned JSON:
{'key:top': [{'name': 'Gunnar', 'surname': 'Green', 'age': 34, 'shoe-size': 47}]}
is wrongly converted to:
{'keytop': [{'age': 34, 'name': 'Gunnar', 'shoe_size': 47, 'surname': 'Green'}]}
Note how the colon character has disappeared in 'key:top' !
Using colons like this is according to the how YANG data is encoding namespaces in JSON, see: https://datatracker.ietf.org/doc/html/rfc7951#page-5
Reference to what I believe is the source code:
swagger-codegen/modules/swagger-codegen/src/main/resources/python/api_client.mustache
Line 250 in 61cfeac
Cheers, Toby
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
Somewhere in the generated api_client.py __deserialize code the returned JSON:
is wrongly converted to:
Note how the colon character has disappeared in 'key:top' !
Using colons like this is according to the how YANG data is encoding namespaces in JSON,
see: https://datatracker.ietf.org/doc/html/rfc7951#page-5
Reference to what I believe is the source code:
swagger-codegen/modules/swagger-codegen/src/main/resources/python/api_client.mustache
Line 250 in 61cfeac
Cheers, Toby
The text was updated successfully, but these errors were encountered: