Sha256: 73c2605ead746169d56eb478f72d6908e4172445cdce8765d554059ae1d5bd5c
Contents?: true
Size: 309 Bytes
Versions: 13
Compression:
Stored size: 309 Bytes
Contents
require 'ostruct' module Rswag module Ui class Configuration attr_reader :swagger_endpoints def initialize @swagger_endpoints = [] end def swagger_endpoint(path, title) @swagger_endpoints << OpenStruct.new(path: path, title: title) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems