swagger-ui Questions
4
Solved
Is there a way to specify example requests for swagger? Maybe even multiple ones?
The Try it out button shows only generic values like:
{
"firstName": "string",
"lastName": "string"
}
for
p...
Lawrence asked 26/7, 2019 at 8:25
11
I'm having trouble getting this to work. I've started with a working SpringBoot (v2.2.2) app with a working @RestController. To get springdoc to work I've included the following dependency in my po...
Farseeing asked 26/1, 2020 at 19:19
3
Is there a good way to add the Swagger UI to an Angular app without getting too much in the weeds?
I'd like to add a reference to an API which is hosted on a different site, so all I need is the U...
Orran asked 3/7, 2017 at 21:22
14
I am trying to setup swagger on top of my node application using the swagger npm package. I have my end points and swagger setup perfect(atleast almost perfect), I did do quiet a lot of research on...
Grindle asked 26/6, 2019 at 21:51
3
I have three path variables for an API. I want to mask one input on Swagger UI with *****.
How can I do this when using Springdoc OpenAPI?
Otha asked 5/10, 2020 at 4:34
3
Solved
I saw in the swagger ui documentation that you can provide a urls parameter which is:
An array of API definition objects ({url: "", name: ""}) used by Topbar plugin. When used ...
Karakul asked 29/6, 2017 at 4:52
3
I have an entire API deployed and accessible with Swagger UI. It uses Basic Auth over HTTPS, and one can easily hit the Authorize button and enter credentials and things work great with the nice Tr...
Woden asked 19/7, 2017 at 20:1
4
Solved
I have swagger 2.8.0 and My POJO class is as follows,
public class Item {
@JsonFormat(pattern="yyyy-MM-dd")
private LocalDate date;
@JsonFormat(pattern="HH:mm")
private LocalTime time;
// ...
Thames asked 6/6, 2019 at 5:16
7
Solved
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 swagger-ui page. These are named as th...
Kessinger asked 6/5, 2016 at 15:29
3
Solved
I have a Django project and I am using Django REST framework. I am using drf-spectacular
for OpenAPI representation, but I think my problem is not tied to this package, it's seems a more generic Op...
Transgression asked 10/7, 2020 at 8:25
3
I am working on a nestjs project, I've added swagger to display my endpoints, It's working great in dev mode, but once deployed in production using https://zeit.co/ (now), the endpoints page is not...
Crosslet asked 5/2, 2020 at 18:55
5
I'm using Swashbuckle to generate Swagger UI. It has options for choosing a grouping key (controller by default) and the ordering of the groups, but I would like to choose an order for the operatio...
Peabody asked 21/9, 2017 at 8:31
4
Solved
I am adding swagger UI to my Spring boot application. When I try to access the swagger-ui.html. I get the 404 error.
Config class :
@Configuration
public class SwaggerConfig {
@Bean
public OpenA...
Richella asked 12/12, 2022 at 20:20
6
I'm trying to run my Spring boot application which is based on version 3.0 with swagger UI and I'm getting a lot of exceptions I have explored many sources like youtube and documentation but I'm un...
Sherrillsherrington asked 21/12, 2022 at 12:26
5
I have a .NET 5 API using OpenApi.
Is it possible to hide all API endpoints in swagger but the login one until user is authorized with a JWT Bearer Token?
This is the code I use in startup.cs
servi...
Charleton asked 25/1, 2021 at 10:20
20
Solved
Why does springfox-swagger2 UI tell me Unable to infer base url. As far as I know, I am using a typical Swagger spring-boot configuration.
As you can see in the screenshot, the swagger-fox url ba...
Lyn asked 22/11, 2017 at 0:38
9
I am trying to use Swagger with Web API. I am just using the "Azure API App" template from the ASP.NET 4.6 templates installed with Visual Studio, which includes the Swashbuckle.Core and the Swagge...
Argo asked 23/1, 2016 at 23:10
3
I just started working on Swagger 2.0 API recently. I am looking for some ways to organize the API documentation.
Currently I'm using the @Api(tags = {"Heading1"}) Java annotation to tag ...
Bohn asked 23/1, 2017 at 6:22
1
I'm using Swagger as documentation of my API so that others can use this to build other services reliant on this. I would like to still show the endpoints that are not implemented yet on the UI so ...
Moujik asked 10/12, 2018 at 12:23
14
Solved
I'm trying to add swagger-ui (OpenAPI 3.0) to a Spring Boot v3 application.
I've added the openapi-ui maven dependency, and it should work as per the documentation.
<dependency>
<groupId&...
Almeria asked 6/12, 2022 at 11:29
2
Solved
I've been trying to integrate swagger with spring boot. I used spring boot version 3.0.4 with springfox 3.0
Here's my pom.xml file springfox dependency and parent
<parent>
<groupId>org...
Administration asked 5/3, 2023 at 11:1
2
Solved
I have the following OpenAPI definition:
swagger: "2.0"
info:
version: 1.0.0
title: Simple API
description: A simple API to learn how to write OpenAPI Specification
schemes:
- https
host: no...
Ventricle asked 18/7, 2018 at 16:57
4
We have built APIs based on Azure function and all of the APIs are python based. I know that APIM provides a nice way of importing Azure function and creating and managing APIs. However, i am looki...
Gyre asked 27/1, 2021 at 8:38
1
Seems .NET suffers the same problem with long.MinValue and long.MaxValue as Java
described in this post: Why java LONG_MAX is not same with vue axios data?? How to fix that?
Both samples use System...
Consubstantiate asked 2/1 at 13:26
4
I'm using Swagger API documentation for my rest services. I have successfully integrated Swagger with my code and it works.
But I have a requirement to format the Swagger UI. Since the number of r...
Castor asked 25/2, 2014 at 8:27
© 2022 - 2024 — McMap. All rights reserved.