├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── example ├── Gemfile ├── Gemfile.lock ├── config.ru └── petstore.rb ├── lib └── sinatra │ └── swagger-exposer │ ├── configuration │ ├── swagger-configuration-utilities.rb │ ├── swagger-endpoint-parameter.rb │ ├── swagger-endpoint-response.rb │ ├── swagger-endpoint.rb │ ├── swagger-hash-like.rb │ ├── swagger-info.rb │ ├── swagger-parameter-validation-helper.rb │ ├── swagger-response-header.rb │ ├── swagger-response-headers.rb │ ├── swagger-type-property.rb │ ├── swagger-type.rb │ └── swagger-types.rb │ ├── processing │ ├── swagger-array-value-processor.rb │ ├── swagger-base-value-processor.rb │ ├── swagger-file-processor-dispatcher.rb │ ├── swagger-primitive-value-processor.rb │ ├── swagger-processor-dispatcher.rb │ ├── swagger-request-processor.rb │ ├── swagger-response-processor.rb │ └── swagger-type-value-processor.rb │ ├── swagger-content-creator.rb │ ├── swagger-exposer.rb │ ├── swagger-invalid-exception.rb │ ├── swagger-parameter-helper.rb │ ├── swagger-request-processor-creator.rb │ └── version.rb ├── sinatra-swagger-exposer.gemspec └── test ├── configuration ├── test-swagger-configuration-utilities.rb ├── test-swagger-endpoint-parameter.rb ├── test-swagger-endpoint-response.rb ├── test-swagger-endpoint.rb ├── test-swagger-info.rb ├── test-swagger-response-header.rb ├── test-swagger-type-property.rb └── test-swagger-type.rb ├── minitest-helper.rb ├── processing ├── test-swagger-array-value-processor.rb ├── test-swagger-base-value-processor.rb ├── test-swagger-primitive-value-processor.rb ├── test-swagger-request-processor.rb ├── test-swagger-response-processor.rb └── test-swagger-type-value-processor.rb ├── test-swagger-content-creator.rb ├── test-swagger-exposer.rb ├── test-swagger-request-processor-creator.rb ├── test-utilities.rb └── test-version.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/Rakefile -------------------------------------------------------------------------------- /example/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/example/Gemfile -------------------------------------------------------------------------------- /example/Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/example/Gemfile.lock -------------------------------------------------------------------------------- /example/config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/example/config.ru -------------------------------------------------------------------------------- /example/petstore.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/example/petstore.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/configuration/swagger-configuration-utilities.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/configuration/swagger-configuration-utilities.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/configuration/swagger-endpoint-parameter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/configuration/swagger-endpoint-parameter.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/configuration/swagger-endpoint-response.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/configuration/swagger-endpoint-response.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/configuration/swagger-endpoint.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/configuration/swagger-endpoint.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/configuration/swagger-hash-like.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/configuration/swagger-hash-like.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/configuration/swagger-info.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/configuration/swagger-info.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/configuration/swagger-parameter-validation-helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/configuration/swagger-parameter-validation-helper.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/configuration/swagger-response-header.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/configuration/swagger-response-header.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/configuration/swagger-response-headers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/configuration/swagger-response-headers.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/configuration/swagger-type-property.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/configuration/swagger-type-property.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/configuration/swagger-type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/configuration/swagger-type.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/configuration/swagger-types.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/configuration/swagger-types.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/processing/swagger-array-value-processor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/processing/swagger-array-value-processor.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/processing/swagger-base-value-processor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/processing/swagger-base-value-processor.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/processing/swagger-file-processor-dispatcher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/processing/swagger-file-processor-dispatcher.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/processing/swagger-primitive-value-processor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/processing/swagger-primitive-value-processor.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/processing/swagger-processor-dispatcher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/processing/swagger-processor-dispatcher.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/processing/swagger-request-processor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/processing/swagger-request-processor.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/processing/swagger-response-processor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/processing/swagger-response-processor.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/processing/swagger-type-value-processor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/processing/swagger-type-value-processor.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/swagger-content-creator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/swagger-content-creator.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/swagger-exposer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/swagger-exposer.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/swagger-invalid-exception.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/swagger-invalid-exception.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/swagger-parameter-helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/swagger-parameter-helper.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/swagger-request-processor-creator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/swagger-request-processor-creator.rb -------------------------------------------------------------------------------- /lib/sinatra/swagger-exposer/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/lib/sinatra/swagger-exposer/version.rb -------------------------------------------------------------------------------- /sinatra-swagger-exposer.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/sinatra-swagger-exposer.gemspec -------------------------------------------------------------------------------- /test/configuration/test-swagger-configuration-utilities.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/test/configuration/test-swagger-configuration-utilities.rb -------------------------------------------------------------------------------- /test/configuration/test-swagger-endpoint-parameter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/test/configuration/test-swagger-endpoint-parameter.rb -------------------------------------------------------------------------------- /test/configuration/test-swagger-endpoint-response.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/test/configuration/test-swagger-endpoint-response.rb -------------------------------------------------------------------------------- /test/configuration/test-swagger-endpoint.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/test/configuration/test-swagger-endpoint.rb -------------------------------------------------------------------------------- /test/configuration/test-swagger-info.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/test/configuration/test-swagger-info.rb -------------------------------------------------------------------------------- /test/configuration/test-swagger-response-header.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/test/configuration/test-swagger-response-header.rb -------------------------------------------------------------------------------- /test/configuration/test-swagger-type-property.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/test/configuration/test-swagger-type-property.rb -------------------------------------------------------------------------------- /test/configuration/test-swagger-type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/test/configuration/test-swagger-type.rb -------------------------------------------------------------------------------- /test/minitest-helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/test/minitest-helper.rb -------------------------------------------------------------------------------- /test/processing/test-swagger-array-value-processor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/test/processing/test-swagger-array-value-processor.rb -------------------------------------------------------------------------------- /test/processing/test-swagger-base-value-processor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/test/processing/test-swagger-base-value-processor.rb -------------------------------------------------------------------------------- /test/processing/test-swagger-primitive-value-processor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/test/processing/test-swagger-primitive-value-processor.rb -------------------------------------------------------------------------------- /test/processing/test-swagger-request-processor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/test/processing/test-swagger-request-processor.rb -------------------------------------------------------------------------------- /test/processing/test-swagger-response-processor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/test/processing/test-swagger-response-processor.rb -------------------------------------------------------------------------------- /test/processing/test-swagger-type-value-processor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/test/processing/test-swagger-type-value-processor.rb -------------------------------------------------------------------------------- /test/test-swagger-content-creator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/test/test-swagger-content-creator.rb -------------------------------------------------------------------------------- /test/test-swagger-exposer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/test/test-swagger-exposer.rb -------------------------------------------------------------------------------- /test/test-swagger-request-processor-creator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/test/test-swagger-request-processor-creator.rb -------------------------------------------------------------------------------- /test/test-utilities.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/test/test-utilities.rb -------------------------------------------------------------------------------- /test/test-version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archiloque/sinatra-swagger-exposer/HEAD/test/test-version.rb --------------------------------------------------------------------------------