Skip to content

Commit

Permalink
Remove "servers".
Browse files Browse the repository at this point in the history
  • Loading branch information
anybodys committed Mar 11, 2024
1 parent 065bfc9 commit 62203d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 3 additions & 2 deletions voting_api/voting/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ def create_app():

app = create_app()
app.config.update({
'SPEC_FORMAT': 'yaml',
'AUTO_SERVERS': False,
'LOCAL_SPEC_PATH': Path(app.root_path) / 'openapi.yaml',
'OPENAPI_VERSION': '2.0',
'SPEC_FORMAT': 'yaml',
'SYNC_LOCAL_SPEC': True,
'LOCAL_SPEC_PATH': Path(app.root_path) / 'openapi.yaml',
})


Expand Down
2 changes: 0 additions & 2 deletions voting_api/voting/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ info:
title: Artist 2D Voting API
version: 0.1.0
tags: []
servers:
- url: http://127.0.0.1:5000/
paths:
/art:
get:
Expand Down

0 comments on commit 62203d1

Please sign in to comment.