Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Baccata committed May 12, 2024
1 parent e6ded34 commit 0cba540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/examples/shared/src/main/scala/model.scala
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ case class LocationNotRecognised(errorMessage: String) extends Throwable derives
class HelloWorldService() derives API {

@errors[LocationNotRecognised]
@hints(Http(method = "GET", uri = "/hello/{name}"))
@hints(Http(method = "GET", uri = "/hello/{name}"), Readonly())
def hello(
@hints(HttpLabel()) name: String,
@hints(HttpQuery("from")) from: Option[String]
Expand Down

0 comments on commit 0cba540

Please sign in to comment.