Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

New feature: GET rel help support

#1

An HTTP OPTIONS request return two important headers: "Allow" and "Link".

In order to discover the allowed HTTP methods for a given resource, we used some Rails routing introspection. At this point, now we need to store the Controller and Actions responsible for handling the calls, for instance:

req

OPTIONS /notes HTTP/1.1

res

Allow: GET, POST
Link: http://myrailsapp.net/optionsful/notes; type=text/html; rel=help

The Controller might be NotesController and the actions index responds to GET requests, and the create action handles a POST request.

GOAL: Using and extending Yard to document these 'entrypoints', using special tags and attribute oriented programming. Build up human readable document containing information about each service entrypoing.

SEE: http://github.com/visfleet/yard-rest-plugin

Reported by Marco Antonio Gonzalez Junior · July 20th, 2010 @ 04:01 PM

State: resolved
Milestone: 0.2.0

Activity

  1. Marco Antonio Gonzalez Junior
    Marco Antonio Gonzalez Junior
    • Milestone set to 0.2.0
    • State changed from new to open

    July 20th, 2010 @ 04:15 PM

  2. Marco Antonio Gonzalez Junior
    Marco Antonio Gonzalez Junior
    • State changed from open to resolved

    July 22nd, 2010 @ 02:38 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.