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
I'm consuming an API from a system which define components in multiple schemas/files. The problem is when one type from a schema used for C# client code generation reference type from another schema and this type reference third type which is in second schema. I made simple.
System.InvalidOperationException: Error while rendering Liquid template CSharp/Class:
The schema reference path '#/components/schemas/Language' has not been resolved.
---> System.InvalidOperationException: The schema reference path '#/components/schemas/Language' has not been resolved.
How to instruct NSwag/NJsonSchema to use all types from all referenced schemas?
Thank you.
The text was updated successfully, but these errors were encountered:
Hello,
I'm consuming an API from a system which define components in multiple schemas/files. The problem is when one type from a schema used for C# client code generation reference type from another schema and this type reference third type which is in second schema. I made simple.
Schema with consuming API
Second schema saved in same directory in file referencedSchema.json
An exception throw from Nswag is
How to instruct NSwag/NJsonSchema to use all types from all referenced schemas?
Thank you.
The text was updated successfully, but these errors were encountered: