Skip to content

Commit 829145c

Browse files
committed
Remove x-swagger-router controller
Remove unused resource call
1 parent fc71e91 commit 829145c

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

wes_service/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ def main(argv=sys.argv[1:]):
2626
def rs(x):
2727
return getattr(backend, x)
2828

29-
res = resource_stream(__name__, 'openapi/workflow_execution_service.swagger.yaml')
3029
app.add_api('openapi/workflow_execution_service.swagger.yaml', resolver=Resolver(rs))
3130

3231
app.run(port=args.port)

wes_service/openapi/workflow_execution_service.swagger.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ paths:
1616
summary: |-
1717
Get information about Workflow Execution Service. May include information related (but
1818
not limited to) the workflow descriptor formats, versions supported, the WES API versions supported, and information about general the service availability.
19-
x-swagger-router-controller: ga4gh.wes.server
19+
2020
operationId: GetServiceInfo
2121
responses:
2222
'200':
@@ -48,7 +48,7 @@ paths:
4848
There is no guarantee of live updates as the user traverses the pages, the behavior should be
4949
decided (and documented) by each implementation.
5050
To monitor a given execution, use GetWorkflowStatus or GetWorkflowLog.
51-
x-swagger-router-controller: ga4gh.wes.server
51+
5252
operationId: ListWorkflows
5353
responses:
5454
'200':
@@ -109,7 +109,7 @@ paths:
109109
be accomplished by given the credentials associated with a WES service access to a
110110
particular bucket. The details are important for a production system and user on-boarding
111111
but outside the scope of this spec.
112-
x-swagger-router-controller: ga4gh.wes.server
112+
113113
operationId: RunWorkflow
114114
responses:
115115
'200':
@@ -143,7 +143,7 @@ paths:
143143
'/workflows/{workflow_id}':
144144
get:
145145
summary: Get detailed info about a running workflow.
146-
x-swagger-router-controller: ga4gh.wes.server
146+
147147
operationId: GetWorkflowLog
148148
responses:
149149
'200':
@@ -175,7 +175,7 @@ paths:
175175
- WorkflowExecutionService
176176
delete:
177177
summary: Cancel a running workflow.
178-
x-swagger-router-controller: ga4gh.wes.server
178+
179179
operationId: CancelJob
180180
responses:
181181
'200':
@@ -208,7 +208,7 @@ paths:
208208
'/workflows/{workflow_id}/status':
209209
get:
210210
summary: Get quick status info about a running workflow.
211-
x-swagger-router-controller: ga4gh.wes.server
211+
212212
operationId: GetWorkflowStatus
213213
responses:
214214
'200':

0 commit comments

Comments
 (0)