Skip to content

Commit

Permalink
Give nice operation ids to apps + jobid is number
Browse files Browse the repository at this point in the history
  • Loading branch information
sverhoeven committed Jan 10, 2024
1 parent 98cb6c9 commit 55ef007
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bartender/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def unroll_application_route(
}
return {
"tags": ["application"],
"operationId": f"upload_{aname}",
"operationId": f"application_{aname}",
"summary": f"Upload job to {aname}",
"requestBody": request_body,
"responses": existing_put_path["responses"],
Expand All @@ -353,13 +353,13 @@ def unroll_interactive_app_routes(
path = f"/api/job/{{jobid}}/interactive/{iname}"
post = {
"tags": ["interactive"],
"operationId": iname,
"operationId": f"interactive_application_{iname}",
"parameters": [
{
"name": "jobid",
"in": "path",
"required": True,
"schema": {"type": "string"},
"schema": {"type": "number"},
},
],
"requestBody": {
Expand Down

0 comments on commit 55ef007

Please sign in to comment.