Closed schristley closed 2 weeks ago
Hi @williamdlees , issue to track OGRDB API work. We should create one for VDJbase at some point, but might need more clarity on the data and its schema first.
Using pydantic to validate the outgoing response object sounds like a reasonable solution. There is a difference with how OpenAPI V2 and V3 defines request parameters, but it's not necessary for your flask middleware to use V3, you can "fake it" just by manually making sure the V3 spec and your flask code are in sync. Because your endpoints and request parameters are fairly simple, that manually sync'ing shouldn't be onerous.
Initial OGRDB API has been defined and is live.
- [ ] Request and response schemas linked to AIRR and/or CDM.
These are currently linked to a local copy of AIRR openapi3 spec based upon the v1.5 release branch AIRR. This prevents the service from being disrupted if v1.5 release branch undergoes changes. We will want to integrate these better once we have more detailed processes about managing schema changes.
AKC will primarily interact with OGRDB through a defined OpenAPI V3 spec.