diff --git a/src/main/resources/latest-spark-swagger-output.yaml b/src/main/resources/latest-spark-swagger-output.yaml index 0e0f1348..5e9ed646 100644 --- a/src/main/resources/latest-spark-swagger-output.yaml +++ b/src/main/resources/latest-spark-swagger-output.yaml @@ -56,10 +56,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/AdminUser" responseSchema: $ref: "#/definitions/AdminUser" + schema: + $ref: "#/definitions/AdminUser" "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\ @@ -90,10 +90,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/AdminUser" responseSchema: $ref: "#/definitions/AdminUser" + schema: + $ref: "#/definitions/AdminUser" "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\ @@ -123,10 +123,10 @@ paths: responses: "200": description: "successful operation" - schema: - $ref: "#/definitions/Job" responseSchema: $ref: "#/definitions/Job" + schema: + $ref: "#/definitions/Job" /api/admin/user: get: tags: @@ -155,10 +155,10 @@ paths: responses: "200": description: "successful operation" - schema: - $ref: "#/definitions/ResponseList" responseSchema: $ref: "#/definitions/ResponseList" + schema: + $ref: "#/definitions/ResponseList" post: tags: - "api/admin/user" @@ -178,10 +178,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/AdminUser" responseSchema: $ref: "#/definitions/AdminUser" + schema: + $ref: "#/definitions/AdminUser" "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\ @@ -220,10 +220,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/AdminUser" responseSchema: $ref: "#/definitions/AdminUser" + schema: + $ref: "#/definitions/AdminUser" "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\ @@ -269,10 +269,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/AdminUser" responseSchema: $ref: "#/definitions/AdminUser" + schema: + $ref: "#/definitions/AdminUser" "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\ @@ -309,10 +309,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/AdminUser" responseSchema: $ref: "#/definitions/AdminUser" + schema: + $ref: "#/definitions/AdminUser" "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\ @@ -356,10 +356,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/ApiUser" responseSchema: $ref: "#/definitions/ApiUser" + schema: + $ref: "#/definitions/ApiUser" "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\ @@ -402,10 +402,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/ApiUser" responseSchema: $ref: "#/definitions/ApiUser" + schema: + $ref: "#/definitions/ApiUser" "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\ @@ -447,10 +447,10 @@ paths: responses: "200": description: "successful operation" - schema: - $ref: "#/definitions/TokenHolder" responseSchema: $ref: "#/definitions/TokenHolder" + schema: + $ref: "#/definitions/TokenHolder" /api/secure/application/fromtoken: get: tags: @@ -464,10 +464,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/ApiUser" responseSchema: $ref: "#/definitions/ApiUser" + schema: + $ref: "#/definitions/ApiUser" "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\ @@ -498,10 +498,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/ApiUser" responseSchema: $ref: "#/definitions/ApiUser" + schema: + $ref: "#/definitions/ApiUser" "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\ @@ -531,10 +531,10 @@ paths: responses: "200": description: "successful operation" - schema: - $ref: "#/definitions/Job" responseSchema: $ref: "#/definitions/Job" + schema: + $ref: "#/definitions/Job" /api/secure/application: get: tags: @@ -563,10 +563,10 @@ paths: responses: "200": description: "successful operation" - schema: - $ref: "#/definitions/ResponseList" responseSchema: $ref: "#/definitions/ResponseList" + schema: + $ref: "#/definitions/ResponseList" post: tags: - "api/secure/application" @@ -586,10 +586,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/ApiUser" responseSchema: $ref: "#/definitions/ApiUser" + schema: + $ref: "#/definitions/ApiUser" "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\ @@ -628,10 +628,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/ApiUser" responseSchema: $ref: "#/definitions/ApiUser" + schema: + $ref: "#/definitions/ApiUser" "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\ @@ -677,10 +677,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/ApiUser" responseSchema: $ref: "#/definitions/ApiUser" + schema: + $ref: "#/definitions/ApiUser" "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\ @@ -717,10 +717,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/ApiUser" responseSchema: $ref: "#/definitions/ApiUser" + schema: + $ref: "#/definitions/ApiUser" "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\ @@ -754,10 +754,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/CDPUser" responseSchema: $ref: "#/definitions/CDPUser" + schema: + $ref: "#/definitions/CDPUser" "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\ @@ -788,10 +788,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/CDPUser" responseSchema: $ref: "#/definitions/CDPUser" + schema: + $ref: "#/definitions/CDPUser" "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\ @@ -821,10 +821,10 @@ paths: responses: "200": description: "successful operation" - schema: - $ref: "#/definitions/Job" responseSchema: $ref: "#/definitions/Job" + schema: + $ref: "#/definitions/Job" /api/secure/cdp: get: tags: @@ -853,10 +853,10 @@ paths: responses: "200": description: "successful operation" - schema: - $ref: "#/definitions/ResponseList" responseSchema: $ref: "#/definitions/ResponseList" + schema: + $ref: "#/definitions/ResponseList" post: tags: - "api/secure/cdp" @@ -876,10 +876,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/CDPUser" responseSchema: $ref: "#/definitions/CDPUser" + schema: + $ref: "#/definitions/CDPUser" "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\ @@ -918,10 +918,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/CDPUser" responseSchema: $ref: "#/definitions/CDPUser" + schema: + $ref: "#/definitions/CDPUser" "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\ @@ -967,10 +967,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/CDPUser" responseSchema: $ref: "#/definitions/CDPUser" + schema: + $ref: "#/definitions/CDPUser" "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\ @@ -1007,10 +1007,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/CDPUser" responseSchema: $ref: "#/definitions/CDPUser" + schema: + $ref: "#/definitions/CDPUser" "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\ @@ -1050,10 +1050,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/ItineraryExistence" responseSchema: $ref: "#/definitions/ItineraryExistence" + schema: + $ref: "#/definitions/ItineraryExistence" "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\ @@ -1102,10 +1102,10 @@ paths: responses: "200": description: "successful operation" - schema: - $ref: "#/definitions/ResponseList" responseSchema: $ref: "#/definitions/ResponseList" + schema: + $ref: "#/definitions/ResponseList" post: tags: - "api/secure/monitoredtrip" @@ -1125,10 +1125,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/MonitoredTrip" responseSchema: $ref: "#/definitions/MonitoredTrip" + schema: + $ref: "#/definitions/MonitoredTrip" "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\ @@ -1167,10 +1167,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/MonitoredTrip" responseSchema: $ref: "#/definitions/MonitoredTrip" + schema: + $ref: "#/definitions/MonitoredTrip" "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\ @@ -1216,10 +1216,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/MonitoredTrip" responseSchema: $ref: "#/definitions/MonitoredTrip" + schema: + $ref: "#/definitions/MonitoredTrip" "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\ @@ -1257,10 +1257,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/MonitoredTrip" responseSchema: $ref: "#/definitions/MonitoredTrip" + schema: + $ref: "#/definitions/MonitoredTrip" "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\ @@ -1298,10 +1298,10 @@ paths: responses: "200": description: "successful operation" - schema: - $ref: "#/definitions/TrackingResponse" responseSchema: $ref: "#/definitions/TrackingResponse" + schema: + $ref: "#/definitions/TrackingResponse" /api/secure/monitoredtrip/updatetracking: post: tags: @@ -1319,10 +1319,10 @@ paths: responses: "200": description: "successful operation" - schema: - $ref: "#/definitions/TrackingResponse" responseSchema: $ref: "#/definitions/TrackingResponse" + schema: + $ref: "#/definitions/TrackingResponse" /api/secure/monitoredtrip/track: post: tags: @@ -1340,10 +1340,10 @@ paths: responses: "200": description: "successful operation" - schema: - $ref: "#/definitions/TrackingResponse" responseSchema: $ref: "#/definitions/TrackingResponse" + schema: + $ref: "#/definitions/TrackingResponse" /api/secure/monitoredtrip/endtracking: post: tags: @@ -1361,10 +1361,10 @@ paths: responses: "200": description: "successful operation" - schema: - $ref: "#/definitions/EndTrackingResponse" responseSchema: $ref: "#/definitions/EndTrackingResponse" + schema: + $ref: "#/definitions/EndTrackingResponse" /api/secure/monitoredtrip/forciblyendtracking: post: tags: @@ -1382,10 +1382,10 @@ paths: responses: "200": description: "successful operation" - schema: - $ref: "#/definitions/EndTrackingResponse" responseSchema: $ref: "#/definitions/EndTrackingResponse" + schema: + $ref: "#/definitions/EndTrackingResponse" /api/secure/triprequests: get: tags: @@ -1430,10 +1430,10 @@ paths: responses: "200": description: "successful operation" - schema: - $ref: "#/definitions/TripRequest" responseSchema: $ref: "#/definitions/TripRequest" + schema: + $ref: "#/definitions/TripRequest" /api/secure/monitoredcomponent: get: tags: @@ -1462,10 +1462,10 @@ paths: responses: "200": description: "successful operation" - schema: - $ref: "#/definitions/ResponseList" responseSchema: $ref: "#/definitions/ResponseList" + schema: + $ref: "#/definitions/ResponseList" post: tags: - "api/secure/monitoredcomponent" @@ -1485,10 +1485,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/MonitoredComponent" responseSchema: $ref: "#/definitions/MonitoredComponent" + schema: + $ref: "#/definitions/MonitoredComponent" "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\ @@ -1527,10 +1527,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/MonitoredComponent" responseSchema: $ref: "#/definitions/MonitoredComponent" + schema: + $ref: "#/definitions/MonitoredComponent" "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\ @@ -1576,10 +1576,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/MonitoredComponent" responseSchema: $ref: "#/definitions/MonitoredComponent" + schema: + $ref: "#/definitions/MonitoredComponent" "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\ @@ -1617,10 +1617,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/MonitoredComponent" responseSchema: $ref: "#/definitions/MonitoredComponent" + schema: + $ref: "#/definitions/MonitoredComponent" "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\ @@ -1660,10 +1660,10 @@ paths: responses: "200": description: "successful operation" - schema: - $ref: "#/definitions/VerificationResult" responseSchema: $ref: "#/definitions/VerificationResult" + schema: + $ref: "#/definitions/VerificationResult" /api/secure/user/{id}/verify_sms/{code}: post: tags: @@ -1683,10 +1683,10 @@ paths: responses: "200": description: "successful operation" - schema: - $ref: "#/definitions/VerificationResult" responseSchema: $ref: "#/definitions/VerificationResult" + schema: + $ref: "#/definitions/VerificationResult" /api/secure/user/fromtoken: get: tags: @@ -1700,10 +1700,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/OtpUser" responseSchema: $ref: "#/definitions/OtpUser" + schema: + $ref: "#/definitions/OtpUser" "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\ @@ -1734,10 +1734,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/OtpUser" responseSchema: $ref: "#/definitions/OtpUser" + schema: + $ref: "#/definitions/OtpUser" "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\ @@ -1767,10 +1767,10 @@ paths: responses: "200": description: "successful operation" - schema: - $ref: "#/definitions/Job" responseSchema: $ref: "#/definitions/Job" + schema: + $ref: "#/definitions/Job" /api/secure/user: get: tags: @@ -1799,10 +1799,10 @@ paths: responses: "200": description: "successful operation" - schema: - $ref: "#/definitions/ResponseList" responseSchema: $ref: "#/definitions/ResponseList" + schema: + $ref: "#/definitions/ResponseList" post: tags: - "api/secure/user" @@ -1822,10 +1822,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/OtpUser" responseSchema: $ref: "#/definitions/OtpUser" + schema: + $ref: "#/definitions/OtpUser" "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\ @@ -1864,10 +1864,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/OtpUser" responseSchema: $ref: "#/definitions/OtpUser" + schema: + $ref: "#/definitions/OtpUser" "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\ @@ -1913,10 +1913,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/OtpUser" responseSchema: $ref: "#/definitions/OtpUser" + schema: + $ref: "#/definitions/OtpUser" "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\ @@ -1953,10 +1953,10 @@ paths: "200": description: "Successful operation" examples: {} - schema: - $ref: "#/definitions/OtpUser" responseSchema: $ref: "#/definitions/OtpUser" + schema: + $ref: "#/definitions/OtpUser" "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\ @@ -2010,11 +2010,11 @@ paths: responses: "200": description: "successful operation" - schema: + responseSchema: type: "array" items: $ref: "#/definitions/ApiUsageResult" - responseSchema: + schema: type: "array" items: $ref: "#/definitions/ApiUsageResult" @@ -2041,11 +2041,11 @@ paths: responses: "200": description: "successful operation" - schema: + responseSchema: type: "array" items: $ref: "#/definitions/BugsnagEvent" - responseSchema: + schema: type: "array" items: $ref: "#/definitions/BugsnagEvent" @@ -2072,11 +2072,11 @@ paths: responses: "200": description: "successful operation" - schema: + responseSchema: type: "array" items: $ref: "#/definitions/CDPFile" - responseSchema: + schema: type: "array" items: $ref: "#/definitions/CDPFile" @@ -2097,11 +2097,11 @@ paths: responses: "200": description: "successful operation" - schema: + responseSchema: type: "array" items: $ref: "#/definitions/URL" - responseSchema: + schema: type: "array" items: $ref: "#/definitions/URL" @@ -2544,8 +2544,6 @@ definitions: type: "boolean" snoozed: type: "boolean" - queryParams: - type: "string" otp2QueryParams: $ref: "#/definitions/OtpGraphQLVariables" itinerary: