Skip to content
New issue

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

option to sort data models and api functions #63

Closed
zijianhuang opened this issue Feb 2, 2024 · 1 comment
Closed

option to sort data models and api functions #63

zijianhuang opened this issue Feb 2, 2024 · 1 comment

Comments

@zijianhuang
Copy link
Owner

Currently the creation is basically following the order of type and function declaration. However, petstore.yaml v3.0 has all these sorted, while petstoree.yaml v3.0.3 use apparently random order. This make the diff of generated codes between version not readable.

So, have this option in case diff is useful for versioning during development.

@zijianhuang
Copy link
Owner Author

Sort namespace, types, properties, methods, surely not enum member.

zijianhuang added a commit that referenced this issue Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant