Skip to content

Commit

Permalink
remove swagger-ui source (#2089)
Browse files Browse the repository at this point in the history
  • Loading branch information
simon824 authored Jan 13, 2023
1 parent b385c45 commit 0411277
Show file tree
Hide file tree
Showing 17 changed files with 23 additions and 288 deletions.
23 changes: 23 additions & 0 deletions hugegraph-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,29 @@
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>download-swagger-ui</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<echo file="${project.basedir}/dist.sh">
wget https://github.com/swagger-api/swagger-ui/archive/refs/tags/v4.15.5.tar.gz
tar zxvf v4.15.5.tar.gz
echo "window.onload = function() { window.ui = SwaggerUIBundle({
url:'/openapi.json',dom_id:'#swagger-ui',deepLinking:true,layout:'StandaloneLayout',
presets:[SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset ],
plugins:[SwaggerUIBundle.plugins.DownloadUrl]});};" > swagger-ui-4.15.5/dist/swagger-initializer.js
cp -r swagger-ui-4.15.5/dist ../${final.name}/swagger-ui
</echo>
<exec executable="${shell-executable}" dir="${project.basedir}" failonerror="true">
<arg line="./dist.sh"/>
</exec>
</tasks>
</configuration>
</execution>
<execution>
<phase>package</phase>
<goals>
Expand Down
Binary file not shown.
Binary file not shown.
76 changes: 0 additions & 76 deletions hugegraph-dist/src/assembly/static/swagger-ui/index.html

This file was deleted.

91 changes: 0 additions & 91 deletions hugegraph-dist/src/assembly/static/swagger-ui/oauth2-redirect.html

This file was deleted.

19 changes: 0 additions & 19 deletions hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-bundle.js

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

20 changes: 0 additions & 20 deletions hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui.css

This file was deleted.

This file was deleted.

19 changes: 0 additions & 19 deletions hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui.js

This file was deleted.

This file was deleted.

0 comments on commit 0411277

Please sign in to comment.