Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ object OrganizationConstants {

object Errors {
val emptyNameOrganizationCreationRequestError =
"""{"type":"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400","title":"Bad Request","status":400,"detail":"name: size must be between 1 and 50","instance":"/organizations"}"""
"""{"type":"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400","title":"Bad Request","status":400,"detail":"name: size must be between 1 and 2147483647","instance":"/organizations"}"""
}
}
5 changes: 0 additions & 5 deletions dataset/src/main/openapi/dataset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,6 @@ components:
type: string
x-field-extra-annotation: "@com.redis.om.spring.annotations.Searchable"
minLength: 1
maxLength: 50
description:
type: string
organizationId:
Expand Down Expand Up @@ -834,7 +833,6 @@ components:
name:
type: string
minLength: 1
maxLength: 50
description:
type: string
tags:
Expand Down Expand Up @@ -863,7 +861,6 @@ components:
name:
type: string
minLength: 1
maxLength: 50
description:
type: string
tags:
Expand Down Expand Up @@ -895,7 +892,6 @@ components:
type: string
x-field-extra-annotation: "@com.redis.om.spring.annotations.Searchable"
minLength: 1
maxLength: 50
sourceName:
type: string
description: the source data name (e.g. filename associated to the dataset part)
Expand Down Expand Up @@ -955,7 +951,6 @@ components:
name:
type: string
minLength: 1
maxLength: 50
sourceName:
description: the source data name (e.g. filename associated to the dataset part)
type: string
Expand Down
2 changes: 0 additions & 2 deletions organization/src/main/openapi/organization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,6 @@ components:
x-field-extra-annotation: "@com.redis.om.spring.annotations.Searchable"
description: The Organization name
minLength: 1
maxLength: 50
security:
$ref: '#/components/schemas/OrganizationSecurity'
required:
Expand All @@ -562,7 +561,6 @@ components:
type: string
description: The Organization name
minLength: 1
maxLength: 50

# Security Operation Schemas
OrganizationSecurity:
Expand Down
15 changes: 0 additions & 15 deletions solution/src/main/openapi/solution.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -831,14 +831,12 @@ components:
type: string
description: The Solution key which groups Solution versions
minLength: 1
maxLength: 50
example: "brewery-solution"
name:
type: string
x-field-extra-annotation: "@com.redis.om.spring.annotations.Searchable"
description: The Solution name
minLength: 1
maxLength: 50
example: "Brewery Solution"
description:
type: string
Expand Down Expand Up @@ -923,13 +921,11 @@ components:
type: string
description: Technical key for resource name convention and version grouping. Must be unique
minLength: 1
maxLength: 50
example: "brewery-solution"
name:
type: string
description: Solution name. This name is displayed in the sample webApp
minLength: 1
maxLength: 50
example: "Brewery Solution"
description:
type: string
Expand Down Expand Up @@ -993,13 +989,11 @@ components:
type: string
description: Technical key for resource name convention and version grouping. Must be unique
minLength: 1
maxLength: 50
example: "brewery-solution"
name:
type: string
description: The Solution name
minLength: 1
maxLength: 50
example: "Brewery Solution"
description:
type: string
Expand Down Expand Up @@ -1101,13 +1095,11 @@ components:
type: string
description: The Solution Run Template id
minLength: 1
maxLength: 50
example: "template-123"
name:
type: string
description: The Run Template name
minLength: 1
maxLength: 50
labels:
$ref: '#/components/schemas/TranslatedLabels'
description:
Expand Down Expand Up @@ -1144,13 +1136,11 @@ components:
type: string
description: The Solution Run Template id
minLength: 1
maxLength: 50
example: "template-123"
name:
type: string
description: The Run Template name
minLength: 1
maxLength: 50
labels:
$ref: '#/components/schemas/TranslatedLabels'
description:
Expand Down Expand Up @@ -1187,7 +1177,6 @@ components:
type: string
description: The Run Template name
minLength: 1
maxLength: 50
labels:
$ref: '#/components/schemas/TranslatedLabels'
description:
Expand Down Expand Up @@ -1247,7 +1236,6 @@ components:
type: string
description: The Parameter Group id
minLength: 1
maxLength: 50
description:
type: string
description: A description of the parameter group
Expand Down Expand Up @@ -1275,7 +1263,6 @@ components:
type: string
description: The Parameter Group id
minLength: 1
maxLength: 50
description:
type: string
description: A description of the parameter group
Expand Down Expand Up @@ -1324,7 +1311,6 @@ components:
type: string
description: The Parameter id
minLength: 1
maxLength: 50
description:
type: string
description: The parameter description
Expand Down Expand Up @@ -1359,7 +1345,6 @@ components:
type: string
description: The Parameter id
minLength: 1
maxLength: 50
description:
type: string
description: The parameter description
Expand Down
6 changes: 0 additions & 6 deletions workspace/src/main/openapi/workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -707,14 +707,12 @@ components:
type: string
description: Technical key for resource name convention and version grouping. Must be unique
minLength: 1
maxLength: 50
example: "MyKey"
name:
type: string
x-field-extra-annotation: "@com.redis.om.spring.annotations.Searchable"
description: Workspace name. This name is display in the sample webApp
minLength: 1
maxLength: 50
example: "FranceOffice"
description:
type: string
Expand Down Expand Up @@ -770,13 +768,11 @@ components:
type: string
description: Technical key for resource name convention and version grouping. Must be unique
minLength: 1
maxLength: 50
name:
type: string
description: Workspace name. This name is displayed in the sample webApp
example: "FranceOffice"
minLength: 1
maxLength: 50
description:
type: string
description: The Workspace description
Expand Down Expand Up @@ -814,12 +810,10 @@ components:
type: string
description: Technical key for resource name convention and version grouping. Must be unique
minLength: 1
maxLength: 50
name:
type: string
description: Workspace name
minLength: 1
maxLength: 50
description:
type: string
description: The Workspace description
Expand Down