diff --git a/api/src/integrationTest/kotlin/com/cosmotech/api/home/organization/OrganizationConstants.kt b/api/src/integrationTest/kotlin/com/cosmotech/api/home/organization/OrganizationConstants.kt index cf81702b2..d68b2f504 100644 --- a/api/src/integrationTest/kotlin/com/cosmotech/api/home/organization/OrganizationConstants.kt +++ b/api/src/integrationTest/kotlin/com/cosmotech/api/home/organization/OrganizationConstants.kt @@ -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"}""" } } diff --git a/dataset/src/main/openapi/dataset.yaml b/dataset/src/main/openapi/dataset.yaml index 71a0abe87..c56d16533 100644 --- a/dataset/src/main/openapi/dataset.yaml +++ b/dataset/src/main/openapi/dataset.yaml @@ -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: @@ -834,7 +833,6 @@ components: name: type: string minLength: 1 - maxLength: 50 description: type: string tags: @@ -863,7 +861,6 @@ components: name: type: string minLength: 1 - maxLength: 50 description: type: string tags: @@ -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) @@ -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 diff --git a/organization/src/main/openapi/organization.yaml b/organization/src/main/openapi/organization.yaml index 0f26ff01a..4dcadf187 100644 --- a/organization/src/main/openapi/organization.yaml +++ b/organization/src/main/openapi/organization.yaml @@ -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: @@ -562,7 +561,6 @@ components: type: string description: The Organization name minLength: 1 - maxLength: 50 # Security Operation Schemas OrganizationSecurity: diff --git a/solution/src/main/openapi/solution.yaml b/solution/src/main/openapi/solution.yaml index 3278cfc75..0482f0093 100644 --- a/solution/src/main/openapi/solution.yaml +++ b/solution/src/main/openapi/solution.yaml @@ -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 @@ -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 @@ -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 @@ -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: @@ -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: @@ -1187,7 +1177,6 @@ components: type: string description: The Run Template name minLength: 1 - maxLength: 50 labels: $ref: '#/components/schemas/TranslatedLabels' description: @@ -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 @@ -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 @@ -1324,7 +1311,6 @@ components: type: string description: The Parameter id minLength: 1 - maxLength: 50 description: type: string description: The parameter description @@ -1359,7 +1345,6 @@ components: type: string description: The Parameter id minLength: 1 - maxLength: 50 description: type: string description: The parameter description diff --git a/workspace/src/main/openapi/workspace.yaml b/workspace/src/main/openapi/workspace.yaml index 0dad4e5ff..79a711e80 100644 --- a/workspace/src/main/openapi/workspace.yaml +++ b/workspace/src/main/openapi/workspace.yaml @@ -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 @@ -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 @@ -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