如何使用springfox-swagger2重现以下OpenApi?
parameters: - in: body name: user description: The user to create. schema: type: object required: - userName properties: userName: type: string firstName: type: string lastName: type: string
此处描述了这一点: https://swagger.io/docs/specification/2-0/describing-request-body/