mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-22 04:54:18 +00:00
🔧 Move swagger.json to /docs
This commit is contained in:
parent
72d349aa90
commit
31dec8a56a
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ with app.test_request_context():
|
|||
spec.path(view=view_fn)
|
||||
|
||||
|
||||
@app.route("/api/v1/swagger.json")
|
||||
@app.route("/docs/swagger.json")
|
||||
def create_swagger_doc():
|
||||
return jsonify(spec.to_dict())
|
||||
|
||||
|
|
Loading…
Reference in a new issue