-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add api composition to response payload
- Loading branch information
1 parent
591093c
commit e3a7e86
Showing
4 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
src/main/kotlin/com/sortinghat/pattern_detector/api/PatternsPresent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
package com.sortinghat.pattern_detector.api | ||
|
||
import com.sortinghat.pattern_detector.domain.model.patterns.APIComposition | ||
import com.sortinghat.pattern_detector.domain.model.patterns.DatabasePerService | ||
import com.sortinghat.pattern_detector.domain.model.patterns.SingleServicePerHost | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class PatternsPresent( | ||
val databasePerService: Set<DatabasePerService>, | ||
val singleServicePerHost: Set<SingleServicePerHost> | ||
val singleServicePerHost: Set<SingleServicePerHost>, | ||
val apiCompositions: Set<APIComposition> | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters