Thanks so much for this awesome project! I have been able to use it to quickly create a CLI for my web API.
However, my more complex search queries require nested objects and lists.
For example, my POST body would look like this-
'{"queries":[{"type":"queryText","value":"climate"}],"filters":[{"type":"geometry","geometry":{"type":"Polygon","coordinates":[[[-176.64917,0.197754],[-124.790955,0.197754],[-124.790955,34.85889],[-176.64917,34.85889],[-176.64917,0.197754]]]}}],"facets":true,"page":{"max":20,"offset":0}}'
How would I write this on the command line? No matter what I try, I get an error like this-
FATAL openapi.go:1101 Unable to get body
stdin:1:73 (72): no match found, expected: [^,:}], [^:] or EOF
Am I doing it wrong or is this a limitation of the json parsing?
Thanks so much for this awesome project! I have been able to use it to quickly create a CLI for my web API.
However, my more complex search queries require nested objects and lists.
For example, my POST body would look like this-
'{"queries":[{"type":"queryText","value":"climate"}],"filters":[{"type":"geometry","geometry":{"type":"Polygon","coordinates":[[[-176.64917,0.197754],[-124.790955,0.197754],[-124.790955,34.85889],[-176.64917,34.85889],[-176.64917,0.197754]]]}}],"facets":true,"page":{"max":20,"offset":0}}'
How would I write this on the command line? No matter what I try, I get an error like this-
Am I doing it wrong or is this a limitation of the json parsing?