Skip to content

Commit aaffd70

Browse files
committed
fix oneOfApiErrors visibility
1 parent ae1aebd commit aaffd70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/scala/app/softnetwork/api/server/ApiErrors.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ object ApiErrors extends SchemaDerivation with TapirJson4s {
9898
.example(ApiErrors.ErrorMessage("Test error message"))
9999
)
100100

101-
protected lazy val oneOfApiErrors
101+
val oneOfApiErrors
102102
: EndpointOutput.OneOf[ApiErrors.ErrorInfo, ApiErrors.ErrorInfo] =
103103
oneOf[ApiErrors.ErrorInfo](
104104
// returns required http code for different types of ErrorInfo.

0 commit comments

Comments
 (0)