Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 35 additions & 20 deletions flask-connexion-rest-part-1/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,36 @@
attrs==22.1.0
certifi==2022.9.24
charset-normalizer==2.1.1
click==8.1.3
clickclick==20.10.2
connexion==2.14.1
Flask==2.2.2
idna==3.4
a2wsgi==1.10.10
anyio==4.15.1
asgiref==3.12.1
attrs==26.1.0
blinker==1.9.0
certifi==2026.7.22
charset-normalizer==3.5.1
click==8.5.0
connexion==3.3.0
Flask==3.1.3
h11==0.16.0
httpcore==1.0.9
httptools==0.8.0
httpx==0.28.1
idna==3.20
inflection==0.5.1
itsdangerous==2.1.2
Jinja2==3.1.2
jsonschema==4.16.0
MarkupSafe==2.1.1
packaging==21.3
pyparsing==3.0.9
pyrsistent==0.19.1
PyYAML==6.0
requests==2.28.1
swagger-ui-bundle==0.0.9
urllib3==1.26.12
Werkzeug==2.2.2
itsdangerous==2.2.0
Jinja2==3.1.6
jsonschema==4.26.0
jsonschema-specifications==2025.9.1
MarkupSafe==3.0.3
python-dotenv==1.2.3
python-multipart==0.0.32
PyYAML==6.0.3
referencing==0.37.0
requests==2.34.2
rpds-py==2026.6.3
starlette==1.6.0
swagger_ui_bundle==1.1.0
typing_extensions==4.16.0
urllib3==2.8.0
uvicorn==0.53.0
uvloop==0.22.1
watchfiles==1.2.0
websockets==17.1
Werkzeug==3.1.8
2 changes: 1 addition & 1 deletion flask-connexion-rest-part-1/rp_flask_api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ def home():


if __name__ == "__main__":
app.run(host="0.0.0.0", port=8000, debug=True)
app.run(host="0.0.0.0", port=8000)
4 changes: 2 additions & 2 deletions flask-connexion-rest-part-1/rp_flask_api/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ paths:
- People
summary: "Create a person"
requestBody:
x-body-name: "person"
description: "Person to create"
required: True
content:
application/json:
schema:
x-body-name: "person"
$ref: "#/components/schemas/Person"
responses:
"201":
Expand All @@ -75,10 +75,10 @@ paths:
"200":
description: "Successfully updated person"
requestBody:
x-body-name: "person"
content:
application/json:
schema:
x-body-name: "person"
$ref: "#/components/schemas/Person"
delete:
tags:
Expand Down
Loading