Making a Go Command Line Tool from an Open Api Spec
I recently assembled a CLI app using Go and Open API and wanted to share some of the process. Summary of Steps Acquire an Open API spec Generate a Go API client using OpenAPI Generator Generate a Go CLI using Cobra Integrate the API Client into the CLI Build Detail I wanted to automate pulling search results from Sumo Logic, and took a look at the Search Job API. Sumo Logic provides a pretty robust Open API spec for most of the APIs they offer, but unfortunately Search Job API is not covered....