---
title: "Discussion on \"Replacing fastapi's default api docs with elements\" | Hashnode"
description: "Discussion on \"Replacing fastapi's default api docs with elements\". By default, fastapi comes with swagger for API testing and redoc for API documentation. Let's replace them with elements, a pretty API documentation tool.\nTurn off the defaults\nTurn off the default documentation by setting it to None\napp = FastAPI(\n ..."
url: "https://hashnode.com/posts/fastapi-elements/64fad70e94807b1552cb4329"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Replacing fastapi's default api docs with elements](https://exp.amal.sh/fastapi-elements?utm_source=hashnode&utm_medium=feed)

By default, fastapi comes with swagger for API testing and redoc for API documentation. Let's replace them with elements, a pretty API documentation tool. Turn off the defaults Turn off the default documentation by setting it to None app = FastAPI( ...

Sep 8, 2023 · 1 min read · exp.amal.sh  
Updated Sep 18, 2023  
Read the article

-   [#fastapi](https://hashnode.com/tag/fastapi)
-   [#swagger](https://hashnode.com/tag/swagger)
-   [#openapi](https://hashnode.com/tag/openapi)

## Written by

[Amal Shaji](https://hashnode.com/@amal)

@amal · India

  
[View profile](https://hashnode.com/@amal)

web + devtools = ❤️‍🔥

Software Engineer. Exploring AI and dev tools. Python, Rust, Go, Typescript, Svelte

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
