Skip to content

Commit

Permalink
[Fix] Typo in OpenAPI specification (#39)
Browse files Browse the repository at this point in the history
* chore(docs): fix typos and add dashboard endpoint
  • Loading branch information
kevinanielsen authored Dec 19, 2023
1 parent 793a423 commit 341a5ce
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions static/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@
},
"paths": {
"/": {
"get": {
"summary": "Dashboard",
"responses": {
"200": {
"description": "Dashboard loaded"
}
}
}
},
"/api/": {
"get": {
"summary": "Ping",
"responses": {
Expand Down Expand Up @@ -196,7 +206,7 @@
},
"/api/cdn/download/images/{fileName}": {
"get": {
"summary": "Retrieve image.",
"summary": "Retrieve image",
"description": "Retrieve the image requested from the CDN.",
"operationId": "receiveImage",
"parameters": [
Expand All @@ -222,7 +232,7 @@
},
"/api/cdn/download/docs/{fileName}": {
"get": {
"summary": "Retrieve doc.",
"summary": "Retrieve document",
"description": "Retrieve the doc requested from the CDN.",
"operationId": "receiveDoc",
"parameters": [
Expand All @@ -248,7 +258,7 @@
},
"/api/cdn/delete/image/{filename}": {
"delete": {
"summary": "Delete image.",
"summary": "Delete image",
"description": "Delete an image from the CDN.",
"operationId": "deleteImage",
"parameters": [
Expand All @@ -274,7 +284,7 @@
},
"/api/cdn/delete/doc/{filename}": {
"delete": {
"summary": "Delete document.",
"summary": "Delete document",
"description": "Delete an document from the CDN.",
"operationId": "deleteDoc",
"parameters": [
Expand All @@ -300,7 +310,7 @@
},
"/api/cdn/rename/doc": {
"put": {
"summary": "Rename document.",
"summary": "Rename document",
"description": "Rename an document from the CDN.",
"operationId": "renameDoc",
"requestBody": {
Expand Down Expand Up @@ -334,7 +344,7 @@
},
"/api/cdn/rename/image": {
"put": {
"summary": "Rename image.",
"summary": "Rename image",
"description": "Rename an image from the CDN.",
"operationId": "renameImage",
"requestBody": {
Expand Down

0 comments on commit 341a5ce

Please sign in to comment.