Sha256: 8c61b1aa82b9c5e8994680e91733b9b721b7a4e219fcf18cdf6538ad7c4cbd8c

Contents?: true

Size: 277 Bytes

Versions: 8

Compression:

Stored size: 277 Bytes

Contents

# frozen_string_literal: true

module Mihari
  module Entities
    class Vulnerability < Grape::Entity
      expose :name, documentation: {type: String, required: true}
      expose :created_at, documentation: {type: DateTime, required: true}, as: :createdAt
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mihari-8.0.0 lib/mihari/entities/vulnerability.rb
mihari-7.6.4 lib/mihari/entities/vulnerability.rb
mihari-7.6.3 lib/mihari/entities/vulnerability.rb
mihari-7.6.2 lib/mihari/entities/vulnerability.rb
mihari-7.6.1 lib/mihari/entities/vulnerability.rb
mihari-7.6.0 lib/mihari/entities/vulnerability.rb
mihari-7.5.0 lib/mihari/entities/vulnerability.rb
mihari-7.4.0 lib/mihari/entities/vulnerability.rb