Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Headers shown in methods #475

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Headers shown in methods #475

wants to merge 1 commit into from

Conversation

dajinchu
Copy link

Reposting #469 with the right branch

Headers set from a resource_description are now inherited in each of the resource's methods, and are no longer displayed under resource.

Example:

resource_description do
  short 'Test case data'
  formats ['json']
  header 'X-API-EMAIL', 'user\'s email', required: 
  header 'X-API-TOKEN', 'user\'s current authentication token', required: true
end

Used to show:
screen shot 2016-07-07 at 10 53 46 am

It now looks like:
screen shot 2016-07-07 at 10 52 39 am
where every method of document shows the headers.

@ofedoren ofedoren force-pushed the master branch 2 times, most recently from 69442b9 to 8215e30 Compare July 25, 2021 19:41
@mathieujobin
Copy link
Collaborator

can you update your branch to resolve the conflicts?

@mathieujobin mathieujobin added the Next up consider for upcoming release or close label May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Next up consider for upcoming release or close
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants