Top "Swagger-ui" questions

Swagger UI is a collection of HTML, CSS and JavaScript objects that dynamically generate documentation from a Swagger-compliant API

What is Swagger, Swashbuckle and Swashbuckle UI

This is my understanding: Swagger is a notation/rules to write documentation. But why is it called a framework (like …

swagger swagger-ui swashbuckle openapi.net
Grouping of API methods in documentation - is there some custom attribute

I have controller like public class UserController : ApiController { [Route("api/user")] IHttpActionResult GetUser() { ... } } public class ResumeController : ApiController { [Route("api/user/…

c# asp.net-web-api swagger-ui swashbuckle
How to reference array item examples in OpenAPI 3?

Using this schema definition: schemas: AllContacts: type: array items: $ref: '#/definitions/ContactModel1' example: - id: 1 firstName: Sherlock lastName: …

swagger-ui openapi
How can I setup SwashBuckle.AspNetCore.Swagger to use Authorization?

I have documented my api using Swashbuckle.AspNetCore.Swagger and I want to test some resources that have Authorize attribute …

c# asp.net-core swagger swagger-ui identityserver4
How to change Swagger-UI "Default" Path

I have tried changing the basePath in my json file, which only seems to change the bottom "baseurl" of swagger-UI. …

swagger swagger-ui
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
Modifications to Swagger UI header

I have created a personal WEB API using Swashbuckle and Swagger API. While I am able to integrate this successfully, …

asp.net-web-api swagger-ui swashbuckle
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 empty array in swagger

I know how to make array of string data in swagger like this: "photoUrls" : { "type":"array", "items":{ "type":"string" } } It …

swagger swagger-ui
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