Module: Committee
- Defined in:
- lib/committee/middleware/stub.rb,
lib/committee.rb,
lib/committee/utils.rb,
lib/committee/errors.rb,
lib/committee/drivers.rb,
lib/committee/middleware.rb,
lib/committee/test/methods.rb,
lib/committee/drivers/driver.rb,
lib/committee/drivers/schema.rb,
lib/committee/middleware/base.rb,
lib/committee/request_unpacker.rb,
lib/committee/schema_validator.rb,
lib/committee/validation_error.rb,
lib/committee/bin/committee_stub.rb,
lib/committee/drivers/open_api_2.rb,
lib/committee/drivers/open_api_3.rb,
lib/committee/drivers/hyper_schema.rb,
lib/committee/test/schema_coverage.rb,
lib/committee/drivers/open_api_2/link.rb,
lib/committee/schema_validator/option.rb,
lib/committee/drivers/hyper_schema/link.rb,
lib/committee/drivers/open_api_2/driver.rb,
lib/committee/drivers/open_api_2/schema.rb,
lib/committee/drivers/open_api_3/driver.rb,
lib/committee/drivers/open_api_3/schema.rb,
lib/committee/drivers/hyper_schema/driver.rb,
lib/committee/drivers/hyper_schema/schema.rb,
lib/committee/schema_validator/open_api_3.rb,
lib/committee/middleware/request_validation.rb,
lib/committee/schema_validator/hyper_schema.rb,
lib/committee/middleware/response_validation.rb,
lib/committee/drivers/open_api_2/schema_builder.rb,
lib/committee/schema_validator/open_api_3/router.rb,
lib/committee/schema_validator/hyper_schema/router.rb,
lib/committee/drivers/open_api_2/header_schema_builder.rb,
lib/committee/drivers/open_api_2/parameter_schema_builder.rb,
lib/committee/schema_validator/open_api_3/operation_wrapper.rb,
lib/committee/schema_validator/open_api_3/request_validator.rb,
lib/committee/schema_validator/open_api_3/response_validator.rb,
lib/committee/schema_validator/hyper_schema/parameter_coercer.rb,
lib/committee/schema_validator/hyper_schema/request_validator.rb,
lib/committee/schema_validator/hyper_schema/response_generator.rb,
lib/committee/schema_validator/hyper_schema/response_validator.rb,
lib/committee/schema_validator/hyper_schema/string_params_coercer.rb
Overview
Defined Under Namespace
Modules: Bin, Drivers, Middleware, SchemaValidator, Test, Utils
Classes: BadRequest, Error, InvalidRequest, InvalidResponse, NotFound, OpenAPI3Unsupported, ReferenceNotFound, RequestUnpacker, ValidationError
Class Method Summary
collapse
Class Method Details
.debug? ⇒ Boolean
10
11
12
|
# File 'lib/committee.rb', line 10
def self.debug?
ENV["COMMITTEE_DEBUG"]
end
|
.log_debug(message) ⇒ Object
14
15
16
|
# File 'lib/committee.rb', line 14
def self.log_debug(message)
$stderr.puts(message) if debug?
end
|
.warn_deprecated(message) ⇒ Object
18
19
20
|
# File 'lib/committee.rb', line 18
def self.warn_deprecated(message)
warn("[DEPRECATION] #{message}")
end
|