UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 2.25 kB
{"openapi":"3.0.0","info":{"contact":{"email":"api@medcorder.com","name":"Medcorder API Support"},"description":"Returns doctors near a client given a lat/lon and autocomplete text.","termsOfService":"https://medcorder.com/terms","title":"Medcorder Nearby Doctor API","version":"1.0.0","x-apisguru-categories":["open_data"],"x-origin":[{"format":"swagger","url":"https://static.medcorder.com/openapi.yaml","version":"2.0"}],"x-providerName":"medcorder.com"},"paths":{"/doctors":{"get":{"operationId":"doctors","parameters":[{"description":"The search text so far for autocomplete","in":"query","name":"search","required":false,"schema":{"type":"string"}},{"description":"The latitude of the client, around which to search","in":"query","name":"latitude","required":false,"schema":{"type":"number","format":"double","minimum":-90,"maximum":90}},{"description":"The longitude of the client, around which to search","in":"query","name":"longitude","required":false,"schema":{"type":"number","format":"double","minimum":-180,"maximum":180}},{"description":"The number of results desired","in":"query","name":"limit","required":false,"schema":{"type":"integer","minimum":1,"maximum":50,"default":50}}],"responses":{"200":{"description":"A list of doctors","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/doctor"},"type":"array"}}}}},"summary":"Fetch a list of nearby medical providers"}}},"x-google-backend":{"address":"https://medcorder-api-production.uc.r.appspot.com/","jwt_audience":"369549039786-08mij7ihsqfoe0ehi5u08kao9kc774mo.apps.googleusercontent.com","protocol":"h2"},"servers":[{"url":"https://api.medcorder.com"}],"components":{"schemas":{"doctor":{"properties":{"address":{"type":"string"},"address2":{"type":"string"},"city":{"type":"string"},"county":{"type":"string"},"distance":{"format":"float","type":"number"},"email":{"type":"string"},"first_name":{"type":"string"},"full_name":{"type":"string"},"gender":{"type":"string"},"last_name":{"type":"string"},"latitude":{"format":"float","type":"number"},"longitude":{"format":"float","type":"number"},"specialty":{"type":"string"},"state":{"type":"string"},"title":{"type":"string"},"website":{"type":"string"},"zip":{"type":"string"}},"type":"object"}}}}