Sha256: 33f4aaf342316115a18f48b8f690373ee20fc67e3187be4106dd1e9aa03d02ec
Contents?: true
Size: 585 Bytes
Versions: 6
Compression:
Stored size: 585 Bytes
Contents
# frozen_string_literal: true require 'modern/descriptor/converters/output/base' module Modern module Descriptor module Converters module Output # We use this because we pre-bake the OpenAPI3 spec JSON and # want the content type. However, our route invokes # {Modern::Response#bypass!}, so this will never be called. YAMLBypass = Base.new( media_type: "application/yaml", converter: proc { raise "this should never be called!" } ) end end end end # rubocop:enable Layout/EmptyLinesAroundArguments
Version data entries
6 entries across 6 versions & 1 rubygems