{"id":78,"date":"2025-02-09T19:18:59","date_gmt":"2025-02-09T22:18:59","guid":{"rendered":"https:\/\/caminhodev.com.br\/?page_id=78"},"modified":"2025-02-09T19:19:00","modified_gmt":"2025-02-09T22:19:00","slug":"fastapi","status":"publish","type":"page","link":"https:\/\/caminhodev.com.br\/?page_id=78","title":{"rendered":"FastAPI"},"content":{"rendered":"\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<div class=\"wp-block-group\" style=\"padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<div class=\"wp-block-query is-layout-flow wp-block-query-is-layout-flow\"><ul class=\"wp-block-post-template is-layout-flow wp-block-post-template-is-layout-flow\"><li class=\"wp-block-post post-47 post type-post status-publish format-standard has-post-thumbnail hentry category-fastapi category-python tag-apis tag-backend tag-desenvolvimentoweb tag-fastapi tag-fastapiframework tag-frameworkweb tag-highperformance tag-python tag-pythonweb tag-webdevelopment\">\n<h2 class=\"wp-block-post-title\"><a href=\"https:\/\/caminhodev.com.br\/?p=47\" target=\"_self\" >Como Configurar o Swagger no FastAPI para Documenta\u00e7\u00e3o de APIs<\/a><\/h2>\n\n<figure class=\"alignwide wp-block-post-featured-image\"><a href=\"https:\/\/caminhodev.com.br\/?p=47\" target=\"_self\"  ><img  title=\"\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/caminhodev.com.br\/wp-content\/uploads\/2025\/02\/DALL\u00b7E-2025-02-09-18.49.55-A-futuristic-and-clean-illustration-representing-API-documentation-with-Swagger-for-FastAPI.-The-image-should-feature-a-modern-high-tech-theme-with-b.webp\" class=\"attachment-post-thumbnail size-post-thumbnail wp-post-image\"  alt=\"DALL\u00b7E-2025-02-09-18.49.55-A-futuristic-and-clean-illustration-representing-API-documentation-with-Swagger-for-FastAPI.-The-image-should-feature-a-modern-high-tech-theme-with-b FastAPI\"  style=\"object-fit:cover;\" srcset=\"https:\/\/caminhodev.com.br\/wp-content\/uploads\/2025\/02\/DALL\u00b7E-2025-02-09-18.49.55-A-futuristic-and-clean-illustration-representing-API-documentation-with-Swagger-for-FastAPI.-The-image-should-feature-a-modern-high-tech-theme-with-b.webp 1024w, https:\/\/caminhodev.com.br\/wp-content\/uploads\/2025\/02\/DALL\u00b7E-2025-02-09-18.49.55-A-futuristic-and-clean-illustration-representing-API-documentation-with-Swagger-for-FastAPI.-The-image-should-feature-a-modern-high-tech-theme-with-b-300x300.webp 300w, https:\/\/caminhodev.com.br\/wp-content\/uploads\/2025\/02\/DALL\u00b7E-2025-02-09-18.49.55-A-futuristic-and-clean-illustration-representing-API-documentation-with-Swagger-for-FastAPI.-The-image-should-feature-a-modern-high-tech-theme-with-b-150x150.webp 150w, https:\/\/caminhodev.com.br\/wp-content\/uploads\/2025\/02\/DALL\u00b7E-2025-02-09-18.49.55-A-futuristic-and-clean-illustration-representing-API-documentation-with-Swagger-for-FastAPI.-The-image-should-feature-a-modern-high-tech-theme-with-b-768x768.webp 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n<div class=\"wp-block-post-excerpt\"><p class=\"wp-block-post-excerpt__excerpt\">O que \u00e9 Swagger e por que us\u00e1-lo? Swagger \u00e9 um conjunto de ferramentas que permite documentar, testar e visualizar APIs REST de forma interativa. Ele facilita a explora\u00e7\u00e3o dos endpoints sem a necessidade de clientes HTTP externos, como Postman. No FastAPI, o Swagger j\u00e1 vem embutido por padr\u00e3o, permitindo gerar uma documenta\u00e7\u00e3o detalhada automaticamente&hellip; <\/p><\/div>\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n<div class=\"wp-block-post-date\"><time datetime=\"2025-02-09T18:52:40-03:00\">9 de fevereiro de 2025<\/time><\/div>\n<\/li><li class=\"wp-block-post post-1 post type-post status-publish format-standard has-post-thumbnail hentry category-fastapi category-python tag-apis tag-backend tag-desenvolvimentoweb tag-fastapi tag-fastapiframework tag-frameworkweb tag-highperformance tag-python tag-pythonweb tag-webdevelopment\">\n<h2 class=\"wp-block-post-title\"><a href=\"https:\/\/caminhodev.com.br\/?p=1\" target=\"_self\" >Como Criar uma API REST em Python com FastAPI (Passo a Passo)<\/a><\/h2>\n\n<figure class=\"alignwide wp-block-post-featured-image\"><a href=\"https:\/\/caminhodev.com.br\/?p=1\" target=\"_self\"  ><img  title=\"\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/caminhodev.com.br\/wp-content\/uploads\/2025\/02\/DALL\u00b7E-2025-02-09-18.32.34-A-modern-and-sleek-illustration-representing-FastAPI-a-high-performance-Python-web-framework.-The-image-should-feature-a-futuristic-and-minimalistic-.webp\" class=\"attachment-post-thumbnail size-post-thumbnail wp-post-image\"  alt=\"DALL\u00b7E-2025-02-09-18.32.34-A-modern-and-sleek-illustration-representing-FastAPI-a-high-performance-Python-web-framework.-The-image-should-feature-a-futuristic-and-minimalistic- FastAPI\"  style=\"object-fit:cover;\" srcset=\"https:\/\/caminhodev.com.br\/wp-content\/uploads\/2025\/02\/DALL\u00b7E-2025-02-09-18.32.34-A-modern-and-sleek-illustration-representing-FastAPI-a-high-performance-Python-web-framework.-The-image-should-feature-a-futuristic-and-minimalistic-.webp 1024w, https:\/\/caminhodev.com.br\/wp-content\/uploads\/2025\/02\/DALL\u00b7E-2025-02-09-18.32.34-A-modern-and-sleek-illustration-representing-FastAPI-a-high-performance-Python-web-framework.-The-image-should-feature-a-futuristic-and-minimalistic--300x300.webp 300w, https:\/\/caminhodev.com.br\/wp-content\/uploads\/2025\/02\/DALL\u00b7E-2025-02-09-18.32.34-A-modern-and-sleek-illustration-representing-FastAPI-a-high-performance-Python-web-framework.-The-image-should-feature-a-futuristic-and-minimalistic--150x150.webp 150w, https:\/\/caminhodev.com.br\/wp-content\/uploads\/2025\/02\/DALL\u00b7E-2025-02-09-18.32.34-A-modern-and-sleek-illustration-representing-FastAPI-a-high-performance-Python-web-framework.-The-image-should-feature-a-futuristic-and-minimalistic--768x768.webp 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n<div class=\"wp-block-post-excerpt\"><p class=\"wp-block-post-excerpt__excerpt\">Introdu\u00e7\u00e3o Se voc\u00ea precisa criar uma API REST r\u00e1pida e eficiente em Python, o FastAPI \u00e9 uma das melhores op\u00e7\u00f5es. Ele \u00e9 otimizado para desempenho e suporta valida\u00e7\u00e3o autom\u00e1tica de dados. Neste tutorial, voc\u00ea aprender\u00e1 como criar uma API REST do zero com FastAPI. 1. Instalando o FastAPI e Uvicorn 2. Criando a API Crie&hellip; <\/p><\/div>\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n<div class=\"wp-block-post-date\"><time datetime=\"2025-02-09T02:44:53-03:00\">9 de fevereiro de 2025<\/time><\/div>\n<\/li><\/ul><\/div>\n<\/div>\n<\/div>\n<\/div><\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-78","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/caminhodev.com.br\/index.php?rest_route=\/wp\/v2\/pages\/78","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/caminhodev.com.br\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/caminhodev.com.br\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/caminhodev.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/caminhodev.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=78"}],"version-history":[{"count":1,"href":"https:\/\/caminhodev.com.br\/index.php?rest_route=\/wp\/v2\/pages\/78\/revisions"}],"predecessor-version":[{"id":80,"href":"https:\/\/caminhodev.com.br\/index.php?rest_route=\/wp\/v2\/pages\/78\/revisions\/80"}],"wp:attachment":[{"href":"https:\/\/caminhodev.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}