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: add helm link #524

Merged
merged 1 commit into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions src/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,8 @@
$ref: './resources/helm/HelmDeploymentRestrictionRef.yaml'
/helm/{helmId}/clone:
$ref: './resources/helm/HelmClone.yaml'
/helm/{helmId}/link:
$ref: './resources/helm/HelmLink.yaml'
/environment/{environmentId}/job:
$ref: './resources/job/EnvironmentJob.yaml'
/environment/{environmentId}/job/status:
Expand Down Expand Up @@ -817,11 +819,11 @@
$ref: './resources/variable/VariablesImport.yaml'
components:
parameters:
$ref: './parameters/_index.yaml'

Check warning on line 822 in src/openapi.yaml

View workflow job for this annotation

GitHub Actions / Lint (pull_request)

oas3-unused-component

Potentially unused component has been detected.
schemas:
$ref: './schemas/_index.yaml'

Check warning on line 824 in src/openapi.yaml

View workflow job for this annotation

GitHub Actions / Lint (pull_request)

oas3-unused-component

Potentially unused component has been detected.
responses:
$ref: './responses/_index.yaml'

Check warning on line 826 in src/openapi.yaml

View workflow job for this annotation

GitHub Actions / Lint (pull_request)

oas3-unused-component

Potentially unused component has been detected.
securitySchemes:
bearerAuth:
type: http
Expand Down
21 changes: 21 additions & 0 deletions src/resources/helm/HelmLink.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
get:
summary: 'List all URLs of the helm'
description: This will return all the custom domains and Qovery autogenerated domain for the given helm
operationId: listHelmLinks
parameters:
- $ref: '../../parameters/path/helmId.yaml'
tags:
- Helm Main Calls
responses:
'200':
description: 'List links'
content:
application/json:
schema:
$ref: '../../schemas/LinkResponseList.yaml'
'401':
$ref: '../../responses/NotAuthorized.yaml'
'403':
$ref: '../../responses/Forbidden.yaml'
'404':
$ref: '../../responses/NotFound.yaml'
Loading