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
Hello team! Thank you again for creating and maintaining the library.
I have a question about the circular references. When I try to use a circular reference in spec it throws an error during the initialization.
Thank you @supertong for the reply. I found this in their documentation, and managed to modify chow-chow to compile the schema with circular reference.
if in chow-chow index we modify the ref parser call to parse schema without dereferencing
and inside CompileSchema.ts before this.validator = ajvInstance.compile(schemaObject); is called the schema object is provided with components from await $RefParser.parse(document, {... then it compiles and works.
Hello team! Thank you again for creating and maintaining the library.
I have a question about the circular references. When I try to use a circular reference in spec it throws an error during the initialization.
The error is thrown by json-schema-ref-parser
While json-schema-ref-parser allows the circular refs, in the source code I found that oas-chow-chow puts a hardcoded option to the parser
Is there any specific reason to it, and can it be changed?
The text was updated successfully, but these errors were encountered: