diff --git a/.wiremock/git-pr-workflow-demo/openapi.yaml b/.wiremock/git-pr-workflow-demo/openapi.yaml index 91b8d1b..150f566 100644 --- a/.wiremock/git-pr-workflow-demo/openapi.yaml +++ b/.wiremock/git-pr-workflow-demo/openapi.yaml @@ -3,21 +3,25 @@ info: title: Git PR workflow demo version: 1.0.0 servers: +- url: https://8vkjq.wiremockapi.cloud - url: https://git-pr-workflow-demo.wiremockapi.cloud paths: /projects/{projectId}/tasks: get: summary: Get projects by projectId tasks. + description: Get projects by projectId tasks. operationId: getProjectsByProjectIdTasks parameters: - name: projectId in: path required: true + style: simple + explode: false schema: type: string responses: "200": - description: List tasks in project + description: Get projects by projectId tasks. - List tasks in project content: application/json: examples: @@ -27,7 +31,19 @@ paths: "tasks": [ { "id": 12345, - "title": "chore: refactor task manager", + "title": "Chore: refactor task manager", + "description": "Factor out the repeated workflow elements to reduce duplication" + "labelIds": [53, 67] + } + ] + } + Get projects by projectId tasks. - List tasks in project: + value: | + { + "tasks": [ + { + "id": 12345, + "title": "Chore: refactor the task manager component", "description": "Factor out the repeated workflow elements to reduce duplication" "labelIds": [53, 67] } diff --git a/.wiremock/git-pr-workflow-demo/stub-mappings.yaml b/.wiremock/git-pr-workflow-demo/stub-mappings.yaml index e4f3da0..47752d6 100644 --- a/.wiremock/git-pr-workflow-demo/stub-mappings.yaml +++ b/.wiremock/git-pr-workflow-demo/stub-mappings.yaml @@ -1,7 +1,7 @@ --- mappings: - id: "12e4ca84-f8e7-4c0b-afcd-d5431a5f33a3" - name: "List tasks in project" + name: "Get projects by projectId tasks. - List tasks in project" request: urlPathTemplate: "/projects/{projectId}/tasks" method: "GET" @@ -14,7 +14,7 @@ mappings: "tasks": [ { "id": 12345, - "title": "Chore: refactor task manager", + "title": "Chore: refactor the task manager component", "description": "Factor out the repeated workflow elements to reduce duplication" "labelIds": [53, 67] } @@ -22,16 +22,24 @@ mappings: } headers: Content-Type: "application/json" + transformerParameters: + graphQlMockDataTransformerParameters: {} uuid: "12e4ca84-f8e7-4c0b-afcd-d5431a5f33a3" persistent: true priority: 5 metadata: mocklab: created: - at: "2025-07-30T20:23:23.541177537Z" + at: "2025-08-16T06:34:58.35050062Z" + via: "SYSTEM" + updated: + at: "2025-08-19T11:17:26.097846862Z" via: "ADMIN_API" by: "m7m1g" - response-example-attachment: "List tasks in project" + oas: + operationId: "getProjectsByProjectIdTasks" + response-example-attachment: "Get projects by projectId tasks. - List tasks\ + \ in project" insertionIndex: 0 postServeActions: [] serveEventListeners: []