diff --git a/packages/nocodb/src/schema/swagger.json b/packages/nocodb/src/schema/swagger.json index 877e0cbfb2..bca1f165ba 100644 --- a/packages/nocodb/src/schema/swagger.json +++ b/packages/nocodb/src/schema/swagger.json @@ -7532,42 +7532,44 @@ "updated_at": null } ], + "title": "API Token Model", + "type": "object", "properties": { - "created_at": {}, - "description": { - "type": "string" + "id": { + "$ref": "#/components/schemas/Id", + "description": "Unique API Token ID" }, "fk_user_id": { - "type": "string" - }, - "id": { "$ref": "#/components/schemas/Id", - "description": "Unique ID" + "description": "Foreign Key to User" }, - "token": { - "type": "string" + "description": { + "type": "string", + "description": "API Token Description" }, - "updated_at": {} - }, - "title": "API Token Model", - "type": "object" + "token": { + "type": "string", + "description": "API Token" + } + } }, "ApiTokenReq": { "description": "Model for API Token Request", "examples": [ { - "description": "string" + "description": "This API token is for ABC application" } ], + "title": "API Token Request Model", + "type": "object", "properties": { "description": { "description": "Description of the API token", "maxLength": 255, - "type": "string" + "type": "string", + "example": "This API Token is for ABC application" } - }, - "title": "API Token Request Model", - "type": "object" + } }, "Attachment": { "description": "Model for Attachment",