{"repo":"SmartBear/swaggerhub-cli","free":true,"listed":false,"github":"https://github.com/SmartBear/swaggerhub-cli","clone":"git clone https://github.com/SmartBear/swaggerhub-cli.git","description":"SwaggerHub CLI","language":"JavaScript","stars":54,"topics":["swaggerhub","cli","command-line-tools","oas","openapi","openapi3","on-prem","saas"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"SwaggerHub CLI ============== The SwaggerHub CLI enables teams to build automation and workflows around SwaggerHub. Teams can use it in places like their CI/CD pipeline to create new APIs, create and update API versions, and mark API versions as published and default among other features. Every team has their own workflow, and the SwaggerHub CLI can help teams build the workflow that fits their needs. Requirements Installation Setup Additional configuration for SwaggerHub On-Premise Usage Commands Plugins Contributing Requirements Node.js 20.17 or later. Installation Setup The SwaggerHub CLI can be configured through environment variables or through the swaggerhub configure command. The CLI will look for the following environment variables. SWAGGERHUB API KEY (required) – Important: keep this key secure. This is the SwaggerHub API key the CLI will use for authentication. You can find your API key on the user settings page in SwaggerHub. SWAGGERHUB URL (optional, default is https://api.swaggerhub.com ) – Customers with on-premise installations need to point this to their on-premise API, which is http(s)://{swaggerhub-host}/v1 (do not append a backslash). Alernatively, you can use the swaggerhub configure command to create a configuration file for the CLI to use. This command will walk you through the steps to set up the necessary configurations. Environment variables take precedence over the configuration file created by this command. Additional configuration for SwaggerHub On","default_branch":null,"files":null,"tree":[],"storefront":"/r/SmartBear","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SmartBear/swaggerhub-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}