How to specify columns in Swagger

2019-07-18 07:25发布

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条回答
Bombasti
2楼-- · 2019-07-18 07:43

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     |
查看更多
登录 后发表回答