-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
In the schema, there is a header value with capital letters
"parameters": [
{
"name": "X-Customer-Code",
"in": "header",
"description": "Company Profile ID, it can be found on JetBrains Account portal near the company name",
"schema": {
"type": "string"
}
}
]
However, api/core transforms all headers to lowercase: https://github.com/readmeio/api/blob/cc5ee91b1d4d550c0c014875c74c5403762e42c8/packages/core/src/lib/prepareParams.ts#L367
Therefore formatted can't retrieve this field from data here:
oas/packages/oas-to-har/src/index.ts
Line 46 in 77ba97d
if (typeof values[type][param.name] !== 'undefined') { |
This issue also exist in [email protected] package
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed