packages/insomnia-importers/src/importers/openapi3.js
function prepareHeaders(endpointSchema) {
  const isSendInHeader = p => p.in === 'header';
  const parameters = endpointSchema.parameters || [];
  const headerParameters = parameters.filter(isSendInHeader);
  return convertParameters(headerParameters);
}
function prepareHeaders(endpointSchema) {
  const isSendInHeader = p => p.in === 'header';
  const parameters = endpointSchema.parameters || [];
  const headerParameters = parameters.filter(isSendInHeader);
  return convertParameters(headerParameters);
}
function prepareHeaders ( endpointSchema ) { const isSendInHeader = p => p . in === 'header' ; const parameters = endpointSchema . parameters || [ ] ; const headerParameters = parameters . filter ( isSendInHeader ) ; return convertParameters ( headerParameters ) ; }
Imports insomnia definitions of header parameters.

@param {Object} endpointSchema - OpenAPI 3 endpoint schema
@returns {Object[]} array of parameters definitions
Imports insomnia definitions of header parameters .