Questions tagged as 'swagger'

1
answer

Publishing in Azure - FileNotFoundException: Could not find file 'D: \ home \ site \ wwwroot \ myapp.xml'

I'm trying to publish an ASP.NET Core Web Api application to an Azure Api App feature. This error started appearing after I checked the "Remove additional files at destination" option: Andafterthat,Istartedgettingtheerrorandcouldnotgetitt...
asked by 31.07.2017 / 19:24
0
answers

Does Swagger 3.x work with .net 4.7?

I'm trying to create Swagger Answer and Entry examples but I'm not succeeding. So far, the most I've been able to do is to create the MOCK of the request input, the output I'm not getting. Follow the code below: [SwaggerRequestExample(ty...
asked by 18.07.2018 / 23:01
0
answers

Keep updated Swagger documentation

I am documenting an API with Swagger. I am not using annotations and the documentation is written to a JSON file. The problem is that API is constantly changing and every change you need to compare the file with the Java source code. I wou...
asked by 22.06.2017 / 17:25
0
answers

Enabling in Swagger operations already Authenticated (Net.Framework, not Asp.Net.Core)

I have a project in WebAPI in Net Framework Full (it is not ASPNET Core ), with Swagger already configured and I have already read numerous tutorials on the Internet, but nothing I did worked out. What I need is that...
asked by 10.12.2018 / 13:35
0
answers

Data Persistence with Swagger

I need to use Swagger to send and receive JSONs. In addition, the API must do persistence and selection of data in a PostgreSQL database. I have already completed, in javascript the AJAX methods for sending and receiving JSONs, and the database...
asked by 25.07.2018 / 03:59
0
answers

Automatic API Integration

Based on what the postman does, what the codegen does, I believe it is possible, from an api specification, to perform an automatic integration of an X system with a Y system. Imagine a virtual store, which needs to calculate freight, tra...
asked by 13.07.2018 / 01:36
2
answers

Swagger2 with SpringBoot. How to separate documentation from source code?

Good afternoon, guys. I am 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 a text file is the difficulty in maintainin...
asked by 24.10.2017 / 19:52
1
answer

Configure Spring Boot with Swagger to generate documentation from a json

Good morning everyone. I'm documenting the APIs of a project using Swagger2. In this documentation, rather than using annotations, a json file is used. I would like to know if it is possible to create a Spring Boot project with Swagger 2,...
asked by 07.06.2017 / 13:18
1
answer

How to bring closed collapse of Swagger UI

I installed Swagger for documentation of a software but would like to change the view of my template. I was able to close the collapse when loading the page by forcing a javascript to start, but it got a small bug because I have to double-click...
asked by 25.04.2017 / 21:06
1
answer

Jersey2 is different from jersey v2.x?

I'm trying to implement Swagger in Jersey and there is implementation for both Jerseys. Want to know if Jersey2 is different from Jersey v2.x? or it's the same thing.     
asked by 14.09.2016 / 17:17