Skip to content

Commit

Permalink
feat(impl):[#439] change impl of accepted aspects
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-ext-kmassalski committed Mar 7, 2024
1 parent 95f3ab8 commit 5524be2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public class RegisterBatchOrder {
@Schema(description = "BoM Lifecycle of the result tree.", implementation = BomLifecycle.class)
private BomLifecycle bomLifecycle;

@ArraySchema(arraySchema = @Schema(description = "List of aspect names that will be collected if \\<collectAspects\\> flag is set to true.", example = "urn:samm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt",
@ArraySchema(schema = @Schema(description = "List of aspect names that will be collected if \\<collectAspects\\> flag is set to true.", example = "urn:samm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt",
implementation = String.class, pattern = ASPECT_MODEL_REGEX), maxItems = Integer.MAX_VALUE)
private List<@Pattern(regexp = ASPECT_MODEL_REGEX) String> aspects;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public class RegisterBpnInvestigationJob {
private PartChainIdentificationKey key;

@NotEmpty
@ArraySchema(arraySchema = @Schema(description = "Array of BPNS numbers.", example = "BPNS000000000DDD",
@ArraySchema(schema = @Schema(description = "Array of BPNS numbers.", example = "BPNS000000000DDD",
implementation = String.class, pattern = BPN_REGEX), maxItems = Integer.MAX_VALUE)
private List<@Pattern(regexp = BPN_REGEX) String> incidentBPNSs;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public class RegisterJob {
@Schema(description = "BoM Lifecycle of the result tree.", implementation = BomLifecycle.class)
private BomLifecycle bomLifecycle;

@ArraySchema(arraySchema = @Schema(description = "List of aspect names that will be collected if \\<collectAspects\\> flag is set to true.", example = "urn:samm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt",
@ArraySchema(schema = @Schema(description = "List of aspect names that will be collected if \\<collectAspects\\> flag is set to true.", example = "urn:samm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt",
implementation = String.class, pattern = ASPECT_MODEL_REGEX), maxItems = Integer.MAX_VALUE)
private List<@Pattern(regexp = ASPECT_MODEL_REGEX) String> aspects;

Expand Down

0 comments on commit 5524be2

Please sign in to comment.