Skip to content

Fix OpenAPI spec file path resolution#12

Merged
mikesellitto merged 1 commit intomainfrom
mike/fix-openapi-spec-resolution
Feb 24, 2026
Merged

Fix OpenAPI spec file path resolution#12
mikesellitto merged 1 commit intomainfrom
mike/fix-openapi-spec-resolution

Conversation

@mikesellitto
Copy link
Contributor

@mikesellitto mikesellitto commented Feb 23, 2026

Currently, the OpenAPI spec is copied into dist/ during build, but the runtime path resolves to the parent directory. Users installing/running with npm/npx get a missing file error since only dist/ is published.

This PR fixes that.

Copy link
Member

@emily-curry emily-curry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we instead include this file in the published files so that this continues to work while testing locally?

@mikesellitto mikesellitto force-pushed the mike/fix-openapi-spec-resolution branch from 2499cca to 8f218e9 Compare February 24, 2026 17:00
@mikesellitto
Copy link
Contributor Author

Could we instead include this file in the published files so that this continues to work while testing locally?

🤦🏻 Done in the latest force push

@mikesellitto mikesellitto merged commit 5876f94 into main Feb 24, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants