Skip to content

Commit

Permalink
change types to scalar
Browse files Browse the repository at this point in the history
  • Loading branch information
Dashrekker committed Apr 13, 2023
1 parent 4686e42 commit edda39a
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 24 deletions.
24 changes: 12 additions & 12 deletions backend/openapi/dlpapi.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ paths:
- file
properties:
version:
type: int
type: scalar
description: The file version
filename:
type: string
Expand Down Expand Up @@ -256,13 +256,13 @@ paths:
type: string
description: default dataset selected
epochs:
type: int
type: scalar
description: number of epochs
shuffle:
type: bool
type: scalar
description: determines whether to shuffle the datasets
batch_size:
type: int
type: scalar
description: size of the batch
example:
train_transforms: [val1, val2, val3]
Expand Down Expand Up @@ -342,7 +342,7 @@ paths:
type: string
description: default dataset selected
shuffle:
type: bool
type: scalar
description: determines whether to shuffle the datasets
problem_type:
type: string
Expand Down Expand Up @@ -504,16 +504,16 @@ paths:
type: string
description: default dataset selected
epochs:
type: int
type: scalar
description: number of epochs
shuffle:
type: bool
type: scalar
description: determines whether to shuffle the datasets
test_size:
type: float
type: scalar
description: size of the test dataset
batch_size:
type: int
type: scalar
description: size of the batch
example:
user_arch: [val1, val2, val3]
Expand Down Expand Up @@ -700,13 +700,13 @@ paths:
type: object
description: user id
moduleID:
type: int
type: scalar
description: id of the learning module
sectionID:
type: int
type: scalar
description: id of the secion in the learning module
questionID:
type: int
type: scalar
description: id of the question in the section
example:
user_id: { "col1": [val1, val2], "col2": [val3, val4] }
Expand Down
2 changes: 1 addition & 1 deletion backend/openapi/getSignedUploadUrl.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ paths:
- file
properties:
version:
type: int
type: scalar
description: The file version
filename:
type: string
Expand Down
6 changes: 3 additions & 3 deletions backend/openapi/img-run.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ paths:
type: string
description: default dataset selected
epochs:
type: int
type: scalar
description: number of epochs
shuffle:
type: bool
type: scalar
description: determines whether to shuffle the datasets
batch_size:
type: int
type: scalar
description: size of the batch
example:
train_transforms: [val1, val2, val3]
Expand Down
2 changes: 1 addition & 1 deletion backend/openapi/ml-run.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ paths:
type: string
description: default dataset selected
shuffle:
type: bool
type: scalar
description: determines whether to shuffle the datasets
problem_type:
type: string
Expand Down
8 changes: 4 additions & 4 deletions backend/openapi/tabular-run.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,16 @@ paths:
type: string
description: default dataset selected
epochs:
type: int
type: scalar
description: number of epochs
shuffle:
type: bool
type: scalar
description: determines whether to shuffle the datasets
test_size:
type: float
type: scalar
description: size of the test dataset
batch_size:
type: int
type: scalar
description: size of the batch
example:
user_arch: [val1, val2, val3]
Expand Down
6 changes: 3 additions & 3 deletions backend/openapi/updateUserProgressData.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ paths:
type: object
description: user id
moduleID:
type: int
type: scalar
description: id of the learning module
sectionID:
type: int
type: scalar
description: id of the secion in the learning module
questionID:
type: int
type: scalar
description: id of the question in the section
example:
user_id: { "col1": [val1, val2], "col2": [val3, val4] }
Expand Down

0 comments on commit edda39a

Please sign in to comment.