{"openapi":"3.0.0","info":{"title":"Abastecimiento Electronico","description":"Esta API permite crear proveedores y ordenes de de compra","termsOfService":"http://nbappf:28080/JDEdwardsIntelCost/TerceroProveedorJdeWSService?wsdl","contact":{"name":"Daniela","url":"tec_angiec@confamiliares.com"},"license":{"name":"Apache 2.0","url":"http://www,apache.org/LICENSE-2.0.html"},"version":"1.0.0"},"servers":[{"description":"SwaggerHub API Auto Mocking","url":"https://virtserver.swaggerhub.com/c5399/AbastecimientoElectronico/1.0.0"},{"description":"SwaggerHub API Auto Mocking","url":"https://virtserver.swaggerhub.com/c5399/MyCompanyAPI/1.0.0"},{"url":"http://www.google.com/api","description":"Google Server"},{"url":"http://www.facebook.com/api","description":"Facebook Server"}],"paths":{"/employees":{"get":{"description":"Permite obtener lista de empleados segun los parametros o condiciones","parameters":[{"in":"query","name":"id","required":false,"description":"codigo del empleado","schema":{"type":"number","example":465}},{"in":"query","name":"sueldo","required":true,"description":"sueldo del empleado","schema":{"type":"number","example":2000}}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"array","items":{"properties":{"id":{"type":"integer","example":465},"nombre":{"type":"string","example":"Daniela Chisco"},"sueldo":{"type":"string","format":"float","example":20000}}}}}}},"404":{"description":"Request not found","content":{"application/json":{"schema":{"type":"string","example":{"message":"Error 404. Page or Request not found."}}}}}}},"post":{"description":"Permite crear usuarios en la base de datos","parameters":[{"name":"empleado","in":"query","description":"Crear un nuevo empleado en la base de datos","schema":{"type":"object","properties":{"nombre":{"type":"string","description":"Primer nombre","example":"Daniela"},"id":{"type":"number","description":"ID del empleado","example":321},"email":{"type":"number","description":"Correo Electronico del empleado","example":"tec_angiec@gmail.com"}}}}],"responses":{"200":{"description":"successfull request","content":{"application/json":{"schema":{"type":"string","example":{"Message":"ok"}}},"application/xml":{"schema":{"type":"string","example":"http://foo.bar/examples/address-example.xml"}},"text/plain":{"schema":{"type":"string","example":"ok google"}}}}}}},"/employes/{id}":{"get":{"description":"Obtener informacion del empleado ingesando su ID","parameters":[{"in":"path","name":"id","required":true,"description":"Codigo del empleado","schema":{"type":"number","example":465}}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"array","items":{"properties":{"id":{"type":"integer","example":465},"nombre":{"type":"string","example":"Daniela Chisco"},"sueldo":{"type":"number","format":"float","example":20000}}}}}}}}}}}}