From fb0b03df00188e4b6d02ade7d4ff3f66eabbfe99 Mon Sep 17 00:00:00 2001 From: picuron Date: Thu, 28 May 2020 13:53:34 -0400 Subject: [PATCH] Equipment service openapi (#3) - final * API Documentation for customer-service -All methods in customer-service class covered * Final testing, fixes -Finished testing each API method -Remove quotations from unnecessary spots -Changed customerIds to int32 * location-service API documentation -Completed and tested Swagger API doc for location-services * Made requested changes - get location using locationId - removed commented lines - single quotes for $ref values - removed unncessary double quotes * Added equipment-service Swagger documentation -Completed and tested * Fixed small naming error Co-authored-by: Dmitry Toptygin <62253810+dmitry-toptygin-connectus-ai@users.noreply.github.com> --- .../src/main/resources/equipment-service-openapi.yaml | 4 +++- .../src/main/resources/location-service-openapi.yaml | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/equipment-service/src/main/resources/equipment-service-openapi.yaml b/equipment-service/src/main/resources/equipment-service-openapi.yaml index 84178711..34b7ee81 100644 --- a/equipment-service/src/main/resources/equipment-service-openapi.yaml +++ b/equipment-service/src/main/resources/equipment-service-openapi.yaml @@ -600,8 +600,10 @@ components: totalItemsReturned: type: integer format: int32 - isLastPage: + lastPage: type: boolean + cursor: + type: string example: model_type: PaginationContext maxItemsPerPage: 10 diff --git a/location-service/src/main/resources/location-service-openapi.yaml b/location-service/src/main/resources/location-service-openapi.yaml index d031a506..e9781b99 100644 --- a/location-service/src/main/resources/location-service-openapi.yaml +++ b/location-service/src/main/resources/location-service-openapi.yaml @@ -239,6 +239,8 @@ components: format: int32 lastPage: type: boolean + cursor: + type: string example: model_type: PaginationContext maxItemsPerPage: 10