Skip to content

Commit

Permalink
WiP
Browse files Browse the repository at this point in the history
  • Loading branch information
mmikel committed Sep 6, 2024
1 parent 3c0c0a3 commit 9545f70
Show file tree
Hide file tree
Showing 7 changed files with 172 additions and 93 deletions.
45 changes: 19 additions & 26 deletions doc/api/assets/main.bundle.js

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions doc/api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<meta name="description" content="REST Api">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="assets/bootstrap.min.css?v=1725610291495" rel="stylesheet" media="screen">
<link href="assets/prism.css?v=1725610291495" rel="stylesheet" />
<link href="assets/prism-toolbar.css?v=1725610291495" rel="stylesheet" />
<link href="assets/prism-diff-highlight.css?v=1725610291495" rel="stylesheet" />
<link href="assets/main.css?v=1725610291495" rel="stylesheet" media="screen, print">
<link href="assets/favicon.ico?v=1725610291495" rel="icon" type="image/x-icon">
<link href="assets/apple-touch-icon.png?v=1725610291495" rel="apple-touch-icon" sizes="180x180">
<link href="assets/favicon-32x32.png?v=1725610291495" rel="icon" type="image/png" sizes="32x32">
<link href="assets/favicon-16x16.png?v=1725610291495" rel="icon" type="image/png" sizes="16x16">
<link href="assets/bootstrap.min.css?v=1725610645391" rel="stylesheet" media="screen">
<link href="assets/prism.css?v=1725610645391" rel="stylesheet" />
<link href="assets/prism-toolbar.css?v=1725610645391" rel="stylesheet" />
<link href="assets/prism-diff-highlight.css?v=1725610645391" rel="stylesheet" />
<link href="assets/main.css?v=1725610645391" rel="stylesheet" media="screen, print">
<link href="assets/favicon.ico?v=1725610645391" rel="icon" type="image/x-icon">
<link href="assets/apple-touch-icon.png?v=1725610645391" rel="apple-touch-icon" sizes="180x180">
<link href="assets/favicon-32x32.png?v=1725610645391" rel="icon" type="image/png" sizes="32x32">
<link href="assets/favicon-16x16.png?v=1725610645391" rel="icon" type="image/png" sizes="16x16">
</head>

<body class="container-fluid">
Expand Down Expand Up @@ -1042,6 +1042,6 @@ <h2>{{__ "Request Body"}}</h2>
</div>
</div>

<script src="assets/main.bundle.js?v=1725610291495"></script>
<script src="assets/main.bundle.js?v=1725610645391"></script>
</body>
</html>
151 changes: 122 additions & 29 deletions doc/mobile/assets/main.bundle.js

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions doc/mobile/index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<title>Domophone API</title>
<meta name="description" content="Domophone API">
<title>RBT</title>
<meta name="description" content="REST Api">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="assets/bootstrap.min.css?v=1725610295029" rel="stylesheet" media="screen">
<link href="assets/prism.css?v=1725610295029" rel="stylesheet" />
<link href="assets/prism-toolbar.css?v=1725610295029" rel="stylesheet" />
<link href="assets/prism-diff-highlight.css?v=1725610295029" rel="stylesheet" />
<link href="assets/main.css?v=1725610295029" rel="stylesheet" media="screen, print">
<link href="assets/favicon.ico?v=1725610295029" rel="icon" type="image/x-icon">
<link href="assets/apple-touch-icon.png?v=1725610295029" rel="apple-touch-icon" sizes="180x180">
<link href="assets/favicon-32x32.png?v=1725610295029" rel="icon" type="image/png" sizes="32x32">
<link href="assets/favicon-16x16.png?v=1725610295029" rel="icon" type="image/png" sizes="16x16">
<link href="assets/bootstrap.min.css?v=1725610646702" rel="stylesheet" media="screen">
<link href="assets/prism.css?v=1725610646702" rel="stylesheet" />
<link href="assets/prism-toolbar.css?v=1725610646702" rel="stylesheet" />
<link href="assets/prism-diff-highlight.css?v=1725610646702" rel="stylesheet" />
<link href="assets/main.css?v=1725610646702" rel="stylesheet" media="screen, print">
<link href="assets/favicon.ico?v=1725610646702" rel="icon" type="image/x-icon">
<link href="assets/apple-touch-icon.png?v=1725610646702" rel="apple-touch-icon" sizes="180x180">
<link href="assets/favicon-32x32.png?v=1725610646702" rel="icon" type="image/png" sizes="32x32">
<link href="assets/favicon-16x16.png?v=1725610646702" rel="icon" type="image/png" sizes="16x16">
</head>

<body class="container-fluid">
Expand Down Expand Up @@ -1042,6 +1042,6 @@ <h2>{{__ "Request Body"}}</h2>
</div>
</div>

<script src="assets/main.bundle.js?v=1725610295029"></script>
<script src="assets/main.bundle.js?v=1725610646702"></script>
</body>
</html>
Empty file added server/api/api-header.md
Empty file.
7 changes: 7 additions & 0 deletions server/api/apidoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"header": {
"title": "Common part",
"filename": "api-header.md",
"version": "1.0.0"
}
}
18 changes: 2 additions & 16 deletions server/mobile/apidoc.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,7 @@
{
"name": "Domophone API",
"version": "1.1.0",
"title": "Domophone API",
"description": "Domophone API",
"url" : "https://yourserver.yourdomain/mobile",
"sampleUrl": "https://yourserver.yourdomain/mobile",
"template": {
"forceLanguage": "ru"
},
"header": {
"title": "Общая информация",
"title": "Common part",
"filename": "api-header.md",
"version": "1.1.0"
},
"apidoc": {
"title": "Domophone API",
"url" : "https://yourserver.yourdomain/mobile",
"version": "1.1.0"
"version": "1.0.0"
}
}

0 comments on commit 9545f70

Please sign in to comment.