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

Adding REQUEST Header for Apis #247

Open
RadientBrain opened this issue Mar 20, 2023 · 2 comments
Open

Adding REQUEST Header for Apis #247

RadientBrain opened this issue Mar 20, 2023 · 2 comments

Comments

@RadientBrain
Copy link

I can't find any method to add REQUEST headers for api documentation. Is there any method to do it? 'Cause only the RESPONSE header feature is only there.

@RadientBrain
Copy link
Author

RadientBrain commented Mar 20, 2023

I think I got the solution, the trick to add REQUEST headers is just by adding .header in the params with the header name like this:

@param {string} example.header - example description

@RadientBrain
Copy link
Author

I used this but it does't change the url thats being generated on "try it" but the UI changes the name to "header". So I am still at the starting point, any help will be beneficial.

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

No branches or pull requests

1 participant