How to group multiple parameters in Swagger 2.0?

后端 未结 1 1629
天涯浪人
天涯浪人 2020-12-10 12:37

Is it possible to group multiple parameters to reference them in multiple routes?

For example I have a combination of parameters which I need in every route. They are

1条回答
  •  甜味超标
    2020-12-10 13:19

    This is not possible with Swagger 2.0 or OpenAPI 3.0. I've opened a feature request for this and it is proposed for a future version:

    https://github.com/OAI/OpenAPI-Specification/issues/445

    0 讨论(0)
提交回复
热议问题