Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
Merge pull request #7 from stacklok/update-openapi-e3043f092e938d011d…
Browse files Browse the repository at this point in the history
…66f396d3071049fbf55ecd

Update OpenAPI
  • Loading branch information
JAORMX authored Nov 2, 2023
2 parents e3043f0 + cc6802c commit 05b1b34
Showing 1 changed file with 84 additions and 0 deletions.
84 changes: 84 additions & 0 deletions src/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,34 @@
"tags": [
"RepositoryService"
]
},
"delete": {
"operationId": "RepositoryService_DeleteRepositoryById",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/v1DeleteRepositoryByIdResponse"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/googlerpcStatus"
}
}
},
"parameters": [
{
"name": "repositoryId",
"in": "path",
"required": true,
"type": "string"
}
],
"tags": [
"RepositoryService"
]
}
},
"/api/v1/repository/provider/{provider}/name/{name}": {
Expand Down Expand Up @@ -1001,6 +1029,46 @@
"tags": [
"RepositoryService"
]
},
"delete": {
"operationId": "RepositoryService_DeleteRepositoryByName",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/v1DeleteRepositoryByNameResponse"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/googlerpcStatus"
}
}
},
"parameters": [
{
"name": "provider",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "name",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "projectId",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"RepositoryService"
]
}
},
"/api/v1/repository/provider/{provider}/register": {
Expand Down Expand Up @@ -1893,6 +1961,22 @@
"v1DeleteProfileResponse": {
"type": "object"
},
"v1DeleteRepositoryByIdResponse": {
"type": "object",
"properties": {
"repositoryId": {
"type": "string"
}
}
},
"v1DeleteRepositoryByNameResponse": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
},
"v1DeleteRuleTypeResponse": {
"type": "object",
"description": "DeleteRuleTypeResponse is the response to delete a rule type."
Expand Down

0 comments on commit 05b1b34

Please sign in to comment.