The openapi.json file is no longer accessible at stacks-blockchain-api.vercel.app/openapi.json after the Fastify migration. We are using this to automatically keep API references up-to-date in our documentation repo.
Current Behavior
Other APIs successfully serve their OpenAPI specs:
✅ ordinals-api.vercel.app/openapi.json
✅ runes-api.vercel.app/openapi.json
✅ token-metadata-api.vercel.app/openapi.json
❌ stacks-blockchain-api.vercel.app/openapi.json
Likely Cause
OpenAPI files are being written to ./docs instead of ./tmp or ./public, preventing Vercel from serving them correctly.
Describe the bug
The
openapi.json
file is no longer accessible atstacks-blockchain-api.vercel.app/openapi.json
after the Fastify migration. We are using this to automatically keep API references up-to-date in our documentation repo.Current Behavior
Likely Cause
OpenAPI files are being written to
./docs
instead of./tmp
or./public
, preventing Vercel from serving them correctly.Reference
openapi-generator.ts#L21