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

OpenAPI(feat): add new 'Segments' tag (#2241)

* OpenAPI(feat): add new 'Segments' tag

## What

This change adds a new Segments tag to the list of valid OpenAPI tags.

## Why

When updating tags for the enterprise version of Unleash, I realized
we didn't have any tags that were appropriate for the segments
endpoints.

* chore: Update snapshot
This commit is contained in:
Thomas Heartman 2022-10-27 10:40:32 +02:00 committed by GitHub
parent 922ec7126f
commit 5cef605272
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -74,6 +74,11 @@ const OPENAPI_TAGS = [
description:
'Create, update, and delete [Unleash Public Signup tokens](https://docs.getunleash.io/reference/public-signup-tokens).',
},
{
name: 'Segments',
description:
'Create, update, delete, and manage [segments](https://docs.getunleash.io/reference/segments).',
},
{
name: 'Strategies',
description:

View File

@ -7493,6 +7493,10 @@ If the provided project does not exist, the list of events will be empty.",
"description": "Create, update, and delete [Unleash Public Signup tokens](https://docs.getunleash.io/reference/public-signup-tokens).",
"name": "Public signup tokens",
},
{
"description": "Create, update, delete, and manage [segments](https://docs.getunleash.io/reference/segments).",
"name": "Segments",
},
{
"description": "Create, update, delete, manage [custom strategies](https://docs.getunleash.io/advanced/custom_activation_strategy).",
"name": "Strategies",