mirror of https://gitee.com/bigwinds/arangodb
local path in swagger deleted
This commit is contained in:
parent
a3da7b9897
commit
0bba164037
|
@ -331,6 +331,9 @@ swagger:
|
||||||
python @srcdir@/Documentation/Scripts/generateSwagger.py \
|
python @srcdir@/Documentation/Scripts/generateSwagger.py \
|
||||||
< @srcdir@/js/actions/api-index.js > @srcdir@/html/admin/api-docs/index
|
< @srcdir@/js/actions/api-index.js > @srcdir@/html/admin/api-docs/index
|
||||||
|
|
||||||
|
python @srcdir@/Documentation/Scripts/generateSwagger.py \
|
||||||
|
< @srcdir@/js/actions/api-aqlfunction.js > @srcdir@/html/admin/api-docs/aqlfunction
|
||||||
|
|
||||||
python @srcdir@/Documentation/Scripts/generateSwagger.py \
|
python @srcdir@/Documentation/Scripts/generateSwagger.py \
|
||||||
< @srcdir@/js/actions/api-simple.js > @srcdir@/html/admin/api-docs/simple
|
< @srcdir@/js/actions/api-simple.js > @srcdir@/html/admin/api-docs/simple
|
||||||
|
|
||||||
|
|
|
@ -1,53 +0,0 @@
|
||||||
{
|
|
||||||
"apiVersion":"1.2beta",
|
|
||||||
"swaggerVersion":"1.1",
|
|
||||||
"basexPath":"http://192.168.173.10:8529/_admin/html/api-docs",
|
|
||||||
"apis":[ {
|
|
||||||
"path": "/document",
|
|
||||||
"description": "Interface for Documents"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "/edges",
|
|
||||||
"description": "Interface for Edges"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "/collection",
|
|
||||||
"description": "Interface for Collections"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "/graph",
|
|
||||||
"description": "Interface for Graphs"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "/user",
|
|
||||||
"description": "Interface for Users"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "/system",
|
|
||||||
"description": "Interface for System"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "/cursor",
|
|
||||||
"description": "Interface for Cursors"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "/explain",
|
|
||||||
"description": "Interface for Explain"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "/index",
|
|
||||||
"description": "Interface for Indexes"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "/simple",
|
|
||||||
"description": "Interface for SimpleQueries"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "/query",
|
|
||||||
"description": "Interface for Queries"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "/structure",
|
|
||||||
"description": "Interface for Structures"
|
|
||||||
}]
|
|
||||||
}
|
|
|
@ -41,6 +41,10 @@
|
||||||
"path": "/simple",
|
"path": "/simple",
|
||||||
"description": "Interface for SimpleQueries"
|
"description": "Interface for SimpleQueries"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"path": "/aqlfunction",
|
||||||
|
"description": "Interface for AQL functions"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"path": "/query",
|
"path": "/query",
|
||||||
"description": "Interface for Queries"
|
"description": "Interface for Queries"
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function () {
|
$(function () {
|
||||||
window.swaggerUi = new SwaggerUi({
|
window.swaggerUi = new SwaggerUi({
|
||||||
discoveryUrl:"http://192.168.173.10:8529/_admin/html/api-docs/api-docs.json",
|
discoveryUrl:"/_admin/html/api-docs/api-docs.json",
|
||||||
apiKey: false,
|
apiKey: false,
|
||||||
dom_id:"swagger-ui-container",
|
dom_id:"swagger-ui-container",
|
||||||
supportHeaderParams: true,
|
supportHeaderParams: true,
|
||||||
|
|
Loading…
Reference in New Issue