Sha256: d5f2c21f2af0541f2ad0b09803c0faa3a095ffa7d5d58ae11a31bc4a400a42eb
Contents?: true
Size: 607 Bytes
Versions: 6
Compression:
Stored size: 607 Bytes
Contents
# frozen_string_literal: true # :reek:UtilityFunction module SwaggerDocsGenerator # # Methods for controller # # Methods adding to controller parsing in rails appliation module Methods # Create json file for controller def swagger_controller(controller, description) parse = ParserController.new(controller, description) parse.adding_tag end # Complete json file with datas to method and controller, controller reading def swagger_doc(controller, action, data = {}) parse = ParserAction.new(controller, action, data) parse.adding_path end end end
Version data entries
6 entries across 6 versions & 1 rubygems