-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Pat Losoponkul
committed
Apr 17, 2023
1 parent
dabc9dc
commit 06c344c
Showing
5 changed files
with
56 additions
and
59 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
...m-agent/service/server/src/main/scala/io/iohk/atala/api/http/codec/CustomMediaTypes.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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package io.iohk.atala.api.http.codec | ||
|
||
import sttp.model.MediaType | ||
|
||
object CustomMediaTypes { | ||
|
||
val `application/did+ld+json`: MediaType = MediaType( | ||
mainType = "application", | ||
subType = "did+ld+json" | ||
) | ||
|
||
val `application/ld+json;did-resolution`: MediaType = MediaType( | ||
mainType = "application", | ||
subType = "ld+json", | ||
otherParameters = Map("profile" -> "https://w3id.org/did-resolution") | ||
) | ||
|
||
} |
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
29 changes: 0 additions & 29 deletions
29
...vice/server/src/main/scala/io/iohk/atala/castor/controller/http/DIDResolutionResult.scala
This file was deleted.
Oops, something went wrong.