7 ms·
My OpenAPI spec is 60,000 lines of machine generated goodness. JQ is great for doing non-trivial but useful things. Eg: Which endpoints are available if you ha
by stueynz 5y ago
My OpenAPI spec is 60,000 lines of machine generated goodness. JQ is great for doing non-trivial but useful things.
Eg: Which endpoints are available if you have a specific OAuth Scope?
Most useful jq cli flag is -f. - take the jq script from file
Most useful tutorial for learning to manipulated your OpenAPI spec
https://apihandyman.io/api-toolbox-jq-and-openapi-part-1-usi https://apihandyman.io/api-toolbox-jq-and-openapi-part-1-usi...