About 4,070,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. 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 …

  4. 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 …

  5. 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.

  6. c# - Swagger not loading - Failed to load API definition: Fetch …

    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 …

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

  8. 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, …

  9. mocking - Swagger/OpenAPI mock server - Stack Overflow

    Feb 12, 2020 · There is a sample swagger spec in this so the Editor, UI and the mock API server will run without any configuration from the start. All you need to do is edit the swagger spec, …

  10. 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 ...