Repository navigation
Bring the Machines API models page up to date with the spec - #2571
Merged
Merged
Conversation
models.mdx was built once from the spec during the Mintlify import and had drifted: 11 schemas were missing and 14 had stale fields. Add a script that rebuilds it from api/machines/openapi.json in the same format, and run it. Related to superfly/docs-tracking#298
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
api/machines/models.mdxwas built once from the spec during the Mintlify import and never updated. It was missing 11 schemas (IP assignment types, Postgres plans and query types) and 14 had stale fields, including atokenonCreateAppResponseandgpu_bid_priceonfly.MachineRestart, both gone from the API.Regenerated from
api/machines/openapi.jsonin the existing format. All 184 schemas now have a section, and the anchors guides link to (#fly-containerconfig,#fly-machinesecret) are unchanged. Two small format changes: enums read "Enum: ..." without an em dash, and enum-only schemas list their values.The generator is kept outside this repo for now; longer term we'll ask the Machines team about generating this page with the spec.
Related to superfly/docs-tracking#298