How to make document example includes headers?

I made a collection of requests (with response as example), now I need to generate document automatically by Postman. But in the generated doc, the request examples does not include headers such as Content-Type: application/json. I need to write header manually for each example so that will includes in the example. Is there any way to solve this problem better?

Hi @Joke_Huang

The only options I can see that would be of any use are, to add in the headers manually, or open the collection JSON file in Notepad++ and do a find and replace (as long as all the headers are empty and match your criteria).

In Notepad++ it would look like this;