Session

Building Schema-First APIs with tsoa and TypeScript

In the ever-evolving landscape of web APIs, having a robust and well-defined schema is crucial. However, exposing an OpenAPI specification in a Node framework often requires developers to jump through hoops, especially if they also want to use TypeScript to define their models.

Enter tsoa, a powerful TypeScript-based framework that allows us to create APIs with a "schema-first" approach that ensures that the OpenAPI schema that your application *says* it's returning always matches what's *actually* being returned... all while still using the framework of your choice - be it express, koa, hapi, or any other!

In this presentation, I'll show you how I use my new favorite API framework to quickly and easily build APIs without having to worry about my schema drifting away from reality.

Jess Chadwick

Technologist, Teacher, and Author

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top