Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

swagger

Swagger UI doesn’t render body parameter field for my complex type parameter in GET action of my Controller

September 5, 2022 by Magenaut

I have an ASP.NET Web API 2 project to which I have added Swagger – Swashbuckle v5.6.0. Everything works fine. Swagger UI renders test endpoints for my API as expected.

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api2, swagger, swagger-ui, swashbuckle Leave a comment

How to display body as html forms using Swagger in ASP.NET Core

September 5, 2022 by Magenaut

In Swagger is it possible to have the body represented as HTML forms as opposed to a JSON string? and how would one achieve this?

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api, swagger, swagger-ui Leave a comment

IOperation Filter Change in Swashbuckle v5.5.3

September 4, 2022 by Magenaut

I trying to Add two custom MediaType to same method.
for adding this task we can use [Produces()] attribute, but if we want to have two GET method in same controller we get this error in swagger

Categories ASP.NET, Q&A Tags asp.net, swagger, swashbuckle, swashbuckle.aspnetcore Leave a comment

How to change base url of Swagger in ASP.NET core

August 31, 2022 by Magenaut

By default when you enable swagger in ASP.NET Core project it’s available on url:

Categories ASP.NET, Q&A Tags asp.net, asp.net-core, c#, swagger Leave a comment

Replace Swashbuckle UI completely

August 29, 2022 by Magenaut

Right now I’m developing an ASP.Net Web API and using Swashbuckle for its documentation.
I know that Swashbuckle use Swagger-UI internally, I know that we can modify the layout by injecting our css or javascript file, even change the layout of index.html.

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api, swagger, swashbuckle Leave a comment
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress