简体   繁体   English

在Flask-Restplus Swagger UI中停用表单输入

[英]Deactivate form inputs in Flask-Restplus Swagger UI

I'm looking for a way to deactivate the form inputs and try button generated for each endpoint in the Flask-Restplus Swagger UI . 我正在寻找一种停用表单输入尝试Flask-Restplus Swagger UI中的每个端点生成的按钮的方法 I haven't found any info in the documentation so I thought I would ask. 我在文档中没有找到任何信息,所以我想问一下。 Could you please point me in the right direction? 您能指出我正确的方向吗?

There is no method in Flask-RESTPlus as noted in how to customize the UI? Flask-RESTPlus中没有方法,如如何自定义UI所述? , but you should be able to achieve what you are looking for by: ,但您应该能够通过以下方式实现所需的功能:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM