added swagger

This commit is contained in:
2023-03-01 15:47:55 +00:00
parent c38d67a37f
commit d8f0972170
12 changed files with 186 additions and 10 deletions
+32
View File
@@ -0,0 +1,32 @@
{
"openapi": "3.0.0",
"info": {
"title": "Next Swagger API Example",
"version": "1.0"
},
"paths": {
"/api/endpoint/getlogin_api": {
"tags": "Hello",
"get": {
"description": "Returns the hello world",
"responses": {
"200": {
"description": "hello world"
}
}
}
},
"/api/endpoint/getlpa_api": {
"get": {
"description": "Returns the hello world",
"responses": {
"200": {
"description": "hello world"
}
}
}
}
},
"components": {},
"tags": []
}