Skip to content

Commit

Permalink
Deployed 6ad7238 with MkDocs version: 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Nov 2, 2024
0 parents commit 3536867
Show file tree
Hide file tree
Showing 127 changed files with 26,131 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
910 changes: 910 additions & 0 deletions 404.html

Large diffs are not rendered by default.

224 changes: 224 additions & 0 deletions API-Schema/openapi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,224 @@
{
"openapi": "3.1.0",
"info": {
"title": "FastAPI",
"version": "0.1.0"
},
"paths": {
"/": {
"get": {
"summary": "Main Page",
"description": "Returns a greeting message for the application.",
"operationId": "main_page__get",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/data": {
"get": {
"summary": "Get Data",
"description": "Show data",
"operationId": "get_data_data_get",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/dates": {
"get": {
"summary": "Get Dates",
"description": "Returns a list of all workout dates.",
"operationId": "get_dates_dates_get",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"items": {
"type": "string"
},
"type": "array",
"title": "Response Get Dates Dates Get"
}
}
}
}
}
}
},
"/dates_and_splits": {
"get": {
"summary": "Get Dates And Splits",
"description": "Returns a dictionary of workout dates and their corresponding muscle groups.",
"operationId": "get_dates_and_splits_dates_and_splits_get",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/dates/{date}": {
"get": {
"summary": "Describe Workout",
"description": "Returns a dictionary describing the workout for the given date.",
"operationId": "describe_workout_dates__date__get",
"parameters": [
{
"name": "date",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Date"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/{date}/exercises/{exercise}": {
"get": {
"summary": "Show Exercise",
"description": "Returns a list of sets and reps for the given exercise and date.",
"operationId": "show_exercise__date__exercises__exercise__get",
"parameters": [
{
"name": "exercise",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Exercise"
}
},
{
"name": "date",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Date"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object"
},
"title": "Response Show Exercise Date Exercises Exercise Get"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"HTTPValidationError": {
"properties": {
"detail": {
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"type": "array",
"title": "Detail"
}
},
"type": "object",
"title": "HTTPValidationError"
},
"ValidationError": {
"properties": {
"loc": {
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"type": "array",
"title": "Location"
},
"msg": {
"type": "string",
"title": "Message"
},
"type": {
"type": "string",
"title": "Error Type"
}
},
"type": "object",
"required": [
"loc",
"msg",
"type"
],
"title": "ValidationError"
}
}
}
}
Loading

0 comments on commit 3536867

Please sign in to comment.