Skip to content

Commit

Permalink
🐛 Update openapi to reflect latest server changes (#125)
Browse files Browse the repository at this point in the history
* update workflow before publishing python package

* fix dependency issue and bump version

* point to website in project description

* fix broken dependency

* improve doc

* add github token to download artifacts

* ensure only read-access @wvangeit

* yet another attempt at downloading artifacts

* make sure to use repo that ran the trigger wf

* another attempt at fixing

* change owner

* allow publishing to testpypi also when pr

* minor change

* revert minor (but breaking) change

* minor fix

* add debug messages

* another debug message

* hopefully the final version

* final fix

* minor fix

* move master and tag to individual jobs

* add debug messages

* dev->post

* add python script for determining semantic version

* minor changes

* minor changes

* improve error handling and add version file to artifacts

* check if release

* minor fix

* ensure to enter venv

* also when tagging

* source venv in publishin workflow

* ensure only master

* add script for testing 'pure' semver

* adapt workflows to new python script

* minor change

* attempt to evaluate expressions correctly

* several fixes to fix tests

* ensure repo is checked out in publish workflow

* several small fixes

* cleanup

* debug

* minor cleanup

* mionr changes

* add debug message

* minor change

* minor change

* yet another try

* minor change

* minor change

* minor change

* mionr change

* minor changes

* correct workflow run id

* cosmetic change

* avoid using gh

* change to a single job for publishing

* minor cleanup

* update openapi.json
  • Loading branch information
bisgaard-itis authored Nov 22, 2023
1 parent ec6a0a7 commit 1ed574d
Showing 1 changed file with 62 additions and 1 deletion.
63 changes: 62 additions & 1 deletion api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1579,7 +1579,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Job"
"$ref": "#/components/schemas/JobStatus"
}
}
}
Expand Down Expand Up @@ -2229,6 +2229,67 @@
]
}
},
"/v0/solvers/{solver_key}/releases/{version}/jobs/{job_id}/logstream": {
"get": {
"tags": [
"solvers"
],
"summary": "Get Log Stream",
"operationId": "get_log_stream",
"parameters": [
{
"required": true,
"schema": {
"title": "Solver Key",
"pattern": "^simcore/services/comp/([a-z0-9][a-z0-9_.-]*/)*([a-z0-9-_]+[a-z0-9])$",
"type": "string"
},
"name": "solver_key",
"in": "path"
},
{
"required": true,
"schema": {
"title": "Version",
"pattern": "^(0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){2}(-(0|[1-9]\\d*|\\d*[-a-zA-Z][-\\da-zA-Z]*)(\\.(0|[1-9]\\d*|\\d*[-a-zA-Z][-\\da-zA-Z]*))*)?(\\+[-\\da-zA-Z]+(\\.[-\\da-zA-Z-]+)*)?$",
"type": "string"
},
"name": "version",
"in": "path"
},
{
"required": true,
"schema": {
"title": "Job Id",
"type": "string",
"format": "uuid"
},
"name": "job_id",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response"
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
},
"security": [
{
"HTTPBasic": []
}
]
}
},
"/v0/studies": {
"get": {
"tags": [
Expand Down

0 comments on commit 1ed574d

Please sign in to comment.