NYCPlanning / ae-zoning-map-poc

This mapping application shows zoning and other related data on a map of NYC. It is intended as a proof of concept for using React, Deck.gl, Chakra, and other related technologies.
0 stars 0 forks source link

Point kubb to stable OpenAPI documentation #33

Closed TangoYankee closed 11 months ago

TangoYankee commented 11 months ago

Description

By design, the open api documentation is ahead of the actual implementation. However, kubb is configured to build off the latest version of the documentation. This can create confusion, as the kubb-generated requests and types are mismatched to the actual implementation.

To alleviate this confusion, we want Kubb to build from the version of the OpenAPI docs that are actually implemented. In the zoning-api, we created a 'stable' tag that marks the last commit where the API implementation and OpenAPI documentation matched. This ticket is to update the kubb config to look for this tag when it generates its code. We also want it to actually generate this code.

Acceptance criteria