aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/scripts
diff options
context:
space:
mode:
authorChristian Fehmer <[email protected]>2024-08-23 20:03:13 +0200
committerGitHub <[email protected]>2024-08-23 20:03:13 +0200
commit30d440a70e56abfdfb889e62646cb5cc04ad08aa (patch)
treebd94bed792d9fdbd04237eae129b611520d0107a /backend/scripts
parent8863fb70d12d71fdb0b1ee506be5f91c7177f43c (diff)
downloadmonkeytype-30d440a70e56abfdfb889e62646cb5cc04ad08aa.tar.gz
monkeytype-30d440a70e56abfdfb889e62646cb5cc04ad08aa.zip
impr: use tsrest for dev endpoints (@fehmer) (#5800)
!nuf
Diffstat (limited to 'backend/scripts')
-rw-r--r--backend/scripts/openapi.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/backend/scripts/openapi.ts b/backend/scripts/openapi.ts
index d3a9354d1..02b814e2f 100644
--- a/backend/scripts/openapi.ts
+++ b/backend/scripts/openapi.ts
@@ -105,6 +105,13 @@ export function getOpenApi(): OpenAPIObject {
"x-displayName": "Server configuration",
"x-public": "yes",
},
+ {
+ name: "dev",
+ description:
+ "Development related endpoints. Only available on dev environment",
+ "x-displayName": "Development",
+ "x-public": "no",
+ },
],
},