You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bundle(api, [options], [callback])
api (required) - string or object
A Swagger Object, or the file path or URL of your Swagger API. See the parse method for more info.
options (optional) - object
See options for the full list of options
http.headers - You can specify any HTTP headers that should be sent when downloading files. For example, some servers may require you to set the Accept or Referrer header.
The text was updated successfully, but these errors were encountered:
Problem
I can't parse swagger schema with authorization required url
Solution
Would be great if i can pass headers or control auth in config file
redux-toolkit/packages/rtk-query-codegen-openapi/src/index.ts
Lines 14 to 17 in e929938
redux-toolkit/packages/rtk-query-codegen-openapi/src/generate.ts
Line 97 in e929938
redux-toolkit/packages/rtk-query-codegen-openapi/src/utils/getV3Doc.ts
Line 8 in e929938
https://github.com/APIDevTools/swagger-parser/blob/main/docs/swagger-parser.md#bundleapi-options-callback
https://github.com/APIDevTools/swagger-parser/blob/main/docs/options.md#resolve-options
The text was updated successfully, but these errors were encountered: