1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

feat: collaboration mode API cleanup (#3357)

This commit is contained in:
Mateusz Kwasniewski 2023-03-23 14:13:34 +01:00 committed by GitHub
parent db2b40543c
commit 57f42b5629
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 10 deletions

View File

@ -36,9 +36,8 @@ export const healthOverviewSchema = {
type: 'string',
enum: ['open', 'protected'],
example: 'open',
nullable: true,
description:
'A mode of the project affecting what actions are possible in this project. During a rollout of project modes this feature can be optional or `null`',
"The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not.",
},
members: {
type: 'number',

View File

@ -48,7 +48,7 @@ export const projectOverviewSchema = {
enum: ['open', 'protected'],
example: 'open',
description:
'A mode of the project affecting what actions are possible in this project',
"The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not.",
},
members: {
type: 'number',

View File

@ -60,7 +60,7 @@ export const projectSchema = {
enum: ['open', 'protected'],
example: 'open',
description:
'A mode of the project affecting what actions are possible in this project',
"The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not.",
},
defaultStickiness: {
type: 'string',

View File

@ -1878,13 +1878,12 @@ exports[`should serve the OpenAPI spec 1`] = `
"type": "number",
},
"mode": {
"description": "A mode of the project affecting what actions are possible in this project. During a rollout of project modes this feature can be optional or \`null\`",
"description": "The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not.",
"enum": [
"open",
"protected",
],
"example": "open",
"nullable": true,
"type": "string",
},
"name": {
@ -1952,13 +1951,12 @@ exports[`should serve the OpenAPI spec 1`] = `
"type": "number",
},
"mode": {
"description": "A mode of the project affecting what actions are possible in this project. During a rollout of project modes this feature can be optional or \`null\`",
"description": "The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not.",
"enum": [
"open",
"protected",
],
"example": "open",
"nullable": true,
"type": "string",
},
"name": {
@ -2832,7 +2830,7 @@ exports[`should serve the OpenAPI spec 1`] = `
"type": "number",
},
"mode": {
"description": "A mode of the project affecting what actions are possible in this project",
"description": "The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not.",
"enum": [
"open",
"protected",
@ -2917,7 +2915,7 @@ exports[`should serve the OpenAPI spec 1`] = `
"type": "number",
},
"mode": {
"description": "A mode of the project affecting what actions are possible in this project",
"description": "The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not.",
"enum": [
"open",
"protected",