Forum Discussion

lapushkin94's avatar
lapushkin94
New Member
2 months ago

Swagger UI doesnt display some yaml parameters

Code generation is performed with open api yaml file, the code is working fine, preview in Intellij Idea/SwaggerHub is fine, so yaml is ok, however "filter" field is not displayed in Swagger UI after running an app

 

Intellij Idea/SwaggerHub preview:

 

paths:
/resource:
get:
tags:
- CallNumberResourceManagement
summary: Retrieves CN resources by query
description: Returns CallNumber Resources
operationId: getCNResources
parameters:
- $ref: '#/components/parameters/Header-X-Request-ID'
- $ref: '#/components/parameters/Header-X-Correlation-ID'
- name: fields
in: query
description: CN fields and characteristics to return in response
required: false
schema:
type: array
items:
type: string
- name: filter
in: query
description: name/value pairs to filter on
required: false
schema:
type: object
additionalProperties:
type: object

 

Real SwaggerUI:

So, filter field is not displayed, how can it be fixed?

No RepliesBe the first to reply