from fastapi import FastAPI, Request | |
from routers import profanity | |
# Instancia a aplicação FastAPI | |
app = FastAPI() | |
def greet_json(): | |
return {"Hello": "World!"} | |
# Inclui as rotas | |
app.include_router(profanity.router) |
from fastapi import FastAPI, Request | |
from routers import profanity | |
# Instancia a aplicação FastAPI | |
app = FastAPI() | |
def greet_json(): | |
return {"Hello": "World!"} | |
# Inclui as rotas | |
app.include_router(profanity.router) |