Top "Swagger" questions

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

Generate Yaml or Json file from Swagger documentation

I have developpe some Rest web service documented by swagger, using swagger-springmvc annotions. Now, I want to use swagger-editor to …

json rest yaml swagger swagger-editor
Location of swagger.json when created with Swashbuckle

When I build and run my Azure Web API I get a nice swaggerUI. I want to add the API …

swagger swashbuckle azure-api-apps
How to define different responses for same HTTP status code in OpenAPI (Swagger)?

I'm writing an OpenAPI spec for an existing API. This API returns status 200 for both success and failure, but with …

swagger openapi
Correct the classpath of your application so that it contains a single, compatible version of org.springframework.plugin.core.PluginRegistry

i'm migrating a modular app into a microsevrices app using spring cloud, when i finished migrating a module into microservice …

spring swagger springfox
Keycloak integration in Swagger

I have a Keycloak protected backend that I would like to access via swagger-ui. Keycloak provides the oauth2 implicit and …

oauth swagger swagger-ui keycloak jboss-tools
How to define header parameters in OpenAPI 3.0?

In OpenAPI (Swagger) 2.0, we could define header parameters like so: paths: /post: post: parameters: - in: header name: X-username But …

swagger openapi
401 unauthorized page for swagger?

I am enable swagger2 by @EnableSwagger2. However, when I try to hit "/swagger-ui.html", it first hit my Authentication Filter. …

spring-boot swagger swagger-ui swagger-2.0
Swagger: How to have a property reference a model in OpenAPI 2.0 (i.e. nest the models)?

I'm having a hard time trying to figure out how I can nest models in OpenAPI 2.0. Currently I have: SomeModel: …

swagger openapi
Should you Combine Swagger with HATEOAS/HAL/JSON-LD?

I am using Swagger for my ASP.NET Core API using Swashbuckle which describes my API in a separate document …

json swagger hateoas json-ld swashbuckle
How to Export Swagger documentation in PDF and XML files

I have generated swagger document for web api using below link: http://wmpratt.com/swagger-and-asp-net-web-api-part-1/ Need to export document in …

pdf asp.net-web-api swagger swagger-ui chm