Files

58 lines
26 KiB
HTML
Raw Permalink Normal View History

2021-01-05 02:03:39 +01:00
<!-- HTML for static distribution bundle build --><!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8">
<title>Swagger UI</title>
<link rel="stylesheet" type="text/css" href="/plugins/documentation/swagger-ui.css">
<link rel="icon" type="image/png" href="/plugins/documentation/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/plugins/documentation/favicon-16x16.png" sizes="16x16">
<style>
html
{
box-sizing: border-box;
overflow: -moz-scrollbars-vertical;
overflow-y: scroll;
}
*,
*:before,
*:after
{
box-sizing: inherit;
}
body
{
margin:0;
background: #fafafa;
}
</style>
</head>
<body>
<div id="swagger-ui"></div>
<script class="custom-swagger-ui">
window.onload = function() {
const ui = SwaggerUIBundle({
url: "https://petstore.swagger.io/v2/swagger.json",
2022-03-25 00:03:21 +04:00
spec: {"openapi":"3.0.0","info":{"version":"1.0.0","title":"#OKi API Dokiman","description":"","termsOfService":null,"contact":{"name":"#OKi","email":"kontak@o-k-i.net","url":"https://o-k-i.net"},"license":null,"x-generation-date":"03/24/2022 10:12:35 PM"},"x-strapi-config":{"path":"/dokiman","showGeneratedFiles":true,"generateDefaultResponse":true,"pluginsForWhichToGenerateDoc":[]},"servers":[{"url":"https://api.o-k-i.net","description":"Production server"},{"url":"http://localhost:1337","description":"Development server"},{"url":"http://localhost:1337","description":"Staging server"}],"externalDocs":null,"security":[{"bearerAuth":[]}],"paths":{"/awtis":{"get":{"deprecated":false,"description":"Find all the awtis's records","responses":{"200":{"description":"Retrieve awtis document(s)","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Awtis"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Awtis"],"parameters":[]},"post":{"deprecated":true,"description":"Create a new awtis record","responses":{"200":{"description":"Retrieve awtis document(s)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Awtis"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Awtis"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewAwtis"}}}}}},"/awtis/count":{"get":{"deprecated":false,"description":"Retrieve the number of awtis documents","responses":{"200":{"description":"Retrieve awtis document(s)","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Awtis"],"parameters":[]}},"/awtis/{id}":{"get":{"deprecated":false,"description":"Find one awtis record","responses":{"200":{"description":"Retrieve awtis document(s)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Awtis"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Awtis"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":true,"description":"Update a single awtis record","responses":{"200":{"description":"Retrieve awtis document(s)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Awtis"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Awtis"],"requestBody":{"description":"","required":true,"content":{"application/jso
2021-01-05 02:03:39 +01:00
dom_id: '#swagger-ui',
docExpansion: "none",
deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset,
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl,
],
layout: "StandaloneLayout",
});
window.ui = ui;
}
</script>
<script src="/plugins/documentation/swagger-ui-bundle.js"> </script>
<script src="/plugins/documentation/swagger-ui-standalone-preset.js"> </script>
</body>
</html>