actionschema-migrate
v0.0.63
Published
Migrate your actionschema server and get an SDK
Downloads
75
Readme
ActionSchema Migrate CLI
This CLI performs a migration on remote ActionSchema microservices and creates an SDK and Typescript Types in your codebase afterwards.
Goals:
- Provide an easy way to use openapi-based microservices without the pain of microservices.
- Develop things openapi-first and schema-first while keeping a good typescript integration.
Non-goals:
- Make this available for other languages than typescript
Usage
- Setup your
actionschema.json
{
"$schema": "https://migrate.actionschema.com/migration-context.schema.json"
//autocomplete from here
}
- Run
npx actionschema-migrate@latest
and follow further instructions.
TODO
- ✅ Add support for adding sdk for any (partial) openapi from either file or url
- Fix the client everywhere so
client.auth("permission")
allows for non-200 status codes without crashing. Can I add this into the type? - Use this for
actionschema-migrate
as well, as it depends on thedata
andopenapi-tools
microservices. - Add support for all other described functionality (see migration-context)