In this chapter, we're going to take a look at adding designs to a REST API using contract and validation. Then, we will learn about using JSON Web Tokens for authentication. And finally, we'll explore diagnosability, that is, logging, metrics, and tracing for a REST API. In this chapter, we'll cover the following topics:
- Applying Design by Contract—adding validation
- Using JSON Web Tokens for authentication
- Diagnosability—logging, metrics, and tracing