✅ Swashbuckle to other swagger UI
Did anyone move the swagger UI from swashbuckle to other ones like Scala? Need guidelines for the same?
3 Replies
what is the equalent to the swaggerreposnse? I tried using ProducesResponseType but it doesn't have an option to add the description
everything related to the openapi doc shouldnt change
scalar is justa rest client ui, opanpi doc generation is still done by something else, either swashbuckle, nswag, microsoft.openpi etc
anyway you could try asking on their discord server
I tried using the open API and followed their documentation but didn't help. Posted on their discord too. Thank you
I tried using the openapi but it didn't work. below code is for reference
public void ConfigureServices(IServiceCollection services)
{
services.AddOpenApi();
}
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
app.UseEndpoints(endpoints =>
{
endpoints.MapOpenApi(); endpoints.MapScalarApiReference(options => {
}); }); }
endpoints.MapOpenApi(); endpoints.MapScalarApiReference(options => {
}); }); }