How to specify columns in Swagger

≯℡__Kan透↙ 提交于 2020-02-04 09:02:24

问题


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** 

回答1:


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     |


来源:https://stackoverflow.com/questions/32479634/how-to-specify-columns-in-swagger

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!