Browse Source

refactor: revert auth apis path

pull/6644/head
Pranav C 1 year ago
parent
commit
7c3b819e3b
  1. 20
      packages/nocodb/src/schema/swagger-v2.json

20
packages/nocodb/src/schema/swagger-v2.json

@ -88,7 +88,7 @@
} }
} }
}, },
"/api/v2/auth/user/signup": { "/api/v1/auth/user/signup": {
"post": { "post": {
"summary": "Signup", "summary": "Signup",
"operationId": "auth-signup", "operationId": "auth-signup",
@ -187,7 +187,7 @@
"description": "Create a new user with provided email and password and first user is marked as super admin. " "description": "Create a new user with provided email and password and first user is marked as super admin. "
} }
}, },
"/api/v2/auth/user/signout": { "/api/v1/auth/user/signout": {
"post": { "post": {
"summary": "Signout", "summary": "Signout",
"operationId": "auth-signout", "operationId": "auth-signout",
@ -231,7 +231,7 @@
} }
] ]
}, },
"/api/v2/auth/user/signin": { "/api/v1/auth/user/signin": {
"post": { "post": {
"summary": "Signin", "summary": "Signin",
"operationId": "auth-signin", "operationId": "auth-signin",
@ -292,7 +292,7 @@
} }
] ]
}, },
"/api/v2/auth/user/me": { "/api/v1/auth/user/me": {
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/xc-auth" "$ref": "#/components/parameters/xc-auth"
@ -344,7 +344,7 @@
] ]
} }
}, },
"/api/v2/auth/password/forgot": { "/api/v1/auth/password/forgot": {
"post": { "post": {
"summary": "Forget Password", "summary": "Forget Password",
"operationId": "auth-password-forgot", "operationId": "auth-password-forgot",
@ -408,7 +408,7 @@
} }
] ]
}, },
"/api/v2/auth/password/change": { "/api/v1/auth/password/change": {
"post": { "post": {
"summary": "Change Password", "summary": "Change Password",
"operationId": "auth-password-change", "operationId": "auth-password-change",
@ -469,7 +469,7 @@
} }
] ]
}, },
"/api/v2/auth/token/validate/{token}": { "/api/v1/auth/token/validate/{token}": {
"post": { "post": {
"summary": "Verify Reset Token", "summary": "Verify Reset Token",
"operationId": "auth-password-reset-token-validate", "operationId": "auth-password-reset-token-validate",
@ -529,7 +529,7 @@
} }
] ]
}, },
"/api/v2/auth/email/validate/{token}": { "/api/v1/auth/email/validate/{token}": {
"post": { "post": {
"summary": "Verify Email", "summary": "Verify Email",
"operationId": "auth-email-validate", "operationId": "auth-email-validate",
@ -589,7 +589,7 @@
} }
] ]
}, },
"/api/v2/uth/password/reset/{token}": { "/api/v1/auth/password/reset/{token}": {
"post": { "post": {
"summary": "Reset Password", "summary": "Reset Password",
"operationId": "auth-password-reset", "operationId": "auth-password-reset",
@ -665,7 +665,7 @@
} }
] ]
}, },
"/api/v2/auth/token/refresh": { "/api/v1/auth/token/refresh": {
"post": { "post": {
"summary": "Refresh Token", "summary": "Refresh Token",
"operationId": "auth-token-refresh", "operationId": "auth-token-refresh",

Loading…
Cancel
Save