Forum Discussion
- Tom_S
Staff
Hi there! OpenAPI does not natively support query parameters in expand[{fieldName}[] format.
You can consider moving it to a path parameter if applicable - "/example/expand/{fieldName}"
Hi
We have a requirement to define a query param which is not in the format of key=value.
its something like ?expand[{fieldName}[]. Where fieldname is dynamic value entered by user. Is there a way to define this in openApi Specification?
Hi there! OpenAPI does not natively support query parameters in expand[{fieldName}[] format.
You can consider moving it to a path parameter if applicable - "/example/expand/{fieldName}"