This page shows a simple example of an implementation of the icd10gm API. The full OpenApi spec is available here.