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

go-swagger-找不到招摇服务命令

I'm trying to serve a swagger.json file with the command swagger serve but I get the error

Unknown command `serve'. Please specify one command of: generate, init, validate or version

Where is the documentation getting the serve command from?

what's the version you're on? serve was added in the 0.7.x series so you may have to update your binary.

近期文章

  • 如何在Golang中将CSS文件与html页面链接
  • 我无法使用golang gooracle驱动程序执行查询
  • 多包go模块中的名称解析问题
  • 通过传递路径打开文件可在Linux上使用,但不能在Windows上使用
  • 将单个程序包/模块拆分为多个(许多)文件会在进行构建时产生未定义的错误。
  • 有没有一种优雅的方法可以在for循环的第三位置放置多个语句? [重复]
  • 如何分割/分割文件中的单词
  • 如何将json转换为未知类型的结构
  • golang-读取字符串参数包括&
  • 如何为所有用户安装golang二进制文件
  • Golang GUI fyne-io帮助设置了吗?
  • 尝试使用通道获取FIFO处理管道
  • 如何编写一个可以接受任何映射的函数[重复]
  • 杜松子酒的web框架限制上传文件大小不起作用
  • go中具有依赖条件的动态数据结构(嵌套json)
  • 在Golang虹膜上的特定位置停止执行请求
  • 如何填充地图
  • TCP连接似乎一次读取太多字节
  • 获取传递的查询字符串
  • 在GO中在代理后面使用SMTP /电子邮件客户端

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

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

友情链接:代码精华