From 3b694328fdf69d3108fad5e970f12cd1eb3bb9e9 Mon Sep 17 00:00:00 2001 From: Daniil Voidilov Date: Wed, 25 Sep 2024 16:05:05 +0400 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2a57e6db..e7a4e49c 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,8 @@ The library is based on [SwiftOpenAPI](https://github.com/dankinsoid/SwiftOpenAP 3. Add a route to return a [SwaggerUI index.html](https://github.com/swagger-api/swagger-ui/blob/master/dist/index.html). Or configure your middlewares to use 'index.html' as default page. 4. Add a route to return an `OpenAPIObject` instance via the `app.routes.openAPI` method. Make sure the path of this route matches the `swagger.json` URL in your SwaggerUI page method. -⚠️ All enums in your models must implement `CaseIterable`. +> [!IMPORTANT] +All enums in your models must implement `CaseIterable`. ### Advanced Usage VaporToOpenAPI includes several advanced features that allow you to customize the generated OpenAPI documentation in various ways. Some of these features include: