ballerina - Ballerina 模块元数据文档?
问题描述
在 Ballerina Central 中,我看到带有关键字、版本兼容性、作者等的模块。除了Ballerina.toml
. 是否有关于如何设置隐藏在某处的所有模块信息的完整指南?我真的很想警告人们,我要推送的模块仅与 Swan Lake 预览版兼容。
解决方案
在 Ballerina.toml 中,您可以指定模块信息,如下所示。
orgName= "hevayo"
Version= "1.2.3"
license= "Apache-2.0"
authors= ["hevayo"]
keywords= ["ballerina", "Twitter", "endpoint", "connector"]
repository= "https://github.com/hevayo/module-twitter"
更详细的解释可以在Ballerina 规范repo 中找到。
要警告人们兼容性,您可以在 Module.md 文件中提及它,该文件将用于在芭蕾舞演员中心生成模块页面。
推荐阅读
- r - 使用 dplyr 汇总但保留组行的日期
- html - CSS Z-index:如何让标题栏显示在顶部?
- node.js - POST后如何在url中显示用户输入?
- python - 如何在残差网络中将图层添加在一起
- c# - 为什么我的不记名令牌在 API 中将角色声明作为角色而不是 schema.microsoft.com identity/claims/role 返回?
- json - 在 unix 字符串中第二次出现特定单词之前插入“,”
- apache - WebSphere 反向代理插件 - 跳过域
- asp.net-core-webapi - Identityserver4 回调问题
- python - 删除链表中的节点 - 是否需要任何形式的垃圾收集?
- fullcalendar - 无法添加营业时间 - 周末 - fullcalendar v4