Module: Fakeit
- Defined in:
- lib/fakeit.rb,
lib/fakeit/logger.rb,
lib/fakeit/version.rb,
lib/fakeit/app/options.rb,
lib/fakeit/openapi/loader.rb,
lib/fakeit/openapi/schema.rb,
lib/fakeit/app/app_builder.rb,
lib/fakeit/openapi/operation.rb,
lib/fakeit/middleware/recorder.rb,
lib/fakeit/validation/validator.rb,
lib/fakeit/openapi/specification.rb,
lib/fakeit/app/helpers/body_parser.rb,
lib/fakeit/app/routes/config_route.rb,
lib/fakeit/app/routes/openapi_route.rb,
lib/fakeit/validation/validation_error.rb,
lib/fakeit/app/helpers/response_builder.rb,
lib/fakeit/openapi/example/array_example.rb,
lib/fakeit/openapi/example/number_example.rb,
lib/fakeit/openapi/example/object_example.rb,
lib/fakeit/openapi/example/string_example.rb,
lib/fakeit/openapi/example/boolean_example.rb,
lib/fakeit/openapi/example/integer_example.rb
Defined Under Namespace
Modules: App, Middleware, Openapi, Validation
Constant Summary collapse
- Logger =
::Logger.new($stderr)
- VERSION =
'0.7.0'.freeze
Class Method Summary collapse
Class Method Details
.build(spec_file, options) ⇒ Object
16 17 18 19 20 |
# File 'lib/fakeit.rb', line 16 def build(spec_file, ) Rack::Builder.new do run App::AppBuilder.new(spec_file, ).build end end |