1.0.1 • Published 1 year ago

swagger-to-postman-action v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

OpenAPI To Postman Action

GitHub action to update a Postman collection using a OpenAPI 3.0 JSON file.

Inputs

collection-id

Required The id of the Postman collection to update.

postman-api-key

Required The Postman API key to use for updating the Postman collection. Keys can be generated at https://app.getpostman.com/dashboard/integrations.

path

Required The local path to the OpenAPI 3.0 JSON file used for updating the Postman collection. Default ".".

file

Required The name of the OpenAPI 3.0 JSON file at the local path used for updating the Postman collection. Default "docs.json".

Example usage

uses: actions/openapi-to-postman-action
with:
  collection-id: 'XXX'
  postman-api-key: 'XXX'
  path: '.'
  file: 'docs.json'