First version

This commit is contained in:
2026-01-28 08:59:33 -03:00
commit 3e73a3494b
24 changed files with 2114 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
import os
OPENAPI_TAGS = []
OPENAPI_DESCRIPTION = ""
for doc_file in os.listdir("./docs"):
if not doc_file.endswith(".md"):
continue
with open(f"./docs/{doc_file}", "r", encoding="utf-8") as f:
content = f.read()
name = doc_file.split(".")[0]
if name == "_Project":
OPENAPI_DESCRIPTION = content
else:
OPENAPI_TAGS.append(
{
"name": name,
"description": content,
}
)