Sha256: 776cedfc19fcda72b15b18af3cf32219e6905ed4d6b349be7a1447dec3d289bc

Contents?: true

Size: 578 Bytes

Versions: 2

Compression:

Stored size: 578 Bytes

Contents

# Needed because running outside Gem
# XXX Is there a better way to deal with this?
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__)))

require "yard_rest_plugin/base_helper"

YARD::Templates::Engine.register_template_path File.dirname(__FILE__) + '/../templates'

# Define custom tags
YARD::Tags::Library.define_tag("URL for Service", :url)
YARD::Tags::Library.define_tag("Arguments", :argument, :with_types_and_name)
YARD::Tags::Library.define_tag("Example Respones", :example_response)
YARD::Tags::Library.define_tag("Response Field", :response_field, :with_name)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yard-rest-plugin-0.1.1 lib/yard_rest_plugin.rb
yard-rest-plugin-0.1.0 lib/yard_rest_plugin.rb