Swagger-字符串数据类型的必需标记查询参数.NET CORE API
I m trying to make query parameter as required in API, but the swagger doesnt pick this as required. but the other data type has no issue.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我像您一样执行代码,然后根据需要选择此代码。
我很好奇您的ServiceID是字符串路径。
I do the code like you , and the swagger pick this as required.
And I am curious why your serviceId is string path.