-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deployed 6ad7238 with MkDocs version: 1.6.1
- Loading branch information
Unknown
committed
Nov 2, 2024
0 parents
commit 3536867
Showing
127 changed files
with
26,131 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.