0.01
Repository is archived
No release in over 3 years
Low commit activity in last 3 years
Provides a Rake task to generate Swagger from AppMap data
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Archived

This project is archived because the functionality has moved to AppMap OpenAPI.
How to use AppMap OpenAPI

About

appmap_swagger is a Ruby gem which provides a Rake task to generate Swagger 3 (aka OpenAPI) YAML from AppMap data.

It depends on an NPM package called @appland/appmap-swagger, which does most of the heavy lifting of converting AppMaps to Swagger.

To the NPM package, this gem adds:

  • A Rake task - Normally configured as appmap:swagger.
  • Rails integration - For example, default configuration of the application name.
  • Swagger "diff" - Smart comparison of the current revision Swagger YAML to a base revision.

Usage

Visit the AppMap Swagger for Ruby reference page on appmap.io for a complete reference guide.

Development

After checking out the repo, run bundle to install dependencies. Then, run rake test to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To release a new version, update the version number in version.rb, and then run bundle exec rake gem:release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/getappmap/appmap_swagger-ruby.

License

The gem is available as open source under the terms of the MIT License.