A GitBucket plugin for rendering swagger (openAPI) file using swagger-ui.
- Download *.jar from Releases.
- Deploy it to
GITBUCKET_HOME/plugins
. - Restart GitBucket.
sbt clean package
The built package is located at
target/scala-2.13/gitbucket-swagger-plugin_2.13-{plugin-version}.jar
.
sbt assembly
This makes the assembly package
target/scala-2.13/gitbucket-swagger-plugin-{plugin-version}.jar
for deployment.
This plugin process files only with its name in the following list.
"openapi.yml", "openapi.yaml", "openapi.Yaml", "openapi.YML", "openapi.json", "openapi.JSON",
"swagger.yml", "swagger.yaml", "swagger.Yaml", "swagger.YML", "swagger.json", "swagger.JSON"
This plugin uses swagger-ui v3.49.0.
For supported version fields of swagger, please see compatibility.
Plugin version | GitBucket version |
---|---|
1.0.x | 4.32.x - |