Skip to content

Commit

Permalink
feat: commit the current changes
Browse files Browse the repository at this point in the history
Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
  • Loading branch information
yshyn-iohk committed Sep 25, 2024
1 parent 414204c commit 40661de
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ package org.hyperledger.identus.pollux.credentialschema.http

import org.hyperledger.identus.api.http.*
import org.hyperledger.identus.pollux.core.model
import org.hyperledger.identus.pollux.core.model.schema.CredentialSchema
import org.hyperledger.identus.pollux.core.model.ResourceResolutionMethod
import org.hyperledger.identus.pollux.core.model.ResourceResolutionMethod.*
import org.hyperledger.identus.pollux.core.model.schema.CredentialSchema
import org.hyperledger.identus.pollux.credentialschema.http.CredentialSchemaResponse.annotations
import sttp.model.Uri
import sttp.model.Uri.*
import sttp.tapir.json.zio.schemaForZioJsonValue
import sttp.tapir.Schema
import sttp.tapir.Schema.annotations.{default, description, encodedExample, encodedName}
import sttp.tapir.json.zio.schemaForZioJsonValue
import zio.json.*
import zio.json.ast.Json

Expand Down Expand Up @@ -93,7 +93,6 @@ object CredentialSchemaResponse {
given decoder: zio.json.JsonDecoder[CredentialSchemaResponse] =
DeriveJsonDecoder.gen[CredentialSchemaResponse]

given resourceResolutionMethodSchema: Schema[ResourceResolutionMethod] = Schema.derived
given schema: Schema[CredentialSchemaResponse] = Schema.derived

object annotations {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import org.hyperledger.identus.api.http.*
import org.hyperledger.identus.pollux.core.model
import org.hyperledger.identus.pollux.core.model.schema.CredentialSchema
import org.hyperledger.identus.pollux.core.model.ResourceResolutionMethod
import org.hyperledger.identus.pollux.core.model.ResourceResolutionMethod.*
import org.hyperledger.identus.pollux.credentialschema.http.FilterInput.annotations
import sttp.tapir.EndpointIO.annotations.{example, query}
import sttp.tapir.Validator.*

case class FilterInput(
@query
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
package org.hyperledger.identus.pollux.core.model.schema

import org.hyperledger.identus.pollux.core.model.error.CredentialSchemaError
import org.hyperledger.identus.pollux.core.model.error.CredentialSchemaError.*
import org.hyperledger.identus.pollux.core.model.ResourceResolutionMethod
import org.hyperledger.identus.pollux.core.model.ResourceResolutionMethod.*
import zio.*
import zio.json.*

Expand Down

0 comments on commit 40661de

Please sign in to comment.