santoshJD
6 years agoOccasional Visitor
Issue with JSON content in query parameter
Hi,
refer this yaml
- name: home-plmn-id in: query description: PLMN ID of the HPLMN content: application/json: schema: type: object properties: mcc: $ref: '#/components/schemas/Mcc' mnc: $ref: '#/components/schemas/Mnc' required: - mcc
Does swagger supports "JSON object in query parameter" ?
when i open this schema in swagger UI , it doesnt render JSON query parameters. (😱 Could not render this component, see the console.)
when i try to generate server stub using codegen , it reports error that schema is not valid but on UI it is already validated.