Cengiz Ilerler
Cengiz Ilerler
Nice work @xuzhg, šš» I've tested it against common use cases I can think of, and it all works as expected. The one thing that wasn't clear to me was...
@Tiberriver256 I saw your comment from August about a solution you had before cleaning up your fork. Iām working on something similar and your approach could really benefit the community....
Hey Denny, thanks for the details. The tool you suggested above is my backup plan at this point, hoping that we will have a native way to do the things...
@Tiberriver256 so far no luck for me š but regardless, thank you very much for all the effort. š¤ I will try to debug it once I finish the task...
I tried on a large code base, so no good for outside world. But I will definitely create a lean repo and let you know.
Getting error here https://github.com/OData/RESTier/blob/20820df50e5a3aa9575ea6ee89fa940a8b9d78ae/src/Microsoft.Restier.AspNetCore.Swagger/Extensions/IApplicationBuilderExtensions.cs#L31 ```stack Unhandled exception. System.MethodAccessException: Attempt by method 'Microsoft.AspNetCore.Builder.Restier_AspNetCore_Swagger_IApplicationBuilderExtensions+c__DisplayClass0_0.b__0(Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIOptions)' to access method 'Microsoft.Restier.Core.RestierRouteBuilder.get_Routes()' failed. at Microsoft.AspNetCore.Builder.Restier_AspNetCore_Swagger_IApplicationBuilderExtensions.c__DisplayClass0_0.b__0(SwaggerUIOptions c) at Microsoft.AspNetCore.Builder.SwaggerUIBuilderExtensions.UseSwaggerUI(IApplicationBuilder app, Action`1 setupAction) at Microsoft.AspNetCore.Builder.Restier_AspNetCore_Swagger_IApplicationBuilderExtensions.UseRestierSwagger(IApplicationBuilder app, Boolean addUI)...
It is a reproducible issue, change the code here https://github.com/OData/RESTier/blob/tasks/swagger/src/Microsoft.Restier.Samples.Northwind.AspNetCore/Microsoft.Restier.Samples.Northwind.AspNetCore.csproj#L23-L25 with ```csharp ``` please.
Great work! š„³ It's running smoothly with the following packages, and huge thanks for the effort - it's a big success for RESTier. ```csharp ``` >[!NOTE] > _I'm still facing...
### default `$top` value @robertmclaws ```charp services.AddRestierSwagger(o => o.TopExample = 5); ``` And then we can close this issue. š„³ šš» The issue below should be followed separately. --- ###...
@ChristopherHX it is working for me