---
title: render_swagger
sidebarTitle: render_swagger
---

# `prefect.utilities.render_swagger`

## Functions

### `swagger_lib` <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/utilities/render_swagger.py#L56" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

```python
swagger_lib(config: MkDocsConfig) -> dict[str, Any]
```


Provides the actual swagger library used


## Classes

### `SwaggerPlugin` <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/utilities/render_swagger.py#L82" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

**Methods:**

#### `on_page_markdown` <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/utilities/render_swagger.py#L83" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

```python
on_page_markdown() -> Optional[str]
```
