Hello,
we are currently evaluating SwaggerHub.
We were wondering if SwaggerHub provides its own API/ SDK which could be used e.g. to upload and manipulate definitions via an authenticated client.
This way we would be able to register new APIs automatically without manual intervention on the UI itself.
Regards,
Christian
Solved! Go to Solution.
Hi Christian,
Yes, SwaggerHub has an API:
as well as plugins for Maven and Gradle:
https://github.com/swagger-api/swaggerhub-maven-plugin/
https://github.com/swagger-api/swaggerhub-gradle-plugin/
Hi Christian,
Yes, SwaggerHub has an API:
as well as plugins for Maven and Gradle:
https://github.com/swagger-api/swaggerhub-maven-plugin/
https://github.com/swagger-api/swaggerhub-gradle-plugin/
SwaggerHub Team
is the SwaggerHub API accessible from a on-premise installation? If so, what would the equivalent URLs be?
Rudie B
Hi @goggatjie,
In SwaggerHub On-Premise, the OpenAPI definition of the Registry API can be found at:
http(s)://SERVER/v1/swagger.yaml (YAML version)
http(s)://SERVER/v1/swagger.json (JSON version)
You can import it as an API into your On-Premise instance to browse the API docs and test the API calls.
Additionally, SwaggerHub Maven plugin also supports On-Premise installations.
Subject | Author | Latest Post |
---|---|---|