Closed davidmigloz closed 1 year ago
@davidmigloz Looks good. I confirmed this does not have any unintended consequences on a few projects using this package.
The generation code was written with the assumption that the class names in component references , e.g. #/components/schemas/document
, would be Pascal already (or at least title case), per general code conventions.
Who defines a class in lowercase 😮 ??
Version 0.5.2
released: https://pub.dev/packages/openapi_spec
Some Python people use snake case for everything 😅
Thanks for merging it!
Some class names where not using the proper case when generated from a yaml file.
cc @walsha2
Example:
Using the following spec to generate a server:
This PR fixes the following issues:
server.dart
:schema/documets.dart
schema/document.dart