api-def 0.12.0-alpha.7 → 0.12.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/index.js +1 -1
- package/package.json +1 -1
package/bin/index.js
CHANGED
|
@@ -258628,7 +258628,7 @@ ${Object.entries(routes).flatMap(([path2, route]) => {
|
|
|
258628
258628
|
return false;
|
|
258629
258629
|
});
|
|
258630
258630
|
if (anyHeaderParams) {
|
|
258631
|
-
extraTypes[`Headers${(0, import_lodash.upperFirst)(id)}`] = `operations["${id}"]["parameters"]["header"]
|
|
258631
|
+
extraTypes[`Headers${(0, import_lodash.upperFirst)(id)}`] = `NonNullable<operations["${id}"]["parameters"]["header"]>`;
|
|
258632
258632
|
requestHeaderTypes.push(`Headers${(0, import_lodash.upperFirst)(id)}`);
|
|
258633
258633
|
}
|
|
258634
258634
|
}
|