Git Product home page Git Product logo

teamcity-swagger-deploy-plugin's Introduction

TeamCity plugin to validate and upload swagger OpenAPI specification artifact to swaggerhub (https://swagger.io/tools/swaggerhub/)


https://github.com/mzb-spots/teamcity-swagger-deploy-plugin

This plugin adds swagger/openapi file deployment functions to TeamCity continuous integration server http://www.jetbrains.com/teamcity/

Installation

Copy zip file to %TeamCity_data_dir%/plugins and restart the server. Build agent will be updated automatically

Purpose

While developing REST microservices application this plugin can be helpful to publish swagger/openapi files to swaggerhub.

Swaggerhub is quite popular public platform allowing to host REST interfaces (also keeping track of versions) and providing all power of integrated swagger tools.

So every time when your TeamCity builds application a new version of REST API will be uploaded to swaggerhub, so every member of team has access to the most fresh version of API and also has access to entire API history.

Usage

In build configuration settings, first look for a new runner "swagger upload". Having chosen this build runner, specify path to swagger file and provide necessary configuration options (prior this obtain api access token from swaggerhub)

Settings

Observe build progress and click on resulting link:

Results

After build is successful check that swaggerhub has new interface version:

Results

Playground

Have a look at a simple demo project that features simple REST API (list of space rockets) and comprises swagger/openapi files (yaml and json versions) Just create project/build configuration that points at this project and configure "swagger upload" plugin.

License

Apache, version 2.0 http://www.apache.org/licenses/LICENSE-2.0

teamcity-swagger-deploy-plugin's People

Contributors

dmitry-treskunov avatar mzb-spots avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.