Skip to content

Commit

Permalink
Add query parameters in openapi spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-farache committed Dec 1, 2023
1 parent 9786743 commit 6522279
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions assets/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1091,6 +1091,16 @@
"schema": {
"$ref": "#/components/schemas/ID"
}
},
{
"name": "remote-source",
"in": "query",
"description": "Remote source git URL from which get the source files.",
"required": false,
"example": "git+https://github.com/konveyor/move2kube",
"schema": {
"$ref": "#/components/schemas/RemoteSource"
}
}
],
"responses": {
Expand Down Expand Up @@ -1313,6 +1323,16 @@
"schema": {
"$ref": "#/components/schemas/ID"
}
},
{
"name": "skip-qa",
"in": "query",
"description": "Boolean to skip interactive QA.",
"required": false,
"example": "true",
"schema": {
"type": "boolean"
}
}
],
"requestBody": {
Expand Down Expand Up @@ -2295,6 +2315,12 @@
"description": "A unique ID.",
"example": "id-1234"
},
"RemoteSource": {
"pattern": "^git[+](https|ssh)://[a-zA-Z0-9]+([-.]{1}[a-zA-Z0-9]+)*[.][a-zA-Z]{2,5}(:[0-9]{1,5})?(\/.*)?$",
"type": "string",
"description": "A git URL.",
"example": "git+https://github.com/konveyor/move2kube"
},
"Error": {
"required": [
"error"
Expand Down

0 comments on commit 6522279

Please sign in to comment.