counterfact icon indicating copy to clipboard operation
counterfact copied to clipboard

Pass the OpenAPI document to the constructor of the context class

Open pmcelhaney opened this issue 1 year ago • 3 comments

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:

  1. Pass the openApiDocument object to ModuleLoader in app.ts
  2. 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 avatar Jul 01 '24 13:07 pmcelhaney

@pmcelhaney mind if I work on this issue?

mgrigoriev8109 avatar Dec 26 '24 21:12 mgrigoriev8109

@pmcelhaney mind if I work on this issue?

I say go for it!

dethell avatar Dec 27 '24 16:12 dethell

@mgrigoriev8109 I would be very grateful!

Let me know if I can help with anything.

pmcelhaney avatar Dec 27 '24 20:12 pmcelhaney