{"version":3,"sources":["pages/api/api.jsx"],"names":["API","document","title","Fragment","className","href","target","rel","url","apiUrl","docExpansion","Component"],"mappings":"wMAMMA,G,2KACJ,WAEE,OADAC,SAASC,MAAQ,kBAEf,kBAAC,IAAMC,SAAP,KACE,6CACA,yBAAKC,UAAU,iBACb,yBAAKA,UAAU,YAAf,uEACuE,IACrE,uBACEC,KAAK,sBACLC,OAAO,SACPC,IAAI,uBAHN,YAOA,4EAEF,kBAAC,IAAD,CAAWC,IAAKC,IAAS,QAASC,aAAa,e,GAlBvCC,cAyBHX,a","file":"static/js/6.3bc51f8a.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport { apiUrl } from \"../../config.json\";\nimport SwaggerUI from \"swagger-ui-react\";\nimport \"swagger-ui-react/swagger-ui.css\";\nimport \"./api.css\";\n\nclass API extends Component {\n  render() {\n    document.title = \"API - Datalakes\";\n    return (\n      <React.Fragment>\n        <h1>Datalakes API</h1>\n        <div className=\"api-container\">\n          <div className=\"doc-desc\">\n            Documentation for the Datalakes API is generated automatically using{\" \"}\n            <a\n              href=\"https://swagger.io/\"\n              target=\"_blank\"\n              rel=\"noopener noreferrer\"\n            >\n              Swagger.\n            </a>\n            <p>[ Base URL: https://api.datalakes-eawag.ch ]</p>\n          </div>\n          <SwaggerUI url={apiUrl + \"/docs\"} docExpansion=\"list\" />\n        </div>\n      </React.Fragment>\n    );\n  }\n}\n\nexport default API;\n"],"sourceRoot":""}