counterfact
counterfact copied to clipboard
Pass the OpenAPI document to the constructor of the context class
It may be useful to pass the OpenAPI document to the constructor of the Context class (exported from _.context.ts).
It's a relatively simple change:
- Pass the openApiDocument object to ModuleLoader in app.ts
- Pass it down to the context object on line 180 of module-loader.ts.
Originally posted by @pmcelhaney in https://github.com/pmcelhaney/counterfact/issues/749#issuecomment-1927484336
@pmcelhaney mind if I work on this issue?
@pmcelhaney mind if I work on this issue?
I say go for it!
@mgrigoriev8109 I would be very grateful!
Let me know if I can help with anything.