Skip to content

Commit

Permalink
feat(api): eclipse-tractusx#181 Gate API: Nameparts
Browse files Browse the repository at this point in the history
add legalNameParts to Gate
  • Loading branch information
rainer-exxcellent committed May 31, 2023
1 parent 3e23529 commit ed28243
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ import org.eclipse.tractusx.bpdm.common.service.DataClassUnwrappedJsonDeserializ
@JsonDeserialize(using = DataClassUnwrappedJsonDeserializer::class)
@Schema(name = "LegalEntityGateInputRequest", description = "Legal entity with external id")
data class LegalEntityGateInputRequest(

val legalNameParts: Array<String> = emptyArray(),

@field:JsonUnwrapped
val legalEntity: LegalEntityDto,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ import java.time.LocalDateTime
@JsonDeserialize(using = DataClassUnwrappedJsonDeserializer::class)
@Schema(name = "LegalEntityGateInputResponse", description = "Legal entity with external id")
data class LegalEntityGateInputResponse(

val legalNameParts: Array<String> = emptyArray(),

@field:JsonUnwrapped
val legalEntity: LegalEntityDto,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ import org.eclipse.tractusx.bpdm.common.service.DataClassUnwrappedJsonDeserializ
@JsonDeserialize(using = DataClassUnwrappedJsonDeserializer::class)
@Schema(name = "LegalEntityGateOutput", description = "Legal entity with references")
data class LegalEntityGateOutput(

val legalNameParts: Array<String> = emptyArray(),

@field:JsonUnwrapped
val legalEntity: LegalEntityResponse,

Expand Down

0 comments on commit ed28243

Please sign in to comment.