Sha256: b2138bf16d91a952c2f59f1bc3fd48dbe01ccf9e883c077bff6675f8cd27915e
Contents?: true
Size: 664 Bytes
Versions: 1
Compression:
Stored size: 664 Bytes
Contents
# frozen_string_literal: true require 'json' module SwaggerDocsGenerator # # Metadata generated # # @abstract # Abstract class for metadata provide to controlloer in Rails application class MetadataController < Metadata def initialize # Reload all controller before parsing Rails.application.eager_load! @path = File.join(Dir.pwd, 'public', SwaggerDocsGenerator.configure_info.version) @controllers = ApplicationController.subclasses end private attr_accessor :controllers, :path end end require 'swagger_docs_generator/metadata/path' require 'swagger_docs_generator/metadata/tag'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
swagger_docs_generator-0.1.0 | lib/swagger_docs_generator/metadata/controller.rb |