You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: bodyname: namedescription: The project name.type: stringtags:
- Projectsresponses:
....
But when I use refs, everything is working.
post:
summary: '[POST] Create project'description: Creates a new project.parameters:
- $ref: '#/parameters/projectNameBodyParam'tags:
- Projectsresponses:
....
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: