From 7b23d01bdcffc3843825b586788aa0111a652f4e Mon Sep 17 00:00:00 2001 From: Phil Sturgeon <67381+philsturgeon@users.noreply.github.com> Date: Mon, 23 Dec 2024 11:43:01 +0000 Subject: [PATCH] bump to v1.2.0 --- .microcks/openapi.yaml | 21 +++++++++++++++++++-- openapi.yaml | 2 +- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/.microcks/openapi.yaml b/.microcks/openapi.yaml index 2caf776..06f2a7f 100644 --- a/.microcks/openapi.yaml +++ b/.microcks/openapi.yaml @@ -13,7 +13,7 @@ info: [![Run In Postman](https://run.pstmn.io/button.svg =128pxx32px)](https://app.getpostman.com/run-collection/9265903-7a75a0d0-b108-4436-ba54-c6139698dc08?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D9265903-7a75a0d0-b108-4436-ba54-c6139698dc08%26entityType%3Dcollection%26workspaceId%3Df507f69d-9564-419c-89a2-cb8e4c8c7b8f) - version: 1.0.0 + version: 1.2.0 contact: name: Train Support url: 'https://example.com/support' @@ -270,7 +270,10 @@ paths: data: type: array items: - $ref: '#/components/schemas/Trip' + allOf: + - $ref: '#/components/schemas/Trip' + - $ref: '#/components/schemas/Links-Origin' + - $ref: '#/components/schemas/Links-Destination' - properties: links: allOf: @@ -824,6 +827,20 @@ components: self: type: string format: uri + Links-Destination: + type: object + description: The link to the destination station resource. + properties: + self: + type: string + format: uri + Links-Origin: + type: object + description: The link to the origin station resource. + properties: + self: + type: string + format: uri Links-Pagination: type: object properties: diff --git a/openapi.yaml b/openapi.yaml index ed1e989..51a589a 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -9,7 +9,7 @@ info: Experiment with this API in Postman, using our Postman Collection. [![Run In Postman](https://run.pstmn.io/button.svg =128pxx32px)](https://app.getpostman.com/run-collection/9265903-7a75a0d0-b108-4436-ba54-c6139698dc08?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D9265903-7a75a0d0-b108-4436-ba54-c6139698dc08%26entityType%3Dcollection%26workspaceId%3Df507f69d-9564-419c-89a2-cb8e4c8c7b8f) - version: 1.1.0 + version: 1.2.0 contact: name: Train Support url: https://example.com/support