-
Notifications
You must be signed in to change notification settings - Fork 119
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
[FEATURE] Allow specify SWAGGER spec's file from url, to support local development #316
Comments
Any updates? |
Hi @fncap |
Hi @fncap You can try to use package version from git branch. Not it's in beta. !!!UPDATE. There is only one condition at this moment: you should have lib/main.dart file. |
Many thanks! I'll give it a try and report back!!! |
Hi again @fncap Currently it's not nessessary to have main.dart file in lib folder. Just generate your code from anywhere to anywhere. I hope it will be released soon. Please use |
Hi @Vovanella95 ! |
@fncap thanks for your feedback. Possible, will change this feature a bit soon. But don't worry it will be not critical changes |
Actually, the generator accepts a folder within it searches for all swagger specs files.
This behavior fits very well for a 3rdy party WebAPI.
In the scenario, where the WebAPI layer is parallel developed with the app, it could be annoying to copy/paste our swagger file to that folder!
Instead, should be a big improvement if the generator could download it from an URL!
Please take a look at the following
build.yaml
part:NOTE
It should be helpful if URLs will be managed for local SSL cert, avoiding annoying problem about
INVALID_SSL_CERT
Thanks for your time!
The text was updated successfully, but these errors were encountered: