如何在Swagger中指定列 [英] How to specify columns in Swagger

查看:181
本文介绍了如何在Swagger中指定列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在swagger编辑器中指定3列,这样输出应如下所示:

How to specify 3 columns in a swagger editor so the output should look like:


a            b            c
x            y            z

swagger: '2.0'
info:
  description: >
    This is a sample server Petstore server.



    [Learn about Swagger](http://swagger.io) or join the IRC channel `#swagger`
    on irc.freenode.net.



    For this sample, you can use the api key `special-key` to test the
    authorization filters

    **Here I want to specify 3 columns** 

推荐答案

这本质上是Markdown问题.要在Markdown中创建表格,请使用之类的工具或以下语法:

This is essentially a Markdown question. To make a table in Markdown use a tool like this or following syntax:

| One | Two | Three |
|-----|-----|-------|
| a   | b   | c     |

这篇关于如何在Swagger中指定列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆