Top "Swagger" questions

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

Swagger/OpenAPI mock server

I have an API reference in a Swagger file. I want to create a very simple mock server, so that …

mocking swagger swagger-2.0 openapi
How can I set a description and an example in Swagger with Swagger annotations?

I am creating a REST Api using Spring boot, and auto generating the swagger documentation in controllers using swagger codegen. …

java spring swagger swagger-codegen
How do you create a swagger schema that includes an array of varying types

I'm attempting to define a swagger schema definition for an object that contains an array of objects of varying types. …

arrays json yaml swagger
Swagger UI - " TypeError: Failed to fetch" on valid response

I've just pulled down the latest Swagger from the Git repo (3.0.19) using: https://github.com/swagger-api/swagger-ui.git and updated …

swagger swagger-ui swagger-2.0
How to configure Swashbuckle to ignore property on model

I'm using Swashbuckle to generate swagger documentation\UI for a webapi2 project. Our models are shared with some legacy interfaces …

c# asp.net-web-api swagger swashbuckle
How to format Swagger 2.0 text descriptions?

I would like to format my Swagger API descriptions so that they are not simple paragraphs of text. Preferably, I'd …

rest markdown swagger swagger-2.0 swagger-editor
Web Api How to add a Header parameter for all API in Swagger

I searched for possible ways to add a request header parameter that would be added automatically to every method in …

c# asp.net-web-api swagger swagger-ui
Swagger:Issue with Path parameter

I am try to create a swagger file with the following path: paths: /v1/customers/{id}/summary : However I get …

apigee swagger
Why there are no themes for swagger-ui?

I like swagger for documenting Restful APIs very much, especially "Try it out!" button, but swagger-ui interface doesn't look very …

themes swagger swagger-ui
Specify an array of strings as body parameter in swagger API

I would like to post an array of strings like [ "id1", "id2" ] to a Swagger based API. In my swagger …

rest swagger swagger-2.0