I have a URL with an object parameter;
https://myurl.com?myobj[anyvalue][limitedvalue]=anyothervalue
Where anyvalue and anyothervalue can be any string. The string values in limitedvalue are limited and known in advance.
How can I represent this in OpenAPI?
For example, I can represent a basic object with known properties;
https://myurl.com?myobj[limitedvalue]=anyothervalue
as;
- name: myobj
in: query
required: true
schema:
type: object
properties:
limitedValueOne:
type: "string"
limitedValueTwo:
type: "string"