Query Parameter of type objects
Hi,
I have an API Specification with query parameters of type object. The object is not complex (just a list of sub-parameters - no nested objects)
Here is the spec:
parameters:
- name: sicBankMasterFilterParams
in: query
schema:
type: object
properties:
id:
type: integer
activeFrom:
type: string
group:
type: integer
iid:
type: integer
etc... (there is more sub-parameters)
When I import the specification into Swagger UI it does render/display the sub parameters and does not even list the 'overarching' parameter sicBankMasterFilterParams.
When I import the specification into ReadyAPI it does not recognize/understand the sub-parameters . It only provide the 'meta' parameter sicBankMasterFilterParams in my API
I have tried to add manually the single sub-parameter as query parameter in my API request. But it's not optimal: I cannot sync that automatically with my API Definition. And if I have too many sub-parameters they are by default added to the request without any value and I reach the max url length.
I cannot create several REST request with only subset of my sub-parameters because the target resource already contains one.
Any hint on how to solve this?
I am using ReadyAPI 3.20.2