# Swagger

[Swagger](https://swagger.io/tools/open-source/) from SmartBear Software is an open-source framework that provides a comprehensive set of rules, specifications, and tools for developing, documenting, and describing RESTful APIs. It has become one of the most widely adopted standards for API documentation due to its ability to create interactive, machine-readable, and human-readable API definitions. Swagger simplifies the process of designing APIs by providing a standard way to describe endpoints, operations, parameters, request/response models, and authentication methods.

The Swagger framework includes a variety of tools that enhance API development and documentation, such as **Swagger Editor** for writing and editing OpenAPI Specifications, **Swagger UI** for creating interactive documentation, and **Swagger Codegen** for generating client libraries, server stubs, and API documentation in multiple programming languages. These tools make it easier for developers to create, visualize, and share API documentation that is both accurate and accessible.

Swagger’s compatibility with the OpenAPI Specification (OAS) means that it can be used to document APIs in a way that is both standardized and widely recognized across the industry. This not only facilitates better communication between API developers and consumers but also ensures that APIs are easy to integrate and maintain.

As part of its [API Catalog](https://docs.pynt.io/documentation/api-catalog) Pynt allows seamless [integration](https://docs.pynt.io/documentation/applications-view/manage-sources-for-api-discovery) with Swagger for API documentation.\
\
By integrating Pynt with Swagger, you can enhance the discovery and security of your APIs. Pynt automatically discovers APIs defined in your Swagger documentation, providing real-time risk assessments and insights.

<figure><img src="https://3462681674-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZKwBF6q0tAGXlIih38HL%2Fuploads%2FZXXcvdx96ilvC7ZgqMfT%2FSwagger-logo.png?alt=media&#x26;token=48a3cc7f-8172-453c-a3fa-74db1b859b2b" alt=""><figcaption><p>Swagger</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pynt.io/documentation/applications-view/manage-sources-for-api-discovery/source-categories/api-documentation/swagger.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
