-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Description
While running to_dict method on the model attribute_map is not respected.
attribute_map = {
'service_name': 'serviceName',
'service_port': 'servicePort'
}
This results in bad yaml
- host: example.com
http:
paths:
- backend:
service_name: example-service
service_port: 8080
path: /
related:
- How to convert API reponse object back to json/yaml? #1117
- [BUG][python-flask] converting to and from dict with camelCase properties OpenAPITools/openapi-generator#4586 (looks like a fix included)
- [BUG][python-flask] converting to and from dict with camelCase properties OpenAPITools/openapi-generator#4586
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.