-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Change <!-- RESPONSE --> to // RESPONSE inside a code block comment #30
Comments
I'll take this into consideration because I do agree that the current way to do it looks quite ugly! Thank you :) |
Hi, I was reading this issue and was wondering how you add the response to the documentation? I don't know if when exporting the data from the Insomnia client you could add the response preview. Thanks for the help. |
@devhammed much better! |
Hello everyone, I have just created the pull request at #51 ... hopefully, @jozsefsallai will be able to merge it ASAP. |
I think it is a good idea to add it in docs. |
Is it not already? |
There is a problem when documenting an example response.
Actually works like:
<!-- RESPONSE -->
{
... data
}
<!-- ENDRESPONSE -->
But the problem with that is looks ugly and not readable in Insomina Docs tab, without format.
I suggest change it to:
all inside a codeblock.
In that form the markdown format preserves in the Insomnia doc tab and will still appear at the right panel as response example in the generated documentation.
The text was updated successfully, but these errors were encountered: