Principled code generation from OpenAPI specifications. https://guardrail.dev/
So i'm working on upgrading an older service onto the latest version of guardrail. One of the generated clients in particular seems to trip up the compiler complaining about unused imports for AkkaHttpImplicits.scala and Implicits.scala, but when compared to a seemingly similar client with the same code-gen created for those file. There aren't any warnings.
I know i could just surpress the warnings, but i'm more confused as to how one client is fine, but the other triggers warnings
x-jvm-type: ...
, since it gives the capability to use absolutely anything that's supported either by guardrail internally or by your own extensions, so there's no guarantee which imports would be used or not.
scalacOptions ++= Seq(
"-Wconf:src=src_managed/.*:silent",
)
<arg>-Xlint:-unused,_</arg>
-Wconf:src
, since we actually know exactly which directories we generated into
-Xlint:-unused,_
for -Wconf:src:...
, that would be a step in the right direction
guardrail_${scala.binary.version}
artifact as root is that it's a no-op for the build tools at the moment, we can gradually implement the tooling improvements when there's time
tracing
stuff, as akka-http, http4s, dropwizard, and spring-mvc all have a better way of doing that, either by mapRoute
or by mapping over the entire server itself, and for the Java servers my understanding is there's deep introspection modules that can be registered to provide the route-level tracing required
dev.guardrail.generators.{protocol, server, client}
with perhaps also a helpers
package
guardrail-core
being reflected in dev.guardrail.core.{...}
?
dev.guardrail.{...}
be the de-facto core
?
core
package, but i'm not really against it either