0.01
There's a lot of open issues
Use 'bundle exec apipie-postman' and 'rake apipie_postman' to generate the docs!
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 2.7, >= 2.7.12
 Project Readme

apipie-postman Gem Version

Description

apipie-postman is a Ruby gem that automatically generates a Postman collection based on your apipie json output.

The main reason we built this was because we were often in need for a Postman collection with the APIs we designed, but the work seemed to be duplicate. Also, the collection is hard to maintain and many times left incomplete.

Installation

ApipiePostman.configure do |config|
  config.postman_api_key = 'your_postman_api_key'
  config.postman_collection_name = 'Your collection name'
  config.base_url = 'localhost:3000' # the base_url that you want in your postman collection
end
  • run bundle exec apipie-postman

Usage

  • running bundle exec apipie-postman will create the apipie_postman.rake file
  • run bundle exec rake apipie_postman to run the task and generate docs

Testing

The gem uses Rspec for testing. In order to make sure all tests are running, run bundle install and bundle exec rspec spec/file_to_test.rb or bundle exec rspec spec/* (to run all files).

Want to contribute?


Check out CONTRIBUTING.md.