UNPKG

stock-nse-india

Version:

This package will help us to get equity/index details and historical data from National Stock Exchange of India.

61 lines 2.17 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.openapiSpecification = exports.swaggerDocOptions = void 0; var swagger_jsdoc_1 = __importDefault(require("swagger-jsdoc")); var port = process.env.PORT || 3000; var hostUrl = process.env.HOST_URL || "http://localhost:" + port; exports.swaggerDocOptions = { definition: { "openapi": "3.0.0", "info": { "version": "1.1.0", "title": "National Stock Exchange - India (Unofficial)", "description": "This package will help us to get equity details and historical data" + " from National Stock Exchange of India.", "contact": { "email": "asraf.cse@gmail.com" }, "license": { "name": "MIT", "url": "https://github.com/hi-imcodeman/stock-nse-india/blob/master/LICENSE" } }, "servers": [ { "url": hostUrl } ], "tags": [ { "name": "Base", "description": "Base API of NSE India" }, { "name": "Common", "description": "Contains all common APIs of NSE India" }, { "name": "Equity", "description": "Contains all equity related APIs of NSE India" }, { "name": "Index", "description": "Contains all index related APIs of NSE India" }, { "name": "Commodity", "description": "Contains all commodity related APIs of NSE India" }, { "name": "Helpers", "description": "Contains all helper APIs of NSE India" }, ] }, apis: ['./build/routes.js'] }; exports.openapiSpecification = swagger_jsdoc_1.default(exports.swaggerDocOptions); //# sourceMappingURL=swaggerDocOptions.js.map