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
But when i use nswag product csharp code, it throws the follow exception:
System.InvalidOperationException: Could not resolve the path '#/paths/1audienceCategories1%7Baudience-category-uuid%7D/get/responses/200/content/application~1json/schema'.
And i modifyed the code in \NSwag-master\src\NJsonSchema\NJsonSchema\JsonReferenceResolver.cs
in the ResolveDocumentReferenceWithoutDereferencing method, before "return null" , insert the follow code:
in https://editor.swagger.io/, the follows yaml is legal.
But when i use nswag product csharp code, it throws the follow exception:
System.InvalidOperationException: Could not resolve the path '#/paths/
1audienceCategories1%7Baudience-category-uuid%7D/get/responses/200/content/application~1json/schema'.And i modifyed the code in \NSwag-master\src\NJsonSchema\NJsonSchema\JsonReferenceResolver.cs
in the ResolveDocumentReferenceWithoutDereferencing method, before "return null" , insert the follow code:
Fixed.
But it seems that is not a routine modifications.
So , How to ?
The text was updated successfully, but these errors were encountered: