Skip to content

Commit

Permalink
Merge pull request #33 from CaritasDeutschland/feature-formal-in-basi…
Browse files Browse the repository at this point in the history
…c-response

feat: added language formal property to basic response
  • Loading branch information
mebo4b authored Apr 12, 2022
2 parents ef1f84c + 405e759 commit c9232a9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions api/consultingtypeservice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ components:
isVideoCallAllowed:
type: boolean
example: true
languageFormal:
type: boolean
example: true

ExtendedConsultingTypeResponseDTO:
type: object
Expand All @@ -207,9 +210,6 @@ components:
slug:
type: string
example: part-of-url
languageFormal:
type: boolean
example: true
lockedAgencies:
type: boolean
example: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ public static BasicConsultingTypeResponseDTO mapConsultingType(ConsultingType co
.registration(mapRegistration(consultingType.getRegistration()))
.groupChat(mapGroupChat(consultingType.getGroupChat()))
.showAskerProfile(consultingType.getShowAskerProfile())
.isVideoCallAllowed(consultingType.getIsVideoCallAllowed());
.isVideoCallAllowed(consultingType.getIsVideoCallAllowed())
.languageFormal(consultingType.getLanguageFormal());
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public void mapConsultingType_Should_MapAllBasicProperties() throws IOException
"monitoring",
"initializeFeedbackChat",
"isPeerChat",
"languageFormal",
"roles",
"notifications",
"registration",
Expand Down

0 comments on commit c9232a9

Please sign in to comment.