ngtk/open_api_annotator

View on GitHub
lib/open_api_annotator/attribute.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
module OpenApiAnnotator
  class Attribute < Field
    attr_accessor :format

    def initialize(name, type, format, nullable)
      super(name, type, nullable)
      self.format = format
    end
  end
end