{"openapi":"3.0.0","info":{"version":"1","title":"API","description":"Descripción de API"},"paths":{"/api/persona":{"get":{"summary":"Your GET endpoint","tags":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Persona"}}}}},"operationId":"get-get-persona","parameters":[{"schema":{"type":"string"},"in":"header"}]},"parameters":[],"post":{"summary":"Your POST endpoint","tags":[],"responses":{},"operationId":"post-api-persona","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"put":{"summary":"Your PUT endpoint","tags":[],"responses":{"200":{"description":"OK"},"201":{"description":"Created"}},"operationId":"put-api-persona","parameters":[{"schema":{"type":"string"},"in":"query","name":"id","required":true}]},"delete":{"summary":"Your DELETE endpoint","tags":[],"responses":{},"operationId":"delete-api-persona"}}},"servers":[{"description":"SwaggerHub API Auto Mocking","url":"https://virtserver.swaggerhub.com/ricaldone-cb7/Ejemplo/1"}],"components":{"schemas":{"Persona":{"title":"Persona","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"age":{"type":"number"},"status":{"type":"string"}}}}}}