Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

179
Views
El cuerpo de Fastapi Response no se muestra en cartero al importar swagger json

He definido mi modelo de respuesta así

 @router.post("/test", responses=response.test)

donde otras respuestas se definen así

 class Example_200(BaseModel): class Config: schema_extra = { "example": { "data": { "id": "918814b7d3934655aafb2c1ade2f5554", "deleted" : True } } } test = { "200": {"model": Example_200}, "400": {"model": Example_400}, "404": {"model": Example_404}, }

pero cuando importo openapi json en cartero, no recibo 200 respuestas impresas, se muestra así, ¿qué está mal aquí? ingrese la descripción de la imagen aquí

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!