Post

One of the biggest features is the automatic OpenAPI specification generation! It allows you to generate a specification for your API endpoints automatically, making it almost zero effort to generate Swagger UI for your RESTful endpoints that will always be kept in sync with the source code.

0 reposts0 likes

Another neat thing is the addition of the `IntoResponse` trait. This trait allows you to convert any type into a response, making it easier to return different types of responses from your request handlers.

The static file framework has been improved to support content hashing. This is a big win for production performance, as it allows you to use aggressive caching strategies without worrying about cache invalidation.