diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2024-10-18 15:37:08 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2024-10-18 15:37:08 +0300 |
| commit | 05c63d6e3ce6491989a9431d6c4ab1dfae2f5b50 (patch) | |
| tree | c0268465e4b1ade8ec1ab136b23d41f711133f4e /backend/docs/index.html | |
| parent | backend: fix parser map name (diff) | |
| download | lphub-05c63d6e3ce6491989a9431d6c4ab1dfae2f5b50.tar.gz lphub-05c63d6e3ce6491989a9431d6c4ab1dfae2f5b50.tar.bz2 lphub-05c63d6e3ce6491989a9431d6c4ab1dfae2f5b50.zip | |
docs: add swagger page back
Diffstat (limited to 'backend/docs/index.html')
| -rw-r--r-- | backend/docs/index.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/backend/docs/index.html b/backend/docs/index.html new file mode 100644 index 0000000..8d12274 --- /dev/null +++ b/backend/docs/index.html | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | <!DOCTYPE html> | ||
| 2 | <html lang="en"> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8" /> | ||
| 5 | <meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
| 6 | <meta | ||
| 7 | name="description" | ||
| 8 | content="SwaggerIU" | ||
| 9 | /> | ||
| 10 | <title>SwaggerUI</title> | ||
| 11 | <link rel="stylesheet" href="https://unpkg.com/swagger-ui-dist@4.4.1/swagger-ui.css" /> | ||
| 12 | </head> | ||
| 13 | <body> | ||
| 14 | <div id="swagger-ui"></div> | ||
| 15 | <script src="https://unpkg.com/swagger-ui-dist@4.4.1/swagger-ui-bundle.js" crossorigin></script> | ||
| 16 | <script src="https://unpkg.com/swagger-ui-dist@4.4.1/swagger-ui-standalone-preset.js" crossorigin></script> | ||
| 17 | <script> | ||
| 18 | window.onload = () => { | ||
| 19 | window.ui = SwaggerUIBundle({ | ||
| 20 | url: 'https://lp.ardapektezol.com/swagger.json', | ||
| 21 | dom_id: '#swagger-ui', | ||
| 22 | }); | ||
| 23 | }; | ||
| 24 | </script> | ||
| 25 | </body> | ||
| 26 | </html> \ No newline at end of file | ||