Collection Level Headers Not Shown on Examples
Describe the bug If some headers like: Authorization are defined at collection level(Project Folder) then in the examples at right hand side these headers are missing.
Expected code snippet and corresponding request These headers should be shown in all API's, it confuses a developer because the developer would expect the code to run when copied from example and tried on local device. Such as curl request etc.
@rd67 Could you tell me the steps to reproduce this problem.
@karmanya007 Ran into this issue as well. Here are the steps:
- I created an empty collection "Test"
- I added a top-level request to this collection (no folders) with auth being inherited
- I edited the "Test" collection Authorization to use Basic auth with username=test
This is what I saw on the generated docs:

No authorization included in the curl request example despite it being inherited. When these docs were opened in postman, the resulting code was correct.
@karmanya007 Can you please provide any update on this issue?