Module Apipie::DSL::Action
In: lib/apipie/dsl_definition.rb

Methods

Public Instance methods

# load paths from routes and don‘t provide description api

# load paths from routes api! "short description",

Show some example of what does the described method return.

Describe whole resource

Example: api :desc => "Show user profile", :path => "/users/", :version => ‘1.0 - 3.4.2012’ param :id, Fixnum, :desc => "User ID", :required => true desc <<-EOS

  Long description...

EOS

Reference other similar method

  api :PUT, '/articles/:id'
  see "articles#create"
  def update; end

Determine if the method should be included in the documentation

[Validate]