Swaggerhub Maven Plugin banner
swagger-api swagger-api

Swaggerhub Maven Plugin

Development community

Description

A simple maven plugin to access SwaggerHub hosting of OpenAPI/Swagger from a maven build process.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

[![Build Status](https://img.shields.io/jenkins/build.svg?jobUrl=https://jenkins.swagger.io/job/oss-swaggerhub-maven-plugin)](https://jenkins.swagger.io/view/OSS%20-%20Java/job/oss-swaggerhub-maven-plugin) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.swagger/swaggerhub-maven-plugin/badge.svg?style=plastic)](https://maven-badges.herokuapp.com/maven-central/io.swagger/swaggerhub-maven-plugin)

swaggerhub-maven-plugin

A simple Maven plugin to access [SwaggerHub](https://swaggerhub.com) hosting of [OpenAPI/Swagger](https://swagger.io/specification/) definitions within a Maven build process, using the [SwaggerHub API](https://api.swaggerhub.com).

Features

  • Download/upload API and domain definitions from/to SwaggerHub.
  • Upload multiple API or domains at once.
  • Authenticate with an API key for restricted operations (for example, to download private definitions).
  • Automatically provision an SCM integration to update source control with changes made to definitions.
  • Supports YAML and JSON format for definitions.
  • Connects to SwaggerHub SaaS by default, with an optional configuration to point to a local SwaggerHub On-Premise instance.

SwaggerHub On-Premise users need v. 1.20.0 to provision SCM integrations via SwaggerHub Maven plugin.

Table of contents

Example use cases

The us