Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
Comment on lines +183 to +191
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this script will block the windows building? mark it as a known issue in #2088

<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.