fix: separate swagger generation from server run
Description
Separating swagger file writing to the disk from running the application with env flag.
Related issues
No related issues
Testing
No testing required.
Checklist
-
I have updated the documentation (if necessary) -
I have added unit tests for new functionality (if applicable) -
My code follows the style guidelines of this project -
I have tested this code on my local machine before submitting this MR
Reviewers
Additional Notes
Closes #25 (closed)
Edited by Zdravko Iliev