Sha256: cd31a0e0f30f88968a65b6962b3d46a160d16c1ae1df3453d43ea1abd23a2b7f
Contents?: true
Size: 531 Bytes
Versions: 10
Compression:
Stored size: 531 Bytes
Contents
class Apipie::Generator::Swagger::MethodDescription::ApiDecorator < SimpleDelegator def normalized_http_method @normalized_http_method ||= http_method.downcase end def summary(method_description:, language:) s = Apipie.app.translate(short_description, language) if s.blank? Apipie::Generator::Swagger::Warning.for_code( Apipie::Generator::Swagger::Warning::MISSING_METHOD_SUMMARY_CODE, method_description.ruby_name ).warn_through_writer nil else s end end end
Version data entries
10 entries across 10 versions & 1 rubygems