From 1dd9e072ee45e23f1d1c347ac3404d687d6bd304 Mon Sep 17 00:00:00 2001 From: Nemo Date: Fri, 21 May 2021 11:57:53 +0530 Subject: [PATCH] Add auth note --- .../Kuvera-Unofficial-API-Documentation.md | 2 +- reference/Kuvera.yaml | 14 +++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/introduction/Kuvera-Unofficial-API-Documentation.md b/docs/introduction/Kuvera-Unofficial-API-Documentation.md index 8c293a0..f388a37 100644 --- a/docs/introduction/Kuvera-Unofficial-API-Documentation.md +++ b/docs/introduction/Kuvera-Unofficial-API-Documentation.md @@ -21,7 +21,7 @@ Welcome to the unofficial Kuvera API docs. Kuvera has a decent good read-only AP ## Authentication -None of the APIs need any authentication. +Most APIs don't need any authentication. ## CORS diff --git a/reference/Kuvera.yaml b/reference/Kuvera.yaml index 102d186..02fef21 100644 --- a/reference/Kuvera.yaml +++ b/reference/Kuvera.yaml @@ -7,7 +7,7 @@ info: url: 'https://captnemo.in/contact/' email: kuvera.api@captnemo.in termsOfService: 'https://github.com/captn3m0/kuvera-unofficial-api-specification' - description: Unofficial read API specification for Kuvera. See README on left to get started. + description: Unofficial read API specification for Kuvera. See Introduction on left to get a summary. servers: - url: 'https://api.kuvera.in' description: Kuvera Production API Server @@ -761,6 +761,16 @@ paths: required: - status - data + examples: + example-1: + value: + status: string + data: + id: 0 + date: '2019-08-24T14:15:22Z' + price: 0 + source_currency: string + target_currency: string operationId: get_exchange_rate description: Returns USD exchange rate /api/v3/gold/prices.json: @@ -1127,6 +1137,8 @@ components: - yes_price - last_updated - returns_1y + x-tags: + - Schemas securitySchemes: Authorization: type: http