Browse Source

refactor(nocodb): revise projectId in swagger.json

pull/5222/head
Wing-Kam Wong 2 years ago
parent
commit
ff79ac8277
  1. 126
      packages/nocodb/src/schema/swagger.json

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

@ -838,11 +838,14 @@
"parameters": [ "parameters": [
{ {
"schema": { "schema": {
"$ref": "#/components/schemas/Id" "$ref": "#/components/schemas/Id",
"example": "p_124hhlkbeasewh",
"type": "string"
}, },
"name": "projectId", "name": "projectId",
"in": "path", "in": "path",
"required": true "required": true,
"description": "Unique Project ID"
} }
], ],
"post": { "post": {
@ -875,11 +878,14 @@
"parameters": [ "parameters": [
{ {
"schema": { "schema": {
"$ref": "#/components/schemas/Id" "$ref": "#/components/schemas/Id",
"example": "p_124hhlkbeasewh",
"type": "string"
}, },
"name": "projectId", "name": "projectId",
"in": "path", "in": "path",
"required": true "required": true,
"description": "Unique Project ID"
} }
], ],
"get": { "get": {
@ -931,11 +937,14 @@
"parameters": [ "parameters": [
{ {
"schema": { "schema": {
"$ref": "#/components/schemas/Id" "$ref": "#/components/schemas/Id",
"example": "p_124hhlkbeasewh",
"type": "string"
}, },
"name": "projectId", "name": "projectId",
"in": "path", "in": "path",
"required": true "required": true,
"description": "Unique Project ID"
}, },
{ {
"schema": { "schema": {
@ -1020,11 +1029,14 @@
"parameters": [ "parameters": [
{ {
"schema": { "schema": {
"$ref": "#/components/schemas/Id" "$ref": "#/components/schemas/Id",
"example": "p_124hhlkbeasewh",
"type": "string"
}, },
"name": "projectId", "name": "projectId",
"in": "path", "in": "path",
"required": true "required": true,
"description": "Unique Project ID"
} }
], ],
"post": { "post": {
@ -1142,11 +1154,14 @@
"parameters": [ "parameters": [
{ {
"schema": { "schema": {
"$ref": "#/components/schemas/Id" "$ref": "#/components/schemas/Id",
"example": "p_124hhlkbeasewh",
"type": "string"
}, },
"name": "projectId", "name": "projectId",
"in": "path", "in": "path",
"required": true "required": true,
"description": "Unique Project ID"
} }
], ],
"get": { "get": {
@ -1212,11 +1227,14 @@
"parameters": [ "parameters": [
{ {
"schema": { "schema": {
"$ref": "#/components/schemas/Id" "$ref": "#/components/schemas/Id",
"example": "p_124hhlkbeasewh",
"type": "string"
}, },
"name": "projectId", "name": "projectId",
"in": "path", "in": "path",
"required": true "required": true,
"description": "Unique Project ID"
}, },
{ {
"schema": { "schema": {
@ -1290,11 +1308,14 @@
"parameters": [ "parameters": [
{ {
"schema": { "schema": {
"$ref": "#/components/schemas/Id" "$ref": "#/components/schemas/Id",
"example": "p_124hhlkbeasewh",
"type": "string"
}, },
"name": "projectId", "name": "projectId",
"in": "path", "in": "path",
"required": true "required": true,
"description": "Unique Project ID"
} }
], ],
"get": { "get": {
@ -1370,11 +1391,14 @@
"parameters": [ "parameters": [
{ {
"schema": { "schema": {
"$ref": "#/components/schemas/Id" "$ref": "#/components/schemas/Id",
"example": "p_124hhlkbeasewh",
"type": "string"
}, },
"name": "projectId", "name": "projectId",
"in": "path", "in": "path",
"required": true "required": true,
"description": "Unique Project ID"
} }
], ],
"get": { "get": {
@ -1505,11 +1529,14 @@
"parameters": [ "parameters": [
{ {
"schema": { "schema": {
"$ref": "#/components/schemas/Id" "$ref": "#/components/schemas/Id",
"example": "p_124hhlkbeasewh",
"type": "string"
}, },
"name": "projectId", "name": "projectId",
"in": "path", "in": "path",
"required": true "required": true,
"description": "Unique Project ID"
} }
], ],
"get": { "get": {
@ -1547,11 +1574,14 @@
"parameters": [ "parameters": [
{ {
"schema": { "schema": {
"$ref": "#/components/schemas/Id" "$ref": "#/components/schemas/Id",
"example": "p_124hhlkbeasewh",
"type": "string"
}, },
"name": "projectId", "name": "projectId",
"in": "path", "in": "path",
"required": true "required": true,
"description": "Unique Project ID"
} }
], ],
"post": { "post": {
@ -1803,11 +1833,14 @@
"parameters": [ "parameters": [
{ {
"schema": { "schema": {
"$ref": "#/components/schemas/Id" "$ref": "#/components/schemas/Id",
"example": "p_124hhlkbeasewh",
"type": "string"
}, },
"name": "projectId", "name": "projectId",
"in": "path", "in": "path",
"required": true "required": true,
"description": "Unique Project ID"
}, },
{ {
"schema": { "schema": {
@ -3237,11 +3270,14 @@
"parameters": [ "parameters": [
{ {
"schema": { "schema": {
"$ref": "#/components/schemas/Id" "$ref": "#/components/schemas/Id",
"example": "p_124hhlkbeasewh",
"type": "string"
}, },
"name": "projectId", "name": "projectId",
"in": "path", "in": "path",
"required": true "required": true,
"description": "Unique Project ID"
} }
], ],
"post": { "post": {
@ -3282,11 +3318,14 @@
"parameters": [ "parameters": [
{ {
"schema": { "schema": {
"$ref": "#/components/schemas/Id" "$ref": "#/components/schemas/Id",
"example": "p_124hhlkbeasewh",
"type": "string"
}, },
"name": "projectId", "name": "projectId",
"in": "path", "in": "path",
"required": true "required": true,
"description": "Unique Project ID"
}, },
{ {
"schema": { "schema": {
@ -3335,11 +3374,14 @@
"parameters": [ "parameters": [
{ {
"schema": { "schema": {
"$ref": "#/components/schemas/Id" "$ref": "#/components/schemas/Id",
"example": "p_124hhlkbeasewh",
"type": "string"
}, },
"name": "projectId", "name": "projectId",
"in": "path", "in": "path",
"required": true "required": true,
"description": "Unique Project ID"
} }
], ],
"get": { "get": {
@ -5618,11 +5660,14 @@
"parameters": [ "parameters": [
{ {
"schema": { "schema": {
"$ref": "#/components/schemas/Id" "$ref": "#/components/schemas/Id",
"example": "p_124hhlkbeasewh",
"type": "string"
}, },
"name": "projectId", "name": "projectId",
"in": "path", "in": "path",
"required": true "required": true,
"description": "Unique Project ID"
} }
], ],
"get": { "get": {
@ -6634,11 +6679,14 @@
"parameters": [ "parameters": [
{ {
"schema": { "schema": {
"$ref": "#/components/schemas/Id" "$ref": "#/components/schemas/Id",
"example": "p_124hhlkbeasewh",
"type": "string"
}, },
"name": "projectId", "name": "projectId",
"in": "path", "in": "path",
"required": true "required": true,
"description": "Unique Project ID"
} }
] ]
}, },
@ -6657,11 +6705,14 @@
"parameters": [ "parameters": [
{ {
"schema": { "schema": {
"$ref": "#/components/schemas/Id" "$ref": "#/components/schemas/Id",
"example": "p_124hhlkbeasewh",
"type": "string"
}, },
"name": "projectId", "name": "projectId",
"in": "path", "in": "path",
"required": true "required": true,
"description": "Unique Project ID"
}, },
{ {
"schema": { "schema": {
@ -6757,11 +6808,14 @@
"parameters": [ "parameters": [
{ {
"schema": { "schema": {
"$ref": "#/components/schemas/Id" "$ref": "#/components/schemas/Id",
"example": "p_124hhlkbeasewh",
"type": "string"
}, },
"name": "projectId", "name": "projectId",
"in": "path", "in": "path",
"required": true "required": true,
"description": "Unique Project ID"
}, },
{ {
"schema": { "schema": {

Loading…
Cancel
Save