Skip to content

Commit d39c490

Browse files
committed
Refactor OpenAPI path parameters by using reusable components.
1 parent f6643e4 commit d39c490

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

runner/src/main/openapi/runner.yaml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -455,24 +455,9 @@ paths:
455455

456456
/organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/security/users:
457457
parameters:
458-
- name: organization_id
459-
in: path
460-
description: the Organization identifier
461-
required: true
462-
schema:
463-
type: string
464-
- name: workspace_id
465-
in: path
466-
description: the Workspace identifier
467-
required: true
468-
schema:
469-
type: string
470-
- name: runner_id
471-
in: path
472-
description: the Runner identifier
473-
required: true
474-
schema:
475-
type: string
458+
- $ref: '#/components/parameters/organizationId'
459+
- $ref: '#/components/parameters/workspaceId'
460+
- $ref: '#/components/parameters/runnerId'
476461
get:
477462
operationId: listRunnerSecurityUsers
478463
tags:

0 commit comments

Comments
 (0)