Closed rhysyngsun closed 7 months ago
Do we have a plan for where this would be used?
@pdpinch mit-open and ocw would use it afaik, but really these would be the officially blessed clients that we would support for anyone integrating with the catalog APIs.
One of the reasons I've brought this issue up lately is so we could use the client while updating course-search-utils. Possibly not the actual API clients (though possibly), but definitely the typescript definitions will be useful.
Package has been published: https://www.npmjs.com/package/@mitodl/open-api-axios
Description
We want to publish official API clients for the Open APIs, generated from the OpenAPI schema. This will be both for internal and external usage. The approach outlined here in based on this discussion.
Plan
ol_open_api.v1.APIClient
,ol_open_api.v2.APIClient
, etc.