About 3,670,000 results
Open links in new tab
  1. How to export swagger.json (or yaml) - Stack Overflow

    Then refresh the page and search for the API definition file (swagger.json, swagger.yaml, api-docs or similar) among HTTP requests. You can filter by XHR to narrow down the list.

  2. c# - How to omit methods from Swagger documentation on …

    Apr 17, 2015 · 310 I have a C# ASP.NET WebAPI application with API documentation being automatically generated using Swashbuckle. I want to be able to omit certain methods from …

  3. Is there a way change the Controller's name in the swagger-ui page?

    May 6, 2016 · I'm using Swashbuckle to enable the use of swagger and swagger-ui in my WebApi project. In the following image you can see two of my controllers shown in the swagger-ui …

  4. How to send custom headers with requests in Swagger UI?

    167 I have some endpoints in the API - /user/login, /products. In Swagger UI I post email and password to /user/login and as a response I receive a token string. Then, I can copy the token …

  5. Adding Basic Authorization for Swagger-UI - Stack Overflow

    Jun 25, 2015 · Learn how to implement basic authorization in Swagger-UI for securing your API documentation effectively.

  6. How to import Swagger APIs into Postman? - Stack Overflow

    Mar 28, 2020 · Recently I wrote restful APIs with SpringMvc and swagger-ui(v2). I noticed the Import function in Postman: So my question is how to create the file which Postman needed? I …

  7. How to post files in Swagger (OpenAPI)? - Stack Overflow

    Apr 15, 2019 · In Swagger 2.0 (OpenAPI Specification 2.0), use a form parameter (in: formData) with the type set to file. Additionally, the operation's consumes must be multipart/form-data.

  8. Swagger UI Web Api documentation Present enums as strings?

    Apr 7, 2016 · Swagger will show enum names, and will pass the string value into the API, and luckily ASP.NET Core can handle enum values as ints and also as strings, where the string …

  9. How to use 'Authorization: Bearer <token>' in a Swagger Spec

    Adding the Authorization header programmatically (Swagger UI 3.x+) If you use Swagger UI and, for some reason, need to add the Authorization header programmatically instead of having the …

  10. How to configure Spring Security to allow Swagger URL to be …

    Jun 7, 2016 · Learn how to configure Spring Security to allow access to Swagger URLs without requiring authentication.