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

feat: avoid re-generate if files haven't changed #8

Open
Eywek opened this issue Apr 13, 2021 · 1 comment
Open

feat: avoid re-generate if files haven't changed #8

Eywek opened this issue Apr 13, 2021 · 1 comment
Assignees

Comments

@Eywek
Copy link
Owner

Eywek commented Apr 13, 2021

Get md5 of each controller files, generate md5 of those md5 + config and store it in the openapi.yaml as an extension (e.g. info.x-hash). If the hash is the same as before, avoid re-generating openapi file.

@Eywek Eywek self-assigned this Apr 13, 2021
@Eywek
Copy link
Owner Author

Eywek commented Apr 13, 2021

If types have been updated we want to update the openapi file, so we can't only use controllers content

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