swagger-2.0 Questions
2
I need to create swagger codegen client for java, javascript pointing to swagger yaml pusblished on https.
When tried below command got SSLHandshakeError.
"swagger-codegen generate -i https://loc...
Argil asked 25/8, 2016 at 3:40
2
Solved
I upgrade my netcore 2.1 project to 2.2 and i have a problem with my swagger page.
Previously in swagger bad response it only show "Bad Request" without the model.
But after i upgraded to net cor...
Triode asked 28/5, 2019 at 11:56
3
I have an REST API project build with Spring Boot and i want to document all my Endpoints. I have implemented swagger to do it and was successfully, but recently my project doesn't run anymore, the...
Cabral asked 8/9, 2021 at 18:49
2
I'm using Docket to configure my Swagger 2 instance.
But the only Options I currently see are to sort by Type (POST, GET, etc.) or by endpoint name (a-z).
There is a logical order to my endpoints ...
Poachy asked 16/8, 2019 at 16:51
2
Solved
I am using Swagger-UI with Swashbuckle v5.6 to document an Auth0 (OAuth2) secured .NET Web API.
I've been trying to configure Swagger to obtain a token in the UI from Auth0 service. So far I've ma...
Hortensiahorter asked 18/1, 2019 at 13:13
2
Solved
I'm a little confused how to model a file download with Swagger/OpenAPI v2. Take this small example:
/files/{name}.zip:
get:
summary: Returns the requested ZIP file as "file download" i.e. with ...
Telespectroscope asked 27/9, 2018 at 14:1
3
Solved
In my spring-boot application, I use swagger2 to document the web-services.
I use some classes that have java.sql.Time and java.util.Date attributes.
In swagger-ui, they appears like this :
Dat...
Cognizable asked 21/10, 2015 at 16:6
6
Can someone tell me why am i getting these errors.
GET http://127.0.0.1:9000/api-docs/service.json
200 OK 4ms swagger-ui.js (line 30261)
Unable to Load SwaggerUI /api-docs/ (line 83)
Cross-Or...
Internal asked 9/9, 2015 at 13:29
6
Solved
I have a Spring Boot project with next dependency of Springfox:
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<versio...
Drainpipe asked 5/3, 2019 at 19:42
3
Solved
So I'm no swagger expert, but all systems using swagger require you to have the swagger specification in JSON or YAML defining all endpoints (and such) of your API.
My question is: Are there know ...
Papa asked 21/9, 2017 at 11:41
2
In the REST world, we have something like a Swagger Specification, which fully describes the contract over a REST interface boundary (between client and server). Those Swagger specifications ...
Clipclop asked 15/6, 2016 at 12:55
6
Solved
I have followed a few tutorials and have gotten this to work at work but for some reason I am not able to get the UI to display but the Swagger Json is created. Last tutorial I looked at is here.
...
Apologete asked 23/8, 2017 at 23:15
11
I want to upgrade spring boot v2.1.9 to 2.2.0. But after the upgrade I am getting some exceptions, which says spring fox is using an older version of spring-plugin-core.
Is there any alternate so...
Wende asked 30/10, 2019 at 13:21
6
I have a spring boot application that i am running using embedded tomcat server. I am partially successful in getting springfox-swagger integrated with the app. If i do a /v2/api-docs , i am able t...
Empennage asked 25/8, 2015 at 1:35
3
Solved
I am having a problem in defining the array of objects in swagger yaml. Swagger editor is giving an error everytime I try to define the type: array part of the yaml. I defined it, but it is not rig...
Concave asked 12/3, 2016 at 8:5
2
For example there are two classes with same name Group in different packages.
But when referring to models in swagger ui only one model is being shown and even the response mapping is not proper, s...
Poisonous asked 14/12, 2020 at 5:38
7
In Swagger, the @Api annotation's description element is deprecated.
Deprecated.
Not used in 1.5.X, kept for legacy support.
Is there a newer way of providing the description?
Scapula asked 28/6, 2016 at 11:25
2
As per swagger documentation,
Swagger-UI accepts configuration parameters in four locations.
From lowest to highest precedence:
The swagger-config.yaml in the project root directory, if ...
Dania asked 21/11, 2018 at 14:57
2
Solved
I have a get call in my swagger REST API that needs to return a pdf file. There is no clear example / documentation on how to do this without causing a syntax error.
responses:
200:
description...
Losing asked 24/8, 2015 at 16:23
2
Solved
I am defining an API specification in SwaggerHub using OpenAPI 2.0. The /contacts request returns an array of contacts. The definition is below:
/contacts:
get:
tags:
- contacts
summary: Get ...
Jazzman asked 12/9, 2017 at 4:33
2
current version jackson-databind-2.9.10.1.jar
need to upgrade jackson-databind-2.11.1.jar
I could not find ToStringSerializerBase class in new version of jackson updated jar
org.springframework.b...
Ewe asked 9/7, 2020 at 2:27
1
Is that possible to filter (hide) specific fields for different requests using Spring Boot and Springfox Swagger 2.9.2?
I got model "Genres":
{
"id": 0,
"type": "string"
}
And another one "Bo...
Node asked 29/5, 2020 at 8:41
2
Solved
I have an API which allows any arbitrary path to be passed in, for example all of these:
/api/tags
/api/tags/foo
/api/tags/foo/bar/baz
Are valid paths. I tried to describe it as follows:
/tag...
Immobile asked 20/2, 2017 at 1:39
3
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.SwaggerConfiguration
Auth Config is in ...
Jit asked 23/5, 2019 at 17:22
1
I am trying to get swagger working to document my API created using RestEasy.
I've followed the documentation available here, as closely as I can.
I have:
Added swagger to the pom.xml.
<...
Dispense asked 15/12, 2015 at 17:23
© 2022 - 2024 — McMap. All rights reserved.