Sha256: 96c85de342cfab6b19510519443c535fed4f08fb462ffe4f63b1ddef3f867eb1

Contents?: true

Size: 617 Bytes

Versions: 6

Compression:

Stored size: 617 Bytes

Contents

# frozen_string_literal: true

require 'modern/descriptor'

module Example
  # TODO: implement routes into the example descriptor
  #       Modern was built specifically for a project I'm working on,
  #       so an end-to-end example is still TBD(eveloped). However,
  #       you can check out the tests for examples of how to write
  #       routes and security schemes; all internal objects are built
  #       with `dry-struct`
  # TODO: implement with modern-dsl when that's done (or maybe have a
  #       separate example for that?)
  def self.descriptor
    desc = Modern::Descriptor.new

    desc
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
modern-0.5.0 example/example.rb
modern-0.4.6 example/example.rb
modern-0.4.5 example/example.rb
modern-0.4.4 example/example.rb
modern-0.4.3 example/example.rb
modern-0.4.2 example/example.rb