docs/web/api-document-openapiv3 #43
Replies: 1 comment 1 reply
-
validation rules 加上max min length 规则就好了,现在只有required 是用上,希望加上这样前端看文档就可以直接写自己的校验规则方便很多。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
docs/web/api-document-openapiv3
本文档介绍了如何在GoFrame框架中使用OpenAPIv3协议来规范接口文档的生成。通过嵌入g.Meta元数据结构体,可以自动生成包含协议标签的接口信息。此外,文中还展示了如何自定义扩展标签和手动完善接口文档。
https://goframe.org/docs/web/api-document-openapiv3
Beta Was this translation helpful? Give feedback.
All reactions