Skip to content

Commit

Permalink
Merge pull request #2326 from hindog/enumeratum-doc-fix
Browse files Browse the repository at this point in the history
Update import statement for Enumeratum documentation
  • Loading branch information
adamw authored Jul 25, 2022
2 parents c9aa7af + d2014a5 commit 4e065d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/endpoint/integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ enumerations. To use, add the following dependency:
"com.softwaremill.sttp.tapir" %% "tapir-enumeratum" % "@VERSION@"
```

Then, `import sttp.tapir.codec.enumeratum`, or extends the `sttp.tapir.codec.enumeratum.TapirCodecEnumeratum` trait.
Then, `import sttp.tapir.codec.enumeratum._`, or extends the `sttp.tapir.codec.enumeratum.TapirCodecEnumeratum` trait.

This will bring into scope implicit values for values extending `*EnumEntry`.

Expand Down Expand Up @@ -142,4 +142,4 @@ Note that due to limitations of the `derevo` library one can't provide custom de

## Next

Read on about [serving static content](static.md).
Read on about [serving static content](static.md).

0 comments on commit 4e065d8

Please sign in to comment.