mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-04 01:18:20 +02:00
feat: collaboration mode API cleanup (#3357)
This commit is contained in:
parent
db2b40543c
commit
57f42b5629
@ -36,9 +36,8 @@ export const healthOverviewSchema = {
|
|||||||
type: 'string',
|
type: 'string',
|
||||||
enum: ['open', 'protected'],
|
enum: ['open', 'protected'],
|
||||||
example: 'open',
|
example: 'open',
|
||||||
nullable: true,
|
|
||||||
description:
|
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: {
|
members: {
|
||||||
type: 'number',
|
type: 'number',
|
||||||
|
@ -48,7 +48,7 @@ export const projectOverviewSchema = {
|
|||||||
enum: ['open', 'protected'],
|
enum: ['open', 'protected'],
|
||||||
example: 'open',
|
example: 'open',
|
||||||
description:
|
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: {
|
members: {
|
||||||
type: 'number',
|
type: 'number',
|
||||||
|
@ -60,7 +60,7 @@ export const projectSchema = {
|
|||||||
enum: ['open', 'protected'],
|
enum: ['open', 'protected'],
|
||||||
example: 'open',
|
example: 'open',
|
||||||
description:
|
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: {
|
defaultStickiness: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
@ -1878,13 +1878,12 @@ exports[`should serve the OpenAPI spec 1`] = `
|
|||||||
"type": "number",
|
"type": "number",
|
||||||
},
|
},
|
||||||
"mode": {
|
"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": [
|
"enum": [
|
||||||
"open",
|
"open",
|
||||||
"protected",
|
"protected",
|
||||||
],
|
],
|
||||||
"example": "open",
|
"example": "open",
|
||||||
"nullable": true,
|
|
||||||
"type": "string",
|
"type": "string",
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
@ -1952,13 +1951,12 @@ exports[`should serve the OpenAPI spec 1`] = `
|
|||||||
"type": "number",
|
"type": "number",
|
||||||
},
|
},
|
||||||
"mode": {
|
"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": [
|
"enum": [
|
||||||
"open",
|
"open",
|
||||||
"protected",
|
"protected",
|
||||||
],
|
],
|
||||||
"example": "open",
|
"example": "open",
|
||||||
"nullable": true,
|
|
||||||
"type": "string",
|
"type": "string",
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
@ -2832,7 +2830,7 @@ exports[`should serve the OpenAPI spec 1`] = `
|
|||||||
"type": "number",
|
"type": "number",
|
||||||
},
|
},
|
||||||
"mode": {
|
"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": [
|
"enum": [
|
||||||
"open",
|
"open",
|
||||||
"protected",
|
"protected",
|
||||||
@ -2917,7 +2915,7 @@ exports[`should serve the OpenAPI spec 1`] = `
|
|||||||
"type": "number",
|
"type": "number",
|
||||||
},
|
},
|
||||||
"mode": {
|
"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": [
|
"enum": [
|
||||||
"open",
|
"open",
|
||||||
"protected",
|
"protected",
|
||||||
|
Loading…
Reference in New Issue
Block a user