About 6,960,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. Unable to launch swagger on browser because of OpenApi issue

    Apr 26, 2025 · When I launched my ASP.NET Core 8.0 Web API application on the browser, I got this error: Unable to render this definition The provided definition does not specify a valid version field. …

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

    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 the …

  4. c# - Swagger not loading - Failed to load API definition: Fetch error ...

    Jul 2, 2019 · Trying to setup swagger in conjunction with a web application hosted on IIS express. API is built using ASP Net Core. I have followed the instructions prescribed on the relevant microsoft help …

  5. How to generate JSON-Schema from Swagger API Declaration

    I have Swagger API Declaration for services using Swagger v 1.2. My original feeling about Swagger was that it is very close to JSON Schema (Draft 3 and lately Draft 4) and it shall be relatively e...

  6. Validating JSON against Swagger API schema - Stack Overflow

    Sep 1, 2016 · 81 I created an API spec from some JSON files and I am trying to test if the files validate against the API spec. There are some good tools to validate against JSON Schema, but I did not …

  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. How to use 'Authorization: Bearer <token>' in a Swagger Spec

    Maybe this can help: swagger: '2.0' info: version: 1.0.0 title: Bearer auth example description: > An example for how to use Bearer Auth with OpenAPI / Swagger 2.0. host: basic-auth …

  9. Multi-level (nested) tagging in Swagger UI - Stack Overflow

    I just started working on Swagger 2.0 API recently. I am looking for some ways to organize the API documentation. Currently I'm using the @Api (tags = {"Heading1"}) Java annotation to tag ...

  10. Swashbuckle/Swagger + ASP.Net Core: "Failed to load API definition"

    May 7, 2018 · I develop an ASP.NET Core 2 application and included Swagger. Everything worked fine until I introduced a method without explicitly defining the HTTP action: public class ErrorController : …