Sha256: d8dd9db48c0a41bb9b8a58513c6bc41182d99cf2dc2a83af3c020067ea2e3870
Contents?: true
Size: 622 Bytes
Versions: 6
Compression:
Stored size: 622 Bytes
Contents
# frozen_string_literal: true require 'modern/struct' module Modern class Configuration < Modern::Struct # TODO: once Modern is done, figure out sane defaults. attribute :show_errors, Modern::Types::Strict::Bool.default(true) attribute :log_input_converter_errors, Modern::Types::Strict::Bool.default(true) attribute :validate_responses, Modern::Types::Strict::String.default("log").enum("no", "log", "error") attribute :open_api_json_path, Modern::Types::Strict::String.default("/openapi.json") attribute :open_api_yaml_path, Modern::Types::Strict::String.default("/openapi.yaml") end end
Version data entries
6 entries across 6 versions & 1 rubygems