I use spectacle as the docs recommend but when I use inside of my paths an inline block to define (for example the POST) parameters, spectacle shows only the description inside the Request Body section without the post body parameters and parameter definition.
post:
summary: '[POST] Create project'
description: Creates a new project.
parameters:
- in: body
name: name
description: The project name.
type: string
tags:
- Projects
responses:
....
But when I use refs, everything is working.
post:
summary: '[POST] Create project'
description: Creates a new project.
parameters:
- $ref: '#/parameters/projectNameBodyParam'
tags:
- Projects
responses:
....
I'm also using swagger-ui-express and everything is working fine here. Maybe it's a problem at spectacle, but maybe its a bug and you can help me.
I use spectacle as the docs recommend but when I use inside of my paths an inline block to define (for example the POST) parameters, spectacle shows only the description inside the Request Body section without the post body parameters and parameter definition.
But when I use refs, everything is working.
I'm also using swagger-ui-express and everything is working fine here. Maybe it's a problem at spectacle, but maybe its a bug and you can help me.