18 lines
544 B
Python
18 lines
544 B
Python
main_swagger = {
|
|
"info": {
|
|
"title": "Shop API",
|
|
"version": "0.1",
|
|
"description": "Simple shop API using flask and co.\nFeatures include:\n- Not working\n- Successful registration of users\n- Adding items to cart\n- I don't know",
|
|
},
|
|
"host": "localhost:1236",
|
|
"schemes": "http",
|
|
"securityDefinitions": {
|
|
"JWT": {
|
|
"type": "apiKey",
|
|
"scheme": "bearer",
|
|
"name": "Authorization",
|
|
"in": "header",
|
|
"description": "JWT Authorization header using the Bearer scheme.\n*Make sure to prefix the token with **Bearer**!*"
|
|
}
|
|
}
|
|
} |