Difference between revisions of "Oas cicd"
(Created page with "== Integrating Jenkins with Gerrit == https://wiki.jenkins.io/display/JENKINS/Gerrit+Trigger#GerritTrigger-Gerritaccessrights") |
|||
Line 1: | Line 1: | ||
+ | __TOC__ | ||
+ | |||
+ | == 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 == | == Integrating Jenkins with Gerrit == | ||
https://wiki.jenkins.io/display/JENKINS/Gerrit+Trigger#GerritTrigger-Gerritaccessrights | https://wiki.jenkins.io/display/JENKINS/Gerrit+Trigger#GerritTrigger-Gerritaccessrights |
Latest revision as of 09:43, 19 July 2017
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