天天看點

AsyncAPI 幾個友善的工具

AsyncAPI 類似openapi 也提供了一些周邊工具

類似openapi 的,但是目前官方已經不推薦使用了,推薦使用playground,以下是建構一個容器鏡像

clone 代碼

修改dockerfile

預設的制作出來的鏡像太大了

使用docker-compose 管理

建構&&啟動

效果

AsyncAPI 幾個友善的工具

說明

鏡像已經push dockerhub 了<code>dalongrong/asyncapi-editor:1.0.1</code>

同上以下是鏡像建構的過程

docker-compose 檔案

鏡像也已經push dockerhub了 <code>dalongrong/asyncapi-playground:1.2.0</code>

可以友善的通過yaml 定義檔案生成代碼,前邊有使用過

項目位址

https://github.com/asyncapi/generator

https://github.com/asyncapi/playground

https://github.com/asyncapi/editor

繼續閱讀