Use Springwolf with the AsyncApi Initiative UI
Demo: https://timonback.github.io/springwolf-asyncapi-ui/
Refer to the springwolf project for the general setup.
Now, also add the following to your build.gradle
file (and replace the username + password):
repositories {
// ...
maven {
name = "GitHubPackages"
url "https://maven.pkg.github.com/timonback/springwolf-asyncapi-ui"
credentials {
username = "your_github_username"
password = "github_personal_access_token_pat_with_read_packages_permission"
}
}
}
dependencies {
// One of the springwolf plugins is required to build the AsyncApi document (general setup)
implementation 'io.github.springwolf:springwolf-kafka:0.10.0'
// Add the ui of this project
runtimeOnly 'io.github.timonback:springwolf-asyncapi-ui:0.1.0'
}
After starting the spring application, visit: localhost:8080/springwolf/asyncapi-ui/index.html
.
- Run
npm run build_pages
(Uses asyncApi mock data) - Open
./dist/index.html
in your browser
Releasing is done by running the gradle task publish
. For local development, use publishToMavenLocal
.
The maven package is available on github packages.