Top "Swagger-2.0" questions

Swagger is a specification and framework implementation for describing, producing, consuming, and visualizing RESTful web services.

How to change basePath for Springfox Swagger 2.0

I'm running a service, where Swagger UI is accessible at: http://serviceURL/swagger-ui.html However, it is behind a proxy, …

java spring-boot swagger-ui swagger-2.0 springfox
Swagger: Reusing an enum definition as query parameter

I would like to use an enum defined in definitions as part of my parameter definitions in a query string. …

swagger swagger-2.0
Following swagger specifications, how can I define json of nested objects to yaml?

I am having a problem in defining the array of objects in swagger yaml. Swagger editor is giving an error …

json swagger swagger-ui swagger-2.0 swagger-editor
How to document OData endpoints (swagger, swashbuckle, other)?

What is the best way of documenting OData endpoints? Is there a way to use Swashbuckle for it?

odata swagger swagger-ui swagger-2.0 swashbuckle
How to define Swagger 2.0 JSON to populate default body parameter object in Swagger UI?

Our current deployment patterns require me to manually write my swagger json output that will be consumed by the Swagger-based …

swagger swagger-ui swagger-2.0 swagger-editor
JSON API examples in Swagger 2.0

I'm trying to create example responses for an endpoint with Swagger 2.0. 200: description: Successful response schema: type: object $ref: "#/definitions/User" …

swagger json-api swagger-2.0
How to return an array of objects in SwaggerHub?

I am defining an API specification in SwaggerHub using OpenAPI 2.0. The /contacts request returns an array of contacts. The definition …

swagger openapi swagger-2.0
configure swagger-ui with maven

I am integrating my JAX-RS REST project with Swagger. I read many documentation and tutorials and my favourite figure is …

java jax-rs swagger swagger-ui swagger-2.0
How can I tell Swashbuckle that the body content is required?

I have a WebAPI controller that accepts binary packages and stores them somewhere. As these packages can become quite large, …

asp.net-web-api httprequest swagger-2.0 swashbuckle