Skip to content

Commit

Permalink
Change all number to integer (#366)
Browse files Browse the repository at this point in the history
Signed-off-by: C0D3 M4513R <[email protected]>
  • Loading branch information
C0D3-M4513R authored Sep 11, 2024
1 parent d3cb6b5 commit f66876a
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion openapi/components/requests/CreateAvatarRequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ properties:
releaseStatus:
$ref: ../schemas/ReleaseStatus.yaml
version:
type: number
type: integer
minimum: 0
default: 1
featured:
Expand Down
4 changes: 2 additions & 2 deletions openapi/components/requests/CreateFileVersionRequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ properties:
type: string
minLength: 1
signatureSizeInBytes:
type: number
type: integer
fileMd5:
type: string
minLength: 1
fileSizeInBytes:
type: number
type: integer
required:
- signatureMd5
- signatureSizeInBytes
2 changes: 1 addition & 1 deletion openapi/components/requests/UpdateAvatarRequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ properties:
releaseStatus:
$ref: ../schemas/ReleaseStatus.yaml
version:
type: number
type: integer
minimum: 0
default: 1
featured:
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/requests/UpdateUserRequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ properties:
type: string
format: date
acceptedTOSVersion:
type: number
type: integer
tags:
description: ' '
type: array
Expand Down
4 changes: 2 additions & 2 deletions openapi/components/schemas/FileVersionUploadStatus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ properties:
minLength: 1
example: Avatar-MyAvatar-Un.file_00000000-0000-0000-0000-000000000000.1.unitypackage
nextPartNumber:
type: number
type: integer
minimum: 0
example: 0
maxParts:
type: number
type: integer
minimum: 1
example: 1000
parts:
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/Subscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ properties:
period:
$ref: ./SubscriptionPeriod.yaml
tier:
type: number
type: integer
required:
- id
- steamItemId
Expand Down
8 changes: 4 additions & 4 deletions openapi/components/schemas/TransactionAgreement.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ properties:
type: string
minLength: 1
itemId:
type: number
type: integer
agreement:
type: string
status:
Expand All @@ -16,7 +16,7 @@ properties:
type: string
minLength: 1
frequency:
type: number
type: integer
billingType:
type: string
minLength: 1
Expand Down Expand Up @@ -45,9 +45,9 @@ properties:
lastAmountVat:
type: number
outstanding:
type: number
type: integer
failedAttempts:
type: number
type: integer
required:
- agreementId
- itemId
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/UserSubscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ properties:
period:
$ref: ./SubscriptionPeriod.yaml
tier:
type: number
type: integer
example: 5
active:
type: boolean
Expand Down

0 comments on commit f66876a

Please sign in to comment.