Name: drone-openapi
Owner: The New York Times
Description: A Drone plugin for publishing Open API service specifications
Created: 2017-11-20 20:57:27.0
Updated: 2018-03-26 16:08:45.0
Pushed: 2017-11-21 18:17:18.0
Homepage: null
Size: 132
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This plugin accepts a team name along with a valid Open API spec file and it will post the given information to the given uploader_url.
This plugin supports Drone 0.4 and 0.6+ (0.5 is deprecated).
The examples below are for secrets in the 0.4 format, where the GCP Service Account json must be passed to the key
parameter in .drone.yml, using the $$SECRET_NAME
notation.
For Drone 0.6+, the plugin expects credentials in the OPENAPI_API_KEY
environment variable. See the official documentation. Either:
OPENAPI_API_KEY
and inlclude it in the secrets
block, ortarget
to OPENAPI_API_KEY
.notify:
openapi:
team: games
spec: puzzles.yaml
key: $$OPENAPI_KEY
uploader_url: https://openapi-repo.example.com/uploader
when:
event: tag