About 16,700,000 results
Open links in new tab
  1. How to display SwaggerResponse in XML instead of JSON

    Oct 23, 2018 · I want to display a response in Swagger UI in XML format instead of JSON. How I can achieve this? This is the code I want to adapt: …

  2. How to show responses example in swagger documenation

    Sep 16, 2019 · ProducesResponseTypeAttribute (Type, Int32) - Is used for API documentation when you want to have more detailed granularity over all the different types returned, …

  3. I am having difficulty specifying an XML example for a response

    Mar 1, 2019 · How do I specify an example of XML for a parameter or response in the OpenAPI 3 spec? I have looked through the documentation and it seems to be targest mostly at JSON. …

  4. Add Swagger request and response examples in XML

    Jun 11, 2019 · Let me show you how to set that up (in .NET Core). Firstly, you need to enable XML in your requests and responses. Now you’ll need to consume version 5.0.0-beta or later …

  5. Representing XML | Swagger Docs

    The OpenAPI 3 format offers a special xml object to help you fine-tune representation of XML data. You can use this object to transform some properties to attributes rather than elements, …

  6. Describing Responses | Swagger Docs

    An API specification needs to specify the responses for all API operations. Each operation must have at least one response defined, usually a successful response. A response is defined by …

  7. Using XML Comments As Web API Documentation With Swagger

    In this article, I explained about various ways of adding XML comment and generate Web API documentation from the XML comment. This article also shows how to integrate …

  8. ASP.NET Core web API documentation with Swagger / OpenAPI

    Aug 26, 2024 · Swagger is tooling that uses the OpenAPI specification. For example, OpenAPIGenerator and SwaggerUI. The OpenAPI specification is a document that describes …

    Missing:

    • Data

    Must include:

  9. Generating Swagger example responses with Swashbuckle

    Apr 21, 2015 · Swashbuckle is a tool for generating Swagger, the API description language, from your ASP.NET Web Api solution. In this post I am going to show you how to document the …

  10. Adding Examples | Swagger Docs

    You can add examples to parameters, properties and objects to make OpenAPI specification of your web service clearer. Examples can be read by tools and libraries that process your API in …

  11. Some results have been removed
Refresh