File size: 293 Bytes
3a62be7
d77179f
5742f0d
b982dff
a66d267
3a62be7
 
 
fd746a8
d77179f
 
 
1
2
3
4
5
6
7
8
9
10
11
12
from fastapi import FastAPI
from routers import profanity, other_route  # Importa as rotas

app = FastAPI()

@app.get("/")
def greet_json():
    return {"Hello": "World!"}

# Inclui as rotas
app.include_router(profanity.router)
app.include_router(other_route.router)  # Inclui a rota adicional