irongit

An AI project that includes a scraper for NFL data, postgres database, and user interface. It uses a classification algorithm to predict winners.

Docker-Hackathon-2023/nfl_client_data/swagger-initializer.js
20 lines508 BJavaScript
1window.onload = function() {
2 //<editor-fold desc="Changeable Configuration Block">
3
4 // the following lines will be replaced by docker/configurator, when it runs in a docker-container
5 window.ui = SwaggerUIBundle({
6 url: "openapi.yaml",
7 dom_id: '#swagger-ui',
8 deepLinking: true,
9 presets: [
10 SwaggerUIBundle.presets.apis,
11 SwaggerUIStandalonePreset
12 ],
13 plugins: [
14 SwaggerUIBundle.plugins.DownloadUrl
15 ],
16 layout: "StandaloneLayout"
17 });
18
19 //</editor-fold>
20};