Skip to content

Commit

Permalink
See Qovery/qovery-openapi-spec@4cc6492 from refs/heads/main
Browse files Browse the repository at this point in the history
  • Loading branch information
qovery committed May 28, 2024
1 parent 1c106f8 commit 8dacfd2
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 17 deletions.
14 changes: 9 additions & 5 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15315,6 +15315,11 @@ components:
- url
type: object
ApplicationGitRepositoryRequest:
example:
root_path: /
git_token_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
branch: feat/text_xxx
url: https://github.com/Qovery/simple-node-app
properties:
url:
description: application git repository URL
Expand Down Expand Up @@ -20012,15 +20017,14 @@ components:
DockerfileCheckRequest:
example:
git_repository:
is_private: true
name: simple-node-app
default_branch: master
id: id
root_path: /
git_token_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
branch: feat/text_xxx
url: https://github.com/Qovery/simple-node-app
dockerfile_path: dockerfile_path
properties:
git_repository:
$ref: '#/components/schemas/GitRepository'
$ref: '#/components/schemas/ApplicationGitRepositoryRequest'
dockerfile_path:
description: path of the dockerfile with root_path as base path
type: string
Expand Down
10 changes: 5 additions & 5 deletions docs/DockerfileCheckRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**GitRepository** | [**GitRepository**](GitRepository.md) | |
**GitRepository** | [**ApplicationGitRepositoryRequest**](ApplicationGitRepositoryRequest.md) | |
**DockerfilePath** | **string** | path of the dockerfile with root_path as base path |

## Methods

### NewDockerfileCheckRequest

`func NewDockerfileCheckRequest(gitRepository GitRepository, dockerfilePath string, ) *DockerfileCheckRequest`
`func NewDockerfileCheckRequest(gitRepository ApplicationGitRepositoryRequest, dockerfilePath string, ) *DockerfileCheckRequest`

NewDockerfileCheckRequest instantiates a new DockerfileCheckRequest object
This constructor will assign default values to properties that have it defined,
Expand All @@ -28,20 +28,20 @@ but it doesn't guarantee that properties required by API are set

### GetGitRepository

`func (o *DockerfileCheckRequest) GetGitRepository() GitRepository`
`func (o *DockerfileCheckRequest) GetGitRepository() ApplicationGitRepositoryRequest`

GetGitRepository returns the GitRepository field if non-nil, zero value otherwise.

### GetGitRepositoryOk

`func (o *DockerfileCheckRequest) GetGitRepositoryOk() (*GitRepository, bool)`
`func (o *DockerfileCheckRequest) GetGitRepositoryOk() (*ApplicationGitRepositoryRequest, bool)`

GetGitRepositoryOk returns a tuple with the GitRepository field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetGitRepository

`func (o *DockerfileCheckRequest) SetGitRepository(v GitRepository)`
`func (o *DockerfileCheckRequest) SetGitRepository(v ApplicationGitRepositoryRequest)`

SetGitRepository sets GitRepository field to given value.

Expand Down
2 changes: 1 addition & 1 deletion docs/EnvironmentAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (

func main() {
environmentId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Environment ID
dockerfileCheckRequest := *openapiclient.NewDockerfileCheckRequest(*openapiclient.NewGitRepository("Id_example", "simple-node-app", "https://github.com/Qovery/simple-node-app"), "DockerfilePath_example") // DockerfileCheckRequest | (optional)
dockerfileCheckRequest := *openapiclient.NewDockerfileCheckRequest(*openapiclient.NewApplicationGitRepositoryRequest("https://github.com/Qovery/simple-node-app"), "DockerfilePath_example") // DockerfileCheckRequest | (optional)

configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
Expand Down
12 changes: 6 additions & 6 deletions model_dockerfile_check_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8dacfd2

Please sign in to comment.