summaryrefslogtreecommitdiff
path: root/src/db/rest/util/api_root.sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/rest/util/api_root.sql')
-rw-r--r--src/db/rest/util/api_root.sql19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/db/rest/util/api_root.sql b/src/db/rest/util/api_root.sql
deleted file mode 100644
index 7141a5f..0000000
--- a/src/db/rest/util/api_root.sql
+++ /dev/null
@@ -1,19 +0,0 @@
-
-CREATE FUNCTION FUNCTION _api.root()
-RETURNS JSON
-LANGUAGE plpgsql;
-AS $BODY$
-DECLARE
-openapi JSON = $$
- {
- "swagger": "2.0",
- "info": {
- "title": "XSSBook",
- "description": "XSSBook Api Documentation"
- }
- }
-$$;
-BEGIN
- RETURN openapi;
-END
-$BODY$;