Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Type safety across REST APIs in TypeScript!

License

NotificationsYou must be signed in to change notification settings

hmil/rest.ts

Repository files navigation

Rest.tsBuild Statusnpm versiongithub homedocumentation

Type safety across REST APIs in TypeScript!

What is this?

Rest.ts lets you write API contracts that tie together consumers and producers within the type system. Out of the box, Rest.ts gives you the following features:

  • Auto-completion / intelliSense
  • Easy code navigation

Overview
*It would be possible to generate swagger-style API docs from rest.ts definitions, but this feature has not been created yet. Contributors welcome!

Guides

If you are just getting started, read the five minutesquick start guide to get up to speed.

You will findall guides in the wiki.

API documentation

If you are looking for advanced features, you might want to take a look at the API documentation for the module you are using:

Compatibility

Compatibility between rest.ts and runtypes:

Rest.tsRuntypes
< 0.6.02.x.x
>=0.6.04.x.x

Contributing

This is an open source project maintained for free on a human being's spare time. It can only be as good as its user community is willing to make it.

  • If you use this project, star it. It helps to get an idea of how many users there are.
  • If something is not working, figure out why. If you can, share your findings in a new issue. If you can't, share your findings in a new issue.
  • If something is missing, open an issue to spark the discussion.

Related work

You may also be interested inRESTyped, which fulfills the same role as Rest.ts, but with a different take on the problem.
SeeRest.ts vs RESTyped to chose which one best suits your requirements.

About

Type safety across REST APIs in TypeScript!

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp