我跑弹簧4 MVC嵌入码头9 我试图Swagger2工具插件,但我面对一个异常 Error creating bean with name 'documentationPluginsBootstrapper' 此异常的根本原因是 nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException:
我有一个API在多个地方使用相同的定义,但我想为不同的地方包含不同的示例。 给予一定的情况下,我有: parameters:
- in: body
description: The user object for the new user
name: body
schema:
"$ref": "#/definitions/User"
它使用User对象