admin管理员组文章数量:1355991
I am working on some software in dotnet 8 that's responsible for broadcasting payloads to config defined webhook URLs. I would like to be able to provide a YAML schema file to describe the payloads so that the developers of the recipient systems can generate models their side. I would like to include the XML comments and relevant attributes defined in the model.
Is there a "proper" way of doing this?
If I were doing this for an API it's relatively simple, I would just include swagger as that does the heavy lifting. However as an "outgoing" project, there obviously isn't an API so I don't quite know how to hook in to things to generate what I'm after.
Any ideas?
本文标签:
版权声明:本文标题:.net - Creating a schema for outgoing payloads in dotnet 8 - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743960972a2569020.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论