Most voted "swagger" questions
Swagger is a specification and framework implementation to describe, produce, consume, and view Restful web services.
Learn more…25 questions
Sort by count of
-
1
votes0
answers100
viewsKeep Swagger documentation updated
I am documenting an API with Swagger. I am not using annotations and the documentation is recorded in a JSON file. The problem is that API is constantly changing and with each change you need to…
-
1
votes1
answer383
viewsPublishing on Azure - Filenotfoundexception: Could not find file’D: home site wwwroot myapp.xml'
I am trying to publish an ASP.NET Core Web Api application for an Azure App Api feature. This error started to appear after I marked "Remove Additional files at Destination": And after that, I…
-
1
votes0
answers17
viewsSwagger 3.x works with . Net 4.7?
I am trying to create examples of Response and Input by Swagger but I am not succeeding. So far, the most I could was creating the MOCK request entry, the output ones I’m not getting. Follows code:…
-
1
votes0
answers249
viewsExample Configuration in Swagger Secutiry with Spring Boot
I am making a documented API in Swagger, when I enter the url of my api, it appears to make an authentication, because it has a Websecurityconfig class that does this for me, but I wanted to make an…
-
1
votes1
answer281
viewsSwagger Json in Postman does not put the API URL
I am using the Swagger library on . NET CORE in a Web API to generate the documentation, below is my startup.Cs: public class Startup { public Startup(IConfiguration configuration) { Configuration =…
-
1
votes1
answer37
viewsAPI request at Angular
Next, I’m not getting a request for an api, a get. Follow the api’s code and answer. User model.: export interface ResponseUsers { data:User; } export interface User { id: number; nome: string;…
-
1
votes0
answers40
viewsSwagger does not display methods containing array parameters
I created a WebApiwith basic methods intended to use the Swagger. I noticed that methods that have simple parameters like the one illustrated in the code below are displayed by Swagger but methods…
-
0
votes1
answer23
viewsIs Jersey2 different from Jersey v2.x?
I am trying to implement Swagger in Jersey and there is the implementation for both Jerseys. Want to know if Jersey2 is different from Jersey v2.x? or is the same.
-
0
votes1
answer94
viewsHow to bring Swagger UI’s Closed Ollapse
I installed Swagger for software documentation but would like to change the preview of my template. I managed to close Collapse when loading the page forcing a javascript when starting, but it got a…
-
0
votes1
answer867
viewsConfigure Spring Boot with Swagger to generate documentation from a json
Good morning, everyone. I’m documenting a project’s Apis using Swagger2. In this documentation instead of using annotations a json file is used. I wonder if it is possible to create a Spring Boot…
-
0
votes2
answers203
viewsSwagger2 with Springboot. How to separate documentation from source code?
Good afternoon, you guys. I’m documenting the Apis of a Spring Boot project using Swagger2. There are two ways to document: using a text file (JSON or YML) or using annotations. The problem of using…
-
0
votes0
answers105
viewsError deploying application with Swagger and spring in Weblogic
When deploying my application using spring with swagger2 I have the following error: Message icon - Error An error occurred During Activation of changes, Please see the log for Details. Message icon…
-
0
votes1
answer376
viewsHow to configure a custom Swagger json file in Spring boot?
I’m trying to set up a json file in Swagger by spring boot, but the times I try it says it couldn’t find that file, does anyone know what I’m missing? Follow below my codes: Photo of my project…
-
0
votes1
answer41
viewsDjango REST Swagger - Gera 2 GET methods
I am implementing a REST API with Django REST Swagger 2.2.0. For a given endpoint I have defined that the following methods are available: http_method_names = ['post', 'put', 'get'] However, in…
-
0
votes0
answers42
viewsHow to control the version of the Swagger documentation in . Netcore?
I am generating a Swagger documentation from an API on. Net Core, I would like to know if it is possible through separate notations in the documentation which are the Apis of my version 1 and…
-
0
votes0
answers111
viewsSwagger’s response body with the message "can’t parse JSON. Raw result:"
I came across an unusual situation in Swagger version 2.9.2. The flow that starts through the created endpoint works normally, but along with the body appears the following message can’t parse JSON.…
-
0
votes1
answer120
viewsOpen API 3.0 Swagger Hub
Good afternoon, I’m experiencing 2 Query strings in paths are not allowed errors in Swagger. Does anyone know any way to solve ? openapi: 3.0.0 servers: - url:…
-
0
votes1
answer249
viewsError while consuming Swagger api from the transparence portal
Using this code to consume the api is giving an error in cross-Omain $('#seguro').click(function(){ cpf = $('#cpf').val(); endapitrans =…
-
0
votes0
answers251
viewsNodejs, Express + Swagger
Hello, folks I was tasked with a mission to implement Swagger in an express application, with the purpose of generating Swagger.json for the AWS apigateway deploy. I have tried using swaggerJSDoc,…
-
0
votes1
answer69
viewsError when trying to implement Swagger in my API
Good evening, I am trying to implement Swagger in my api however it is presented the following error in my console (node:28024) UnhandledPromiseRejectionWarning: AssertionError [ERR_ASSERTION]:…
-
0
votes0
answers75
viewsError when implementing Swagger
I am trying to implement Swagger in my application but I got the error by uploading the application I did it by following the microsoft documentation, but, I did not succeed. It seems a very generic…
-
0
votes0
answers33
viewsAutomatic filling of the seat
Hello, I have a java project and I’m having a hard time. The project is based on creating the functionalities of a bank, I have done everything of the accounts and customers. I already created the…
-
0
votes1
answer12
viewsaquivo . conf do Swagger error:Ismatched Ccharacter expecting Eclipse
My Eclipse shows me that the Cors.conf and Nginx.conf files are in error. When analyzing it points out the following problems. In Cors.conf: add_header 'Access-Control-Allow-Origin' '*' always;…
-
0
votes0
answers59
viewsDocumentation with Swagger
Hello, everyone. I’m having trouble analyzing my documentation with Swagger. It just doesn’t show up anything but some HTML elements on my page localhost:8080/swagger-ui.html, how the image shows:…
-
0
votes0
answers45
viewsSwagger returns error when climbing the API
I’m catching this mistake: Fetch errorundefined https://localhost:44358/Swagger/v2/Swagger.json When I only had one controller, Swagger would go up normally and I could do my tests and so on. Now,…