Created
July 21, 2021 06:31
-
-
Save jamesdube/37efc20047831f1a485b68c85c70142c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"openapi":"3.0.1","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"http://localhost:7013","description":"Generated server url"}],"paths":{"/api/v0/balances/msisdn/{msisdn}":{"get":{"tags":["balance-enquiry-controller"],"operationId":"enquire","parameters":[{"name":"msisdn","in":"path","required":true,"schema":{"type":"string"}},{"name":"productCode","in":"query","required":false,"schema":{"type":"string"}},{"name":"unitType","in":"query","required":true,"schema":{"type":"string"}},{"name":"accountCode","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListEnquiryAccountBalance"}}}}}}}},"components":{"schemas":{"ApiResponseListEnquiryAccountBalance":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/EnquiryAccountBalance"}},"success":{"type":"boolean"},"httpStatusCode":{"type":"integer","format":"int32"},"message":{"type":"string"},"responseCode":{"type":"string"},"errors":{"$ref":"#/components/schemas/ApiResponseListEnquiryAccountBalance"}}},"EnquiryAccountBalance":{"type":"object","properties":{"balance":{"type":"number","format":"double"},"accountName":{"type":"string"},"accountCode":{"type":"string"},"expiryDate":{"type":"string","format":"date"},"additionalInfo":{"type":"object","additionalProperties":{"type":"object"}}}}}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment