Sha256: 6b4a299772306c85261a8394b9ba092a9e060e9ba3c932b31b8b2626c50e93bb
Contents?: true
Size: 451 Bytes
Versions: 7
Compression:
Stored size: 451 Bytes
Contents
module SoberSwag module Reporting module Output ## # Output raw text. class Text < Base def call(input) input end def serialize_report(input) result = call(input) return Report::Value.new(['was not a string']) unless result.is_a?(String) result end def swagger_schema [{ type: 'string' }, {}] end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems