--- swagger: "2.0" info: description: This is a dummy API for CICD testing. version: 1.0.0 title: DummyAPI x-ibm-name: DummyAPI host: 127.0.0.1 schemes: - https basePath: /api produces: - application/json paths: /v1/dummy: get: summary: This is a dummy API for CICD testing. description: This is a dummy API for CICD testing. tags: - dummy parameters: - name: Authorization in: header description: 'The most recent Authorization token. This will have the format Bearer + {space} + {accessToken}. Example: Bearer KGNsaWVudF9pZDpjbGllbnRfc2VjcmV0KQ==.' type: string required: true - name: uuid in: header description: 128 bit random UUID generated uniquely for every request. type: string required: true - name: Accept in: header description: Content-Type that are acceptable for the response. type: string required: true - name: Content-Type in: header description: application/json required: true type: string - name: client_id in: header description: Client ID generated during application registration. type: string required: true - name: clientDetails in: header description: This field is used to capture device,browser and network information. Refer the developer portal for more information.These are the fields which will be passed as part of the header devicePrint,deviceTokenCookie,userIpAddress,userAgent,hardwareId,simId,deviceModel,deviceName,deviceOsName,deviceOsVersion,multitaskingSupportFlag,languageSupport,wifiMacAddress,cellTowerId,locationAreaCode,rsaApplicationKey,wapClientId,mobileCarrierCode,mobileCountryCode,osId,geoLongitude,geoLatitude,geoHorizontalAccuracy,geoAltitude,geoAltitudeAccuracy,geoSpeed,geoTimestamp,geoStatus,basicServiceSetId,signalStrength,wifiChannel,serviceSetId type: string required: false responses: 200: description: Successful operation. schema: $ref: '#/definitions/DummyAPIResponse' 204: description: No content 400: description:
TypeCodeDetails
invalidinvalidRequestMissing or invalid Parameters
MoreInfoResponseCodeMoreInfoProviderErrorCodeMoreInfoProviderErrorDetails
1-1Error
schema: $ref: '#/definitions/ErrorResponse' 401: description:
TypeCodeDetails
errorunAuthorizedAuthorization credentials are missing or invalid
schema: $ref: '#/definitions/ErrorResponse' 403: description:
TypeCodeDetails
erroraccessNotConfiguredThe request operation is not configured to access this resource
schema: $ref: '#/definitions/ErrorResponse' 500: description:
TypeCodeDetails
fatalserverUnavailableThe request failed due to an internal error
schema: $ref: '#/definitions/ErrorResponse' operationId: accountOfficerAndStatusForCustomerInq definitions: DummyAPIResponse: properties: dummyString: description: Dummy string. type: string ErrorResponse: properties: type: description: Invalid - Request did not confirm to the specification and was unprocessed and rejected. Please fix the value and try again enum: - error - warn - invalid - fatal type: string code: description: Error code which qualifies the error type: string details: description: Human readable explanation specific to the occurrence of the problem type: string location: description: The name of the field that resulted in the error type: string moreInfo: description: URI to human readable documentation of the error type: object required: - type - code x-ibm-configuration: enforced: true testable: true phase: realized securityDefinitions: client_id: type: apiKey description: "" in: header name: X-IBM-Client-Id security: - client_id: [] x-ibm-endpoints: - endpointUrl: https://emea.sit.api.citi.com/gcb description: Custom Gateway API Endpoint type: - production - development ...