Browse Source

refactor(nocodb): signupReqType

pull/5262/head
Wing-Kam Wong 2 years ago
parent
commit
b537c12a4e
  1. 44
      packages/nocodb/src/schema/swagger.json

44
packages/nocodb/src/schema/swagger.json

@ -129,7 +129,11 @@
"Example 1": { "Example 1": {
"value": { "value": {
"email": "user@example.com", "email": "user@example.com",
"password": "password123456789" "password": "password123456789",
"firstname": "Alice",
"lastname": "Smith",
"token": null,
"ignore_subscribe": 0
} }
} }
} }
@ -13352,9 +13356,15 @@
"examples": [ "examples": [
{ {
"email": "user@example.com", "email": "user@example.com",
"password": "password123456789" "password": "password123456789",
"firstname": "Alice",
"lastname": "Smith",
"token": null,
"ignore_subscribe": 0
} }
], ],
"title": "Signup Request Model",
"type": "object",
"properties": { "properties": {
"email": { "email": {
"description": "Email address of the user", "description": "Email address of the user",
@ -13367,11 +13377,35 @@
"example": "password123456789", "example": "password123456789",
"minLength": 8, "minLength": 8,
"type": "string" "type": "string"
},
"firstname": {
"$ref": "#/components/schemas/StringOrNull",
"x-stoplight": {
"id": "lblivgs8wcsm1"
}
},
"lastname": {
"$ref": "#/components/schemas/StringOrNull",
"x-stoplight": {
"id": "d4341r35tucq3"
}
},
"token": {
"$ref": "#/components/schemas/StringOrNull",
"x-stoplight": {
"id": "otw9jgnr9n7c4"
},
"description": "Sign Up Token. Used for invitation."
},
"ignore_subscribe": {
"$ref": "#/components/schemas/Bool",
"x-stoplight": {
"id": "g7ge6mc6vdsds"
},
"description": "Ignore Subscription"
} }
}, },
"required": ["email", "password"], "required": ["email", "password"]
"title": "Signup Request Model",
"type": "object"
}, },
"Sort": { "Sort": {
"description": "Model for Sort", "description": "Model for Sort",

Loading…
Cancel
Save