This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
tinyspec-cloud with all
npm packages installed. Try it out:
tinyspec-cloud lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
This CLI allows you to deploy your OpenAPI specification to Tinyspec Cloud and then access its auto-generated versions in different formats (HTML, PDF, YAML, JSON).
npm i -g tinyspec-cloud tinyspec-cloud --name my-project
Your project my-project is created in Tinyspec Cloud.
In a couple of minutes it will be published to these URLs:
https://my-project.tinyspec.cloud https://my-project.tinyspec.cloud/index.pdf https://my-project.tinyspec.cloud/openapi.yaml https://my-project.tinyspec.cloud/openapi.json https://my-project.tinyspec.cloud/build.log
Please store your access key:
If you lose your key, you won't be able to publish updates to your project.
Options: --name | -n Project Name (required) --version | -v Project Version --key | -k Project Secret Key (required for subsequent calls) --source | -s Source OpenAPI specification file in YAML or JSON format [default: "openapi.yaml"] --help | -h Show help
You can also set the same options using environment variables prefixed by
TINYSPEC_ or in a config file
tinyspec.json located in a directory where you run