Conversation
|
Nicely done. |
|
I can successfully setup swagger_from_file from this PR with the following setup: flaskswagger openbbs_middleware.swagger:app --host localhost:5000 --base-path /v0.0.1 --out-dir swagger --from-file-keyword=swagger_from_file docker run --name swagger-ui -p 5000:8080 -e SWAGGER_JSON=/foo/swagger.json -v ${PWD}/swagger:/foo swaggerapi/swagger-ui code: @app.route('/') |
|
hi @atlithorn ~ About "swagger_from_file" naming issue~ "swagger_from_file" appears only in README.md as an example. I do think this feature is great in that the yaml-doc does not mess around with the code/comments. |
add from-file-keyword in build_swagger_spec