icssc / anteater-api

API that provides easy access to public data from UC Irvine. Developed for Anteaters, by Anteaters.
https://anteaterapi.com/reference
GNU Affero General Public License v3.0
3 stars 0 forks source link

Investigate possibility of properly typing prerequisite tree #28

Closed ecxyzzy closed 1 week ago

ecxyzzy commented 1 week ago

Currently the attributes in the prerequisite tree object's OpenAPI spec are typed as any[]. This is because hono-zod-openapi doesn't support ZodLazy, which is necessary for self-referential datatypes like the prerequisite tree.