summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2023-03-25 16:09:04 -0400
committerPuyodead1 <puyodead@proton.me>2023-04-13 15:38:52 -0400
commit1ce7879ee85ea5bb5efaff3cf950e65513098d3c (patch)
tree825ae4c842b096736221668e59fc4c815998aec3 /scripts
parentoapi: stickers (diff)
downloadserver-1ce7879ee85ea5bb5efaff3cf950e65513098d3c.tar.xz
oapi: users progress
Diffstat (limited to 'scripts')
-rw-r--r--scripts/openapi.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/openapi.js b/scripts/openapi.js
index 0b21f1a3..abb40975 100644
--- a/scripts/openapi.js
+++ b/scripts/openapi.js
@@ -145,6 +145,7 @@ function apiRoutes() {
 
 		if (route.description) obj.description = route.description;
 		if (route.summary) obj.summary = route.summary;
+		if (route.deprecated) obj.deprecated = route.deprecated;
 
 		if (route.requestBody) {
 			obj.requestBody = {