mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-05-05 12:22:35 +02:00
OPENAPI: Add pattern to uid & bump version to 3.1.0
This commit is contained in:
parent
c07bc1b27a
commit
8b08e13b72
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
openapi: 3.0.3
|
openapi: 3.1.0
|
||||||
info:
|
info:
|
||||||
title: WASAPhoto API
|
title: WASAPhoto API
|
||||||
description: |-
|
description: |-
|
||||||
|
@ -920,6 +920,7 @@ components:
|
||||||
maxLength: 36
|
maxLength: 36
|
||||||
description: The user ID.
|
description: The user ID.
|
||||||
format: uuid
|
format: uuid
|
||||||
|
pattern: '^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$' # RFC 4122
|
||||||
example: "1b4e28ba-2fa1-11d2-883f-0016d3cca427"
|
example: "1b4e28ba-2fa1-11d2-883f-0016d3cca427"
|
||||||
name_object:
|
name_object:
|
||||||
type: object
|
type: object
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue