From 55c9d4b7897ff7b46a1380593f66120dacdfe107 Mon Sep 17 00:00:00 2001 From: Nemo Date: Mon, 14 Jun 2021 21:09:12 +0530 Subject: [PATCH] Initial commit :boom: --- README.md | 11 +++++++++++ openapi-generator-config.yml | 10 ++++++++++ reference/{Simpl-API.yaml => Simpl.yaml} | 20 ++++++++++++-------- 3 files changed, 33 insertions(+), 8 deletions(-) create mode 100644 README.md create mode 100644 openapi-generator-config.yml rename reference/{Simpl-API.yaml => Simpl.yaml} (99%) diff --git a/README.md b/README.md new file mode 100644 index 0000000..0abf03c --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# Simpl Unofficial API Specification + +Please see https://captnemo.stoplight.io/docs/simpl/ + +## Terms of Service + +I'm not responsible. Use at your own risk. This is a read only API, so you can't use this to manage your funds. + +## Clients + +Code generation is not possible currently. \ No newline at end of file diff --git a/openapi-generator-config.yml b/openapi-generator-config.yml new file mode 100644 index 0000000..bca9956 --- /dev/null +++ b/openapi-generator-config.yml @@ -0,0 +1,10 @@ +# Hides the generation timestamp when files are generated. +hideGenerationTimestamp: true +packageName: simpl +packageVersion: 0.0.1 +projectName: simpl-api +# when accessing unset attribute, return `None` instead of raising `ApiAttributeError` (Default: false) +pythonAttrNoneIfUnset: true +gitRepoId: simpl-py +gitUserId: captn3m0 +httpUserAgent: Simpl-Py/{packageVersion} \ No newline at end of file diff --git a/reference/Simpl-API.yaml b/reference/Simpl.yaml similarity index 99% rename from reference/Simpl-API.yaml rename to reference/Simpl.yaml index c15767e..626c96d 100644 --- a/reference/Simpl-API.yaml +++ b/reference/Simpl.yaml @@ -5,6 +5,10 @@ info: summary: 'An unofficial specification for the [Simpl](https://www.getsimpl.com/) API' license: name: MIT + identifier: MIT + contact: + name: Nemo + url: 'https://captnemo.in/contact' servers: - url: 'https://bff.getsimpl.com' description: Production @@ -138,14 +142,11 @@ paths: - success examples: success: - value: |- - { - "api_version": 1, - "data": { - "verification_id": "aa5cf58f-f223-4163-9b39-43cb31e11ad3" - }, - "success": true - } + value: + api_version: 1 + data: + verification_id: aa5cf58f-f223-4163-9b39-43cb31e11ad3 + success: true bad-request: value: api_version: 1 @@ -1174,3 +1175,6 @@ components: type: apiKey in: header description: Access Token that is returned in the "Verify OTP" request. +tags: + - name: Data + - name: Authentication