这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@anthonyshew
Copy link
Contributor

@anthonyshew anthonyshew commented Apr 9, 2025

Description

The self-hosted OpenAPI spec is generated from the Vercel Remote Cache spec. However, that there can be spots where the Vercel Remote cache spec has information that the self-hosted spec doesn't need.

This PR introduces some light pre-processing so that we can make the self-hosted spec better for OSS-only users. See https://github.com/vercel/turborepo/pull/10318/files#diff-03cadc255ad9d43cf46b7ed6185da0eba06ef11294de0f9a784274a1863b6aa0R1 for more.

Testing Instructions

👀

https://turbo-site-git-shew-240ef.vercel.sh/api/remote-cache-spec now doesn't have examples fields, since the Vercel Remote Cache spec has examples specific to Vercel.

This also removes the erroneous example string from https://turbo-site-git-shew-240ef.vercel.sh/docs/openapi/artifacts/download-artifact.

@anthonyshew anthonyshew requested a review from a team as a code owner April 9, 2025 14:22
@vercel
Copy link
Contributor

vercel bot commented Apr 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 2:57pm
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 2:57pm
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 2:57pm
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 2:57pm
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 2:57pm
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 2:57pm
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 2:57pm
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 2:57pm
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 2:57pm
turbo-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 2:57pm

@anthonyshew anthonyshew merged commit f959424 into main Apr 11, 2025
32 checks passed
@anthonyshew anthonyshew deleted the shew/240ef branch April 11, 2025 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants