Category "swagger-ui"

Unable to infer base url... springfox-swagger2 version 2.9.2

Version of springfox-swagger that I am using [ ![Download] 1]2 What kind of issue is this? Project structure: SwaggerConfig is in automate.api.config.swagger.Sw

swagger-ui No mapping found for HTTP request

I'm trying to document and existing Rest API a Spring MVC project (NOT spring boot!). My application is called api so http://localhost:9090/api would be the r

enum of objects in swagger UI?

I have an enum of other definitions in my Swagger spec: "action": { "title": "Action", "description": "Action to apply to matching requests", "type": "ob

How to use swagger_auto_schema in a class based view with no serializer_class and how to add custom authentication permission to it?

I have a class based view as: class ClassBasedView(GenericAPIView): @swagger_auto_schema(responses={201: 'Created'}) @authorize(myCustomPermission)

Is there a way change the Controller's name in the swagger-ui page?

I'm using Swashbuckle to enable the use of swagger and swagger-ui in my WebApi project. In the following image you can see two of my controllers shown in the s

Swagger UI Web Api documentation Present enums as strings?

Is there a way to display all enums as their string value in swagger instead of their int value? I want to be able to submit POST actions and put enums accord

Swagger UI not working on websphere liberty with spring boot and https

Recently we migrated from websphere traditional to websphere liberty and since then we are not able to access swagger-ui from the browser. We are using a spring

Enabling authentication in swagger

I created a asp.net core empty project running on .net6. I am coming across an issue when I am trying to enable authentication in swagger. Swagger UI runs as ex

Swashbuckle and Web Api method with ModelBinder

I have a C# WebAPI project with a method that uses a custom ModelBinder for its input parameter. When I look at the Swagger UI that Swashbuckle generates, rathe

Authorization Header not getting displayed in CURL springdoc-openapi-ui

I am using the springdoc-openapi-ui. I have configured the global headers named Authorization. When I execute the API Authorization is not showing in the CURL o

How to generate endpoints for micronaut via OpenApi Generator?

Is there a way in micronaut to generate endpoints in a way like we do it in spring-boot via spec.yaml file? our code represented an endpoint @Override public Re