Skip to content

Commit 5a2285b

Browse files
committed
Sync open source content 🐝 (from 043fd6fd08f52899f311070c2c4e5e1da046cf3a)
1 parent 5351537 commit 5a2285b

4 files changed

Lines changed: 2 additions & 2 deletions

File tree

openapi/frameworks/tsoa.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ export interface Booking {
455455
456456
Adding this extra context is not just beneficial for generating a more informative OpenAPI document, but it will power real runtime functionality too. Types will be checked and validated at runtime, preventing invalid requests getting anywhere near the application logic.
457457
458-
![](/openapi/frameworks/assets/img/tsoa/tsoa-type-checking.png)
458+
![](/assets/openapi/tsoa/tsoa-type-checking.png)
459459
460460
All sorts of things can happen with this extra metadata:
461461
@@ -476,7 +476,7 @@ Anyone up for a challenge can even add regex patterns to string properties using
476476
trip_id: string;
477477
```
478478
479-
![](/openapi/frameworks/assets/img/tsoa/tsoa-regex-validation.png)
479+
![](/assets/openapi/tsoa/tsoa-regex-validation.png)
480480
481481
Tweak models like this and regenerate the OpenAPI to see the improvements reflected in the output.
482482
File renamed without changes.

openapi/frameworks/assets/img/tsoa/tsoa-regex-validation.png renamed to public/assets/openapi/tsoa/tsoa-regex-validation.png

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)