Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:(COR-1154): conflict variable #771

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 76 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10543,6 +10543,15 @@ paths:
$ref: '#/components/responses/403'
'404':
$ref: '#/components/responses/404'
'409':
description: Conflict
content:
application/json:
schema:
type: object
properties:
existing_variable:
$ref: '#/components/schemas/ExistingVariableResponse'
'/variable/{variableId}/alias':
post:
summary: Create a variable alias
Expand Down Expand Up @@ -10578,6 +10587,15 @@ paths:
$ref: '#/components/responses/403'
'404':
$ref: '#/components/responses/404'
'409':
description: Conflict
content:
application/json:
schema:
type: object
properties:
existing_variable:
$ref: '#/components/schemas/ExistingVariableResponse'
'/variable/{variableId}/override':
post:
summary: Create a variable override
Expand Down Expand Up @@ -10612,6 +10630,15 @@ paths:
$ref: '#/components/responses/403'
'404':
$ref: '#/components/responses/404'
'409':
description: Conflict
content:
application/json:
schema:
type: object
properties:
existing_variable:
$ref: '#/components/schemas/ExistingVariableResponse'
'/variable/{variableId}':
delete:
summary: Delete a variable
Expand Down Expand Up @@ -10665,6 +10692,15 @@ paths:
$ref: '#/components/responses/403'
'404':
$ref: '#/components/responses/404'
'409':
description: Conflict
content:
application/json:
schema:
type: object
properties:
existing_variable:
$ref: '#/components/schemas/ExistingVariableResponse'
/variable/import:
post:
summary: Import variables
Expand Down Expand Up @@ -20569,6 +20605,46 @@ components:
enum:
- CRON
- LIFECYCLE
ExistingVariableResponse:
title: ExistingVariableResponse
x-stoplight:
id: q4fqizfgailgn
type: object
required:
- id
- key
- scope
properties:
id:
type: string
x-stoplight:
id: 1agmjo5m71tvk
key:
type: string
x-stoplight:
id: t4waxt1c5zdi5
scope:
$ref: '#/components/schemas/APIVariableScopeEnum'
organization_id:
type: string
x-stoplight:
id: ogvrd3qiis0ja
format: uuid
projectId:
type: string
x-stoplight:
id: b2tq0bjztuttn
format: uuid
environment_id:
type: string
x-stoplight:
id: v1rhtepekjetj
format: uuid
service_id:
type: string
x-stoplight:
id: o2gd6mvecun1t
format: uuid
responses:
'204':
description: no content
Expand Down
Loading