1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

Fix/oas tags (#2065)

* bug fix

* update snapshot
This commit is contained in:
andreas-unleash 2022-09-15 12:18:54 +03:00 committed by GitHub
parent c52cec5df4
commit 616ce5a93c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View File

@ -87,7 +87,7 @@ export class PublicSignupController extends Controller {
middleware: [
openApiService.validPath({
tags: ['Public signup tokens'],
operationId: 'createApiToken',
operationId: 'createPublicSignupToken',
requestBody: createRequestSchema(
'publicSignupTokenCreateSchema',
),
@ -158,7 +158,7 @@ export class PublicSignupController extends Controller {
permission: ADMIN,
middleware: [
openApiService.validPath({
tags: ['API tokens'],
tags: ['Public signup tokens'],
operationId: 'deletePublicSignupToken',
responses: {
200: emptyResponse,
@ -175,8 +175,8 @@ export class PublicSignupController extends Controller {
permission: NONE,
middleware: [
openApiService.validPath({
tags: ['API tokens'],
operationId: 'validateSignupToken',
tags: ['Public signup tokens'],
operationId: 'validatePublicSignupToken',
responses: {
200: emptyResponse,
401: emptyResponse,

View File

@ -4453,7 +4453,7 @@ If the provided project does not exist, the list of events will be empty.",
],
},
"post": {
"operationId": "createApiToken",
"operationId": "createPublicSignupToken",
"requestBody": {
"content": {
"application/json": {
@ -4501,7 +4501,7 @@ If the provided project does not exist, the list of events will be empty.",
},
},
"tags": [
"API tokens",
"Public signup tokens",
],
},
"get": {
@ -4608,7 +4608,7 @@ If the provided project does not exist, the list of events will be empty.",
},
"/api/admin/invite-link/tokens/{token}/validate": {
"post": {
"operationId": "validateSignupToken",
"operationId": "validatePublicSignupToken",
"parameters": [
{
"in": "path",
@ -4628,7 +4628,7 @@ If the provided project does not exist, the list of events will be empty.",
},
},
"tags": [
"API tokens",
"Public signup tokens",
],
},
},