I have an issue writing my swagger file. When I describe a parameter the description is overloaded by the description of the $ref of this same parameter (see the example bellow).
a-body:
description: The body
type: object
properties:
my_param:
description: Full description
$ref: '#/definitions/reference'
definitions:
reference:
type: object
required: [req]
description: an http reference
properties:
req:
type: string
The result: the description is overloaded
Can somebody help me get through this please ?