Skip to content

Commit

Permalink
docs(swagger): Update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
binh-dam-ibigroup committed Nov 20, 2024
1 parent 8f1f77f commit c9e4218
Showing 1 changed file with 43 additions and 3 deletions.
46 changes: 43 additions & 3 deletions src/main/resources/latest-spark-swagger-output.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1031,6 +1031,35 @@ paths:
description: "An error occurred while performing the request. Contact an\
\ API administrator for more information."
examples: {}
/api/secure/monitoredtrip/gettrips:
get:
tags:
- "api/secure/monitoredtrip"
description: "Gets a paginated list of trips created by the current user and\
\ shared trips created by others where the current user is the primary traveler\
\ or a companion or an observer."
produces:
- "application/json"
parameters:
- name: "limit"
in: "query"
description: "If specified, the maximum number of items to return."
required: false
type: "string"
default: "10"
- name: "offset"
in: "query"
description: "If specified, the number of records to skip/offset."
required: false
type: "string"
default: "0"
responses:
"200":
description: "successful operation"
responseSchema:
$ref: "#/definitions/ResponseList"
schema:
$ref: "#/definitions/ResponseList"
/api/secure/monitoredtrip/checkitinerary:
post:
tags:
Expand Down Expand Up @@ -1686,10 +1715,10 @@ paths:
"200":
description: "Successful operation"
examples: {}
schema:
$ref: "#/definitions/MobilityProfileLite"
responseSchema:
$ref: "#/definitions/MobilityProfileLite"
schema:
$ref: "#/definitions/MobilityProfileLite"
"400":
description: "The request was not formed properly (e.g., some required parameters\
\ may be missing). See the details of the returned response to determine\
Expand Down Expand Up @@ -2536,6 +2565,17 @@ definitions:
$ref: "#/definitions/Fare"
details:
$ref: "#/definitions/FareDetails"
MobilityProfileLite:
type: "object"
properties:
userId:
type: "string"
mobilityMode:
type: "string"
email:
type: "string"
name:
type: "string"
LocalizedAlert:
type: "object"
properties:
Expand Down Expand Up @@ -2636,7 +2676,7 @@ definitions:
notifyAtLeadingInterval:
type: "boolean"
primary:
$ref: "#/definitions/RelatedUser"
$ref: "#/definitions/MobilityProfileLite"
companion:
$ref: "#/definitions/RelatedUser"
observers:
Expand Down

0 comments on commit c9e4218

Please sign in to comment.