Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

docs: update in swagger docs

Pranav Ceac64b1e58bd
diff --git a/packages/nocodb/src/schema/swagger-v2.json b/packages/nocodb/src/schema/swagger-v2.json
index eb9d639c1e..4d35d40147 100644
--- a/packages/nocodb/src/schema/swagger-v2.json
+++ b/packages/nocodb/src/schema/swagger-v2.json
@@ -22232,6 +22232,12 @@
"in": "header",
"description": "Auth Token is a JWT Token generated based on the logged-in user. By default, the token is only valid for 10 hours. However, you can change the value by defining it using environment variable `NC_JWT_EXPIRES_IN`."
},
+ "bearerAuth": {
+ "name": "Authorization",
+ "type": "http",
+ "scheme": "bearer",
+ "description": "Bearer token authentication. Use 'Authorization: Bearer <token>' header format. This is an alternative to the xc-token header."
+ },
"xc-shared-base-id": {
"name": "Shared Base ID",
"type": "apiKey",
diff --git a/packages/nocodb/src/schema/swagger-v3.json b/packages/nocodb/src/schema/swagger-v3.json
index 570eadb6db..8084582e0f 100644
--- a/packages/nocodb/src/schema/swagger-v3.json
+++ b/packages/nocodb/src/schema/swagger-v3.json
@@ -8588,6 +8588,12 @@
"in": "header",
"description": "Auth Token is a JWT Token generated based on the logged-in user. By default, the token is only valid for 10 hours. However, you can change the value by defining it using environment variable `NC_JWT_EXPIRES_IN`."
},
+ "bearerAuth": {
+ "name": "Authorization",
+ "type": "http",
+ "scheme": "bearer",
+ "description": "Bearer token authentication. Use 'Authorization: Bearer <token>' header format. This is an alternative to the xc-token header."
+ },
"xc-shared-base-id": {
"name": "Shared Base ID",
"type": "apiKey",
diff --git a/packages/nocodb/src/schema/swagger.json b/packages/nocodb/src/schema/swagger.json
index 67bed20c7a..66a42840d0 100644
--- a/packages/nocodb/src/schema/swagger.json
+++ b/packages/nocodb/src/schema/swagger.json
@@ -29738,6 +29738,12 @@
"in": "header",
"description": "Auth Token is a JWT Token generated based on the logged-in user. By default, the token is only valid for 10 hours. However, you can change the value by defining it using environment variable `NC_JWT_EXPIRES_IN`."
},
+ "bearerAuth": {
+ "name": "Authorization",
+ "type": "http",
+ "scheme": "bearer",
+ "description": "Bearer token authentication. Use 'Authorization: Bearer <token>' header format. This is an alternative to the xc-token header."
+ },
"xc-shared-base-id": {
"name": "Shared Base ID",
"type": "apiKey",