def swagger_doc(action, &block)
      parse = ParserAction.new(action, &block)
      parse.adding_path
    end
def swagger_doc(action, &block)
      parse = ParserAction.new(action, &block)
      parse.adding_path
    end
Complete json file with datas to method and controller. Each action to
 controller is writing in temporary file.