我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

通过Swagger UI上传文件

Is there a way to demonstrate file uploads using Restler via Swagger UI?

I like to be able to do something like:

function post() {
   return $_FILES;    
}

And expect to see the $_FILES array content displayed as a result of swagger ajax call.

Is there any combination of @param annotations that can help me?

Swagger UI does not support that feature yet, but that might change in the future

近期文章

  • preg_match_all()使用
  • 加入两个表并显示结果 - php / mysql
  • 当用户更改类别时自动填充表单时使用JSON
  • 使用一个查询和一个php文件显示来自两个不同表的图像
  • Html / php电子邮件页面/表单
  • 喜欢动态字符串
  • 加入两个表 - php表单根据输入日期显示结果
  • too long
  • php mysql date.utc并计算出现次数
  • 使用jQuery和PHP预加载PDF以与Chrome配合使用
  • 快速将我的Wordpress站点转移到另一台服务器
  • 单击图像时从动态表中删除行
  • too long
  • 针对分类术语和后期元数据的Wordpress自定义查询
  • 在android上流式传输mp4文件的奇怪问题
  • 在PostgreSQL中选择最适合的事务组合
  • 如何使用具有相同功能的两个xml结构
  • 在PHP中模拟HTML5 LocalStorage
  • Drupal 7图像无法显示
  • 如何通过添加链接来启动会话,并以相同的方式结束会话并显示会话数据

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华