0% found this document useful (0 votes)
3 views5 pages

FastAPI - Swagger UI

Uploaded by

Isaac Salinas
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views5 pages

FastAPI - Swagger UI

Uploaded by

Isaac Salinas
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

23/6/26, 22:31 FastAPI - Swagger UI

FastAPI
0.1.0 OAS 3.1

/[Link]

default

GET /empleados-oficinas Obtener Empleados Y Oficinas

Realiza un JOIN entre las tablas 'employees' y 'offices' para obtener datos combinados.

Parameters Cancel

No parameters

Execute Clear

Responses

Curl

curl -X 'GET' \
'[Link] \
-H 'accept: application/json'

Request URL

localhost:8000/docs#/default/obtener_clientes_y_ordenes_clientes_ordenes_get 1/5
23/6/26, 22:31 FastAPI - Swagger UI

[Link]

Server response

Code Details

200
Response body

[ 
{
"employeenumber": 1002,
"firstname": "Diane",
"lastname": "Murphy",
"jobtitle": "President",
"city": "San Francisco",
"country": "USA"
},
{
"employeenumber": 1056,
"firstname": "Mary",
"lastname": "Patterson",
"jobtitle": "VP Sales",
"city": "San Francisco",
"country": "USA"
},
{
"employeenumber": 1076,
"firstname": "Jeff",
"lastname": "Firrelli",
"jobtitle": "VP Marketing",
"city": "San Francisco",
"country": "USA"
},
{
"employeenumber": 1088, Download
"firstname": "William", 

Response headers

content-length: 2858
content-type: application/json
date: Wed,24 Jun 2026 03:30:48 GMT
server: uvicorn

Responses

localhost:8000/docs#/default/obtener_clientes_y_ordenes_clientes_ordenes_get 2/5
23/6/26, 22:31 FastAPI - Swagger UI

Code Description Links

200 Successful Response No links

Media type

application/json
Controls Accept header.

Example Value Schema

"string"

GET /clientes-ordenes Obtener Clientes Y Ordenes

Parameters Cancel

No parameters

Execute Clear

Responses

Curl

curl -X 'GET' \
'[Link] \
-H 'accept: application/json'

Request URL

localhost:8000/docs#/default/obtener_clientes_y_ordenes_clientes_ordenes_get 3/5
23/6/26, 22:31 FastAPI - Swagger UI

[Link]

Server response

Code Details

200
Response body

[ 
{
"customernumber": 363,
"customername": "Online Diecast Creations Co.",
"country": "USA",
"ordernumber": 10100,
"orderdate": "2003-01-06",
"status": "Shipped"
},
{
"customernumber": 128,
"customername": "Blauer See Auto, Co.",
"country": "Germany",
"ordernumber": 10101,
"orderdate": "2003-01-09",
"status": "Shipped"
},
{
"customernumber": 181,
"customername": "Vitachrome Inc.",
"country": "USA",
"ordernumber": 10102,
"orderdate": "2003-01-10",
"status": "Shipped"
},
{
"customernumber": 121, Download
"customername": "Baane Mini Imports", 

Response headers

content-length: 7187
content-type: application/json
date: Wed,24 Jun 2026 03:31:00 GMT
server: uvicorn

Responses

localhost:8000/docs#/default/obtener_clientes_y_ordenes_clientes_ordenes_get 4/5
23/6/26, 22:31 FastAPI - Swagger UI

Code Description Links

200 Successful Response No links

Media type

application/json
Controls Accept header.

Example Value Schema

"string"

localhost:8000/docs#/default/obtener_clientes_y_ordenes_clientes_ordenes_get 5/5

You might also like