Skip to content

Commit

Permalink
fix codegen test
Browse files Browse the repository at this point in the history
  • Loading branch information
yisraelU committed Jul 17, 2023
1 parent be9c73a commit 175fec1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,9 @@ final class RendererConfigSpec extends munit.FunSuite {
| val id: ShapeId = ShapeId("smithy4s.errors", "OperationError")
| val hints: Hints = Hints.empty
| final case class BadRequestCase(badRequest: BadRequest) extends OperationError
| def badRequest(badRequest:BadRequest): OperationError = BadRequestCase(badRequest)
| final case class InternalServerErrorCase(internalServerError: InternalServerError) extends OperationError
| def internalServerError(internalServerError:InternalServerError): OperationError = InternalServerErrorCase(internalServerError)
| object BadRequestCase {
| val hints: Hints = Hints.empty
| val schema: Schema[BadRequestCase] = bijection(BadRequest.schema.addHints(hints), BadRequestCase(_), _.badRequest)
Expand Down

0 comments on commit 175fec1

Please sign in to comment.