Top "Swagger" questions

Swagger is a framework implementation for describing, producing, consuming, and visualizing RESTful web services, based on the OpenAPI specification

No mapping found for swagger-resources/configuration/ui

I am trying to configure swagger ui in non spring boot app. I have done following things. 1. Added Following dependencies &…

java spring documentation swagger springfox
How to specify a generic type class for Swagger API response

I have about 40 APIs that have similar base response structure as follows: { "lastAccessed": "2015-30-08:14:21:45T", "createdOn": "2015-30-07:09:04:10T", "…

java generics swagger httpresponse
nullable fields in swagger on node.js

I've spent a bunch of time trying to find a solution for creating swagger docs in Node.JS. The main …

node.js swagger swagger-ui swagger-editor
How to run swagger-codegen for OpenAPI 3.0.0

looks like official swagger for openapi specification V3 support is near release https://blog.readme.io/an-example-filled-guide-to-swagger-3-2/, and the …

swagger swagger-codegen openapi
Defining enum for array in Swagger 2.0

type": "array", "items": { "type": "string", "enum": ["MALE","FEMALE","WORKER"] } or type": "array", "items": { "type": "string", }, "enum": ["MALE","FEMALE","WORKER"] ? Nothing …

swagger swagger-2.0
How to specify examples for GET parameters in Swagger?

I'm using the online Swagger Editor to create a Swagger spec for my API. My API has a single GET …

swagger swagger-2.0 swagger-editor openapi
Adding Query String Params to my Swagger Specs

I am using Swashbuckle (swagger for C#) with my Web API. I have several GET End-Points that return lists and …

c# swagger swashbuckle
Swagger HashMap property type

Is there any way to define a HashMap or Generic Object type in the models section? I have a REST …

dictionary swagger openapi
Swagger 2.0 duplicated mapping key parser error

I have a swagger file for an API that is going to reside inside IBM API Connect. I typed it …

parsing yaml swagger apiconnect
How to specify a property can be null or a reference with swagger

How to specify a property as null or a reference? discusses how to specify a property as null or a …

swagger openapi swagger-2.0