Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about tapir

Read more about tapir

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - tapir

Writing unit tests for tapir endpoints (API Layer) in scala

I have created tapir endpoints in scala, where the architecture of the project is such that API layer calls service layer and service layer calls repo layer. I have written unit tests for service and ...
test-img

Ronak Katta

scala

unit-testing

akka-http

web-api-testing

tapir

Votes: 0

Answers: 1

Latest Answer

Tapir itself does not expose endpoints, it's your http server framework that does it (http4s, zio, play...). That means that for testing your endpoints, you should rely on what your http server framew...
test-img

Gaël J

How to make an Scala Enumeration implement a Trait without modifying the original Enum?

I'm toying with Scala for the first time so bear with me. Also using tapir to declare an API, where I'm having issues providing a Schema for an enum. I have a bunch of enums defined that are part of m...
test-img

Gabriel Piffaretti

scala

enums

tapir

Votes: 0

Answers: 1

Latest Answer

Why does implicit need to be defined in the enum itself in the first place? Just make it its own definition. import scala.language.implicitConversions object EnumImplicits { implicit def schema[E ...
test-img

Dima

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved