├── .gitignore ├── .travis.yml ├── Gemfile ├── LICENCE ├── README.md ├── Rakefile ├── bin └── source2swagger ├── lib ├── swagger_hash.rb └── swagger_reader.rb ├── source2swagger.gemspec └── test ├── data ├── sample1.json ├── sample1.rb ├── sample2.json ├── sample2.rb ├── sample3.json ├── sample3.rb ├── sample4.rb ├── sample5.rb ├── sample6.rb ├── sample7.rb ├── sample_bad1.rb ├── sample_bad2.rb └── sample_bad3.rb ├── test_helper.rb ├── test_helpers └── compare_hashes.rb └── unit ├── swagger_hash_test.rb └── swagger_reader_test.rb /.gitignore: -------------------------------------------------------------------------------- 1 | /*.gem 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENCE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/LICENCE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/source2swagger: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/bin/source2swagger -------------------------------------------------------------------------------- /lib/swagger_hash.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/lib/swagger_hash.rb -------------------------------------------------------------------------------- /lib/swagger_reader.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/lib/swagger_reader.rb -------------------------------------------------------------------------------- /source2swagger.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/source2swagger.gemspec -------------------------------------------------------------------------------- /test/data/sample1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/test/data/sample1.json -------------------------------------------------------------------------------- /test/data/sample1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/test/data/sample1.rb -------------------------------------------------------------------------------- /test/data/sample2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/test/data/sample2.json -------------------------------------------------------------------------------- /test/data/sample2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/test/data/sample2.rb -------------------------------------------------------------------------------- /test/data/sample3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/test/data/sample3.json -------------------------------------------------------------------------------- /test/data/sample3.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/test/data/sample3.rb -------------------------------------------------------------------------------- /test/data/sample4.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/test/data/sample4.rb -------------------------------------------------------------------------------- /test/data/sample5.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/test/data/sample5.rb -------------------------------------------------------------------------------- /test/data/sample6.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/test/data/sample6.rb -------------------------------------------------------------------------------- /test/data/sample7.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/test/data/sample7.rb -------------------------------------------------------------------------------- /test/data/sample_bad1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/test/data/sample_bad1.rb -------------------------------------------------------------------------------- /test/data/sample_bad2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/test/data/sample_bad2.rb -------------------------------------------------------------------------------- /test/data/sample_bad3.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/test/data/sample_bad3.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/test/test_helper.rb -------------------------------------------------------------------------------- /test/test_helpers/compare_hashes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/test/test_helpers/compare_hashes.rb -------------------------------------------------------------------------------- /test/unit/swagger_hash_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/test/unit/swagger_hash_test.rb -------------------------------------------------------------------------------- /test/unit/swagger_reader_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solso/source2swagger/HEAD/test/unit/swagger_reader_test.rb --------------------------------------------------------------------------------