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
Instead of a yaml file I only have a json swagger document object. When digging into the code I figured out that I can pass the document to the init method as follows:
swaggerValidator.init(document as any)
Is it possible to change the init signature (TypeScript) to allow objects as well?
The text was updated successfully, but these errors were encountered:
Instead of a yaml file I only have a json swagger document object. When digging into the code I figured out that I can pass the document to the init method as follows:
Is it possible to change the init signature (TypeScript) to allow objects as well?
The text was updated successfully, but these errors were encountered: