Spaces:
Runtime error
Runtime error
Commit
路
a5c267e
1
Parent(s):
3f1aed5
ultimo cambio
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from routers.routers import *
|
|
6 |
app = FastAPI(
|
7 |
title="API Arte Visual",
|
8 |
description="Esta es la API de la 贸ptica del curso de ADS",
|
9 |
-
version="1.
|
10 |
openapi_url="/optica-openapi.json",
|
11 |
docs_url="/optica-docs",
|
12 |
redoc_url="/optica-redoc",
|
@@ -30,14 +30,14 @@ def read_root():
|
|
30 |
|
31 |
# Routers
|
32 |
|
33 |
-
app.router.include_router(
|
34 |
-
app.router.include_router(usuarios.router)
|
35 |
app.router.include_router(clientes.router)
|
36 |
-
app.router.include_router(
|
37 |
-
app.router.include_router(prescripciones.router)
|
38 |
app.router.include_router(lunas_pedido.router)
|
|
|
39 |
app.router.include_router(monturas.router)
|
40 |
app.router.include_router(monturas_inventario.router)
|
41 |
-
app.router.include_router(boletas.router)
|
42 |
-
app.router.include_router(comprobante_pago.router)
|
43 |
app.router.include_router(monturas_pedido.router)
|
|
|
|
|
|
|
|
6 |
app = FastAPI(
|
7 |
title="API Arte Visual",
|
8 |
description="Esta es la API de la 贸ptica del curso de ADS",
|
9 |
+
version="1.2.1",
|
10 |
openapi_url="/optica-openapi.json",
|
11 |
docs_url="/optica-docs",
|
12 |
redoc_url="/optica-redoc",
|
|
|
30 |
|
31 |
# Routers
|
32 |
|
33 |
+
app.router.include_router(boletas.router)
|
|
|
34 |
app.router.include_router(clientes.router)
|
35 |
+
app.router.include_router(comprobante_pago.router)
|
|
|
36 |
app.router.include_router(lunas_pedido.router)
|
37 |
+
app.router.include_router(medidas.router)
|
38 |
app.router.include_router(monturas.router)
|
39 |
app.router.include_router(monturas_inventario.router)
|
|
|
|
|
40 |
app.router.include_router(monturas_pedido.router)
|
41 |
+
app.router.include_router(prescripciones.router)
|
42 |
+
app.router.include_router(roles.router)
|
43 |
+
app.router.include_router(usuarios.router)
|