Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spec-mirror-railway

A git mirror of Railway's API spec. The spec is fetched (or, for GraphQL, introspected) and committed as a JSON file so the repo serves as a versioned snapshot. GraphQL sources also produce an SDL (.graphql) sibling file.

The mirror is updated every 24 hours and is designed to be used as a stable git submodule.

Spec source(s)

Authentication

If introspection requires a token, set the SPEC_API_TOKEN repo secret. The fetcher sends it as Authorization: Bearer <token>. If unset, requests go out unauthenticated.

Usage as a submodule

git submodule add https://github.com/distilled-mirror/spec-mirror-railway.git

Updating specs

From .meta/:

bun install
bun run fetch-specs

This repository is managed by the distilled-submodules Alchemy stack in alchemy-run/distilled (stacks/distilled-submodules). Its scaffolding is generated — edit it there, not here.

About

Mirror of raw api specs for railway designed for distilled SDK use (@distilled.cloud/railway). ⚠️ these are unpatched and are not an accurate representation of actual api behavior; https://github.com/alchemy-run/distilled contains patched smithy specs for this api

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages