Skip to content

Commit 44d9818

Browse files
committed
add artifact by manifest to openapi
1 parent f3dd847 commit 44d9818

File tree

2 files changed

+90
-2
lines changed

2 files changed

+90
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ E2E_WAIT_TIMEOUT ?= 1m
3535
E2E_PARALLEL ?= 20
3636
E2E_SUITE_TIMEOUT ?= 15m
3737

38-
VERSION := latest
39-
DOCKER_PUSH := false
38+
VERSION := CR-15902-test-2
39+
DOCKER_PUSH := true
4040

4141
# VERSION is the version to be used for files in manifests and should always be latest unless we are releasing
4242
# we assume HEAD means you are on a tag

api/openapi-spec/swagger.json

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3920,6 +3920,94 @@
39203920
}
39213921
}
39223922
}
3923+
},
3924+
"/artifacts-by-manifest/{podId}/{artifactName}": {
3925+
"post": {
3926+
"tags": [
3927+
"ArtifactService"
3928+
],
3929+
"summary": "Get outputs artifacts by manifest",
3930+
"operationId": "ArtifactService_GetOutputArtifactByManifest",
3931+
"parameters": [
3932+
{
3933+
"type": "string",
3934+
"name": "podId",
3935+
"in": "path",
3936+
"required": true
3937+
},
3938+
{
3939+
"type": "string",
3940+
"name": "artifactName",
3941+
"in": "path",
3942+
"required": true
3943+
},
3944+
{
3945+
"type": "string",
3946+
"name": "workflow",
3947+
"in": "body",
3948+
"required": true
3949+
}
3950+
],
3951+
"responses": {
3952+
"200": {
3953+
"description": "An artifact file.",
3954+
"schema": {
3955+
"type": "string",
3956+
"format": "binary"
3957+
}
3958+
},
3959+
"default": {
3960+
"description": "An unexpected error response.",
3961+
"schema": {
3962+
"$ref": "#/definitions/grpc.gateway.runtime.Error"
3963+
}
3964+
}
3965+
}
3966+
}
3967+
},
3968+
"/input-artifacts-by-manifest/{podId}/{artifactName}": {
3969+
"post": {
3970+
"tags": [
3971+
"ArtifactService"
3972+
],
3973+
"summary": "Get inputs artifacts by manifest",
3974+
"operationId": "ArtifactService_GetInputArtifactByManifest",
3975+
"parameters": [
3976+
{
3977+
"type": "string",
3978+
"name": "podId",
3979+
"in": "path",
3980+
"required": true
3981+
},
3982+
{
3983+
"type": "string",
3984+
"name": "artifactName",
3985+
"in": "path",
3986+
"required": true
3987+
},
3988+
{
3989+
"type": "string",
3990+
"name": "workflow",
3991+
"in": "body",
3992+
"required": true
3993+
}
3994+
],
3995+
"responses": {
3996+
"200": {
3997+
"description": "An artifact file.",
3998+
"schema": {
3999+
"type": "string",
4000+
"format": "binary"
4001+
}
4002+
},
4003+
"default": {
4004+
"description": "An unexpected error response.",
4005+
"schema": {
4006+
"$ref": "#/definitions/grpc.gateway.runtime.Error"
4007+
}
4008+
}
4009+
}
4010+
}
39234011
}
39244012
},
39254013
"definitions": {

0 commit comments

Comments
 (0)