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
When using Saunter (0.11.0) along with a NSwag version greater than 13.16.1, document generation is broken, propably because of updates in NSwag regarding Namotion.Reflection, used by NJsonSchema.
I suspect this NSwag release to be the interfering issue for saunter: https://github.com/RicoSuter/NSwag/releases/tag/v13.17.0
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
An unhandled exception has occurred while executing the request.
System.MissingMethodException: Method not found: 'System.String Namotion.Reflection.XmlDocsExtensions.GetXmlDocsRemarks(System.Reflection.MemberInfo,Boolean)'.
at Saunter.Generation.DocumentGenerator.GenerateOperationFromMethod(MethodInfo method, AsyncApiSchemaResolver schemaResolver, OperationType operationType, AsyncApiOptions options, JsonSchemaGenerator jsonSchemaGenerator, IServiceProvider
serviceProvider)
at Saunter.Generation.DocumentGenerator.GenerateChannelsFromMethods(IEnumerable`1 asyncApiTypes, AsyncApiSchemaResolver schemaResolver, AsyncApiOptions options, JsonSchemaGenerator jsonSchemaGenerator, IServiceProvider serviceProvider)
at Saunter.Generation.DocumentGenerator.GenerateChannels(TypeInfo[]asyncApiTypes,AsyncApiSchemaResolverschemaResolver,AsyncApiOptionsoptions,JsonSchemaGeneratorjsonSchemaGenerator,IServiceProviderserviceProvider)
at Saunter.Generation.DocumentGenerator.GenerateDocument(TypeInfo[]asyncApiTypes,AsyncApiOptionsoptions,AsyncApiDocumentprototype,IServiceProviderserviceProvider)
at Saunter.Generation.AsyncApiDocumentProvider.GetDocument(AsyncApiOptionsoptions,AsyncApiDocumentprototype)
at Saunter.AsyncApiMiddleware.Invoke(HttpContextcontext)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
I tested and can verify that this issue will be fixed after integrating #154
The text was updated successfully, but these errors were encountered:
When using Saunter (0.11.0) along with a NSwag version greater than 13.16.1, document generation is broken, propably because of updates in NSwag regarding Namotion.Reflection, used by NJsonSchema.
I suspect this NSwag release to be the interfering issue for saunter:
https://github.com/RicoSuter/NSwag/releases/tag/v13.17.0
I tested and can verify that this issue will be fixed after integrating #154
The text was updated successfully, but these errors were encountered: