-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #924 from nickgrippin/msa-title
Add name to MSA response
- Loading branch information
Showing
5 changed files
with
53 additions
and
3 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
3 changes: 2 additions & 1 deletion
3
api/src/main/scala/hmda/api/protocol/processing/MsaProtocol.scala
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,10 +1,11 @@ | ||
package hmda.api.protocol.processing | ||
|
||
import hmda.query.model.filing.{ Irs, Msa, MsaSummary } | ||
import hmda.query.model.filing.{ Irs, Msa, MsaSummary, MsaWithName } | ||
import spray.json.DefaultJsonProtocol | ||
|
||
trait MsaProtocol extends DefaultJsonProtocol { | ||
implicit val msaProtocol = jsonFormat13(Msa.apply) | ||
implicit val msaWithNameProtocol = jsonFormat14(MsaWithName.apply) | ||
implicit val msaSummaryProtocol = jsonFormat12(MsaSummary.apply) | ||
implicit val irsProtocol = jsonFormat2(Irs.apply) | ||
} |
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
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