Skip to content

Commit

Permalink
(API Spec): Use number range instead of decimal character class becau…
Browse files Browse the repository at this point in the history
…se of parser error
  • Loading branch information
QazCetelic committed Oct 22, 2023
1 parent f87e132 commit 787e274
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions APIv1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1006,13 +1006,13 @@ components:
createdAt:
type: string
nullable: false
pattern: "^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$"
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}$"
lastEditBy:
type: string
lastEditAt:
type: string
nullable: false
pattern: "^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$"
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}$"
isShared:
type: boolean
nullable: false
Expand Down Expand Up @@ -1092,11 +1092,11 @@ components:
createdAt:
type: string
nullable: false
pattern: "^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$"
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}$"
lastEditAt:
type: string
nullable: false
pattern: "^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$"
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}$"
Columns:
type: array
maxItems: 1000
Expand Down Expand Up @@ -1125,13 +1125,13 @@ components:
createdAt:
type: string
nullable: false
pattern: "^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$"
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}$"
lastEditBy:
type: string
lastEditAt:
type: string
nullable: false
pattern: "^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$"
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}$"
type:
type: string
nullable: false
Expand Down Expand Up @@ -1204,14 +1204,14 @@ components:
createdAt:
type: string
nullable: false
pattern: "^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$"
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}$"
lastEditBy:
type: string
nullable: true
lastEditAt:
type: string
nullable: false
pattern: "^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$"
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}$"
description:
type: string
nullable: false
Expand Down Expand Up @@ -1317,14 +1317,14 @@ components:
createdAt:
type: string
nullable: false
pattern: "^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$"
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}$"
lastEditBy:
type: string
nullable: false
lastEditAt:
type: string
nullable: false
pattern: "^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$"
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}$"
data:
type: array
nullable: false
Expand Down

0 comments on commit 787e274

Please sign in to comment.