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

Feature/request data json #6

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from
Open

Conversation

Haniyya
Copy link

@Haniyya Haniyya commented Jan 18, 2018

This PR changes the appearance of examples and allows for request_data of :PUT :PATH :POST requests to be displayed as json. Which for a lot of people is easier than the standard query-string.
This is part and precursor of #4 which fixes some of the markup.

A few changes are made here:

  1. Examples are no longer pre-formated when passed to the template. Instead the normal case will be to have Hash-examples that have their own partial and a seperate one for simple String examples.
  2. The @params attribute of the Extractor::Recorder contains more information about the request and is copied to request_data_json when serializing. This field stays untouched until it reaches the template (i didn't use params here since it was being modified on deserialization).
  3. The included Bootstrap was updated to 3.3.7.
  4. There is (incomplete and not working, fixed in Feature/better example display #4 ) markup for method display.

@Haniyya Haniyya requested a review from stex January 18, 2018 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant