RapiTapir is a Ruby library inspired by Scala's Tapir for building type-safe HTTP APIs. It provides declarative endpoint definitions, automatic OpenAPI documentation generation, client code generation, and seamless integration with Sinatra, Rails, and Rack applications.