package codegen
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- case class HttpClientGeneratorConfig(apiPackageName: String, clientType: HttpClientGenerator = AsyncClientGenerator, targetPackageName: String, targetClassName: Option[String]) extends Product with Serializable
- class HttpCodeGenerator extends LogSupport
- case class HttpCodeGeneratorOption(classpath: Seq[String] = Seq.empty, outDir: File, targetDir: File, targets: Seq[String] = Seq.empty) extends Product with Serializable
- case class OpenAPIGeneratorOption(classpath: Seq[String] = Seq.empty, outFile: File, formatType: String = "yaml", title: String, version: String, packageNames: Seq[String]) extends Product with Serializable
Value Members
-
object
ClassScanner extends LogSupport
Scan all class files in the class path and jar files to find airframe-http interface classes
- object HttpClientGeneratorConfig extends Serializable
-
object
HttpClientIR extends LogSupport
Generate an intermediate representation (IR) of Scala HTTP client code from a given airframe-http interface definition (Router).
Generate an intermediate representation (IR) of Scala HTTP client code from a given airframe-http interface definition (Router).
This IR abstracts away the differences between Scala (Sync/Async clients) and Scala.js (Async + AJAX).
-
object
HttpCodeGenerator extends LogSupport
Generate HTTP client code for Scala, Scala.js targets using a given IR
-
object
RouteAnalyzer
Analyze a given HTTP Route, and build URL path strings, user-input arguments, and http client call arguments.
-
object
RouteScanner extends LogSupport
Scans Airframe HTTP interfaces from the class loader and build a Router object