Oas cicd

From ETSI Forge
Jump to: navigation, search

Available tools

A set of tools to deal with OpenAPIs files are installed in the build environment of the ETSI Forge. Find the list of installed tools below.

json-refs

`json-refs` is a simple library for interacting with JSON References and JSON Pointers. Find more information at https://www.npmjs.com/package/json-refs.

This tools is used to merge OpenAPIs definitions from several files (linked with JSON references) into one unique definition suitable to be used with Swagger tools.

To merge files from an index.yaml file to a result.yaml file (JSON files are supported too):

   $ json-refs -y index.yaml > result.yaml

swagger-tools

The project provides various tools for integrating and interacting with Swagger. Find more information at https://www.npmjs.com/package/swagger-tools.

To use the tools simply execute:

   $ swagger-tools


Integrating Jenkins with Gerrit

https://wiki.jenkins.io/display/JENKINS/Gerrit+Trigger#GerritTrigger-Gerritaccessrights