|
36 | 36 | const path_to_root = "../"; |
37 | 37 | const default_light_theme = "light"; |
38 | 38 | const default_dark_theme = "navy"; |
39 | | - window.path_to_searchindex_js = "../searchindex-cdfa44bb.js"; |
| 39 | + window.path_to_searchindex_js = "../searchindex-1ea4266e.js"; |
40 | 40 | </script> |
41 | 41 | <!-- Start loading toc.js asap --> |
42 | 42 | <script src="../toc-54f2b124.js"></script> |
@@ -208,8 +208,8 @@ <h2 id="system-overview"><a class="header" href="#system-overview">System Overvi |
208 | 208 |
|
209 | 209 | subgraph Extensions["🔌 Extension Crates"] |
210 | 210 | direction LR |
211 | | - OpenAPI["rustapi-openapi<br>Swagger/Docs"] |
212 | | - Validate["rustapi-validate<br>Request Validation"] |
| 211 | + OpenAPI["rustapi-openapi<br>OpenAPI 3.1 + Docs"] |
| 212 | + Validate["rustapi-validate<br>Validation (v2 native)"] |
213 | 213 | Toon["rustapi-toon<br>LLM Optimization"] |
214 | 214 | Extras["rustapi-extras<br>JWT/CORS/RateLimit"] |
215 | 215 | WsCrate["rustapi-ws<br>WebSocket Support"] |
@@ -250,7 +250,7 @@ <h2 id="request-flow"><a class="header" href="#request-flow">Request Flow</a></h |
250 | 250 |
|
251 | 251 | M->>E: Extract parameters |
252 | 252 | E->>E: Json<T>, Path<T>, Query<T> |
253 | | - E->>E: Validate with #[validate] |
| 253 | + E->>E: Validate (v2 native / optional legacy) |
254 | 254 |
|
255 | 255 | alt Validation Failed |
256 | 256 | E-->>C: 422 Unprocessable Entity |
@@ -346,8 +346,8 @@ <h2 id="crate-responsibilities"><a class="header" href="#crate-responsibilities" |
346 | 346 | <tr><td><code>rustapi-rs</code></td><td>Public facade — single <code>use</code> for everything</td></tr> |
347 | 347 | <tr><td><code>rustapi-core</code></td><td>HTTP engine, routing, extractors, response handling</td></tr> |
348 | 348 | <tr><td><code>rustapi-macros</code></td><td>Procedural macros: <code>#[rustapi_rs::get]</code>, <code>#[rustapi_rs::main]</code></td></tr> |
349 | | -<tr><td><code>rustapi-openapi</code></td><td>Swagger UI generation, OpenAPI 3.0 spec</td></tr> |
350 | | -<tr><td><code>rustapi-validate</code></td><td>Request body/query validation via <code>#[validate]</code></td></tr> |
| 349 | +<tr><td><code>rustapi-openapi</code></td><td>Native OpenAPI 3.1 model, schema registry, and docs endpoints</td></tr> |
| 350 | +<tr><td><code>rustapi-validate</code></td><td>Validation runtime (v2 native default, legacy validator optional)</td></tr> |
351 | 351 | <tr><td><code>rustapi-toon</code></td><td>TOON format serializer, content negotiation, LLM headers</td></tr> |
352 | 352 | <tr><td><code>rustapi-extras</code></td><td>JWT auth, CORS, rate limiting, audit logging</td></tr> |
353 | 353 | <tr><td><code>rustapi-ws</code></td><td>WebSocket support with broadcast channels</td></tr> |
|
0 commit comments