wvlet.airframe.http.codegen

Members list

Type members

Classlikes

object ClassScanner extends LogSupport

Scan all class files in the class path and jar files to find airframe-http interface classes

Scan all class files in the class path and jar files to find airframe-http interface classes

Attributes

Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
case class HttpClientGeneratorConfig(apiPackageName: String, clientType: HttpClientGenerator, targetPackageName: String, targetClassName: Option[String])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
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).

Attributes

Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object HttpCodeGenerator extends LogSupport

Generate HTTP client code for Scala, Scala.js targets using a given IR

Generate HTTP client code for Scala, Scala.js targets using a given IR

Attributes

Companion
class
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
class HttpCodeGenerator(isHelp: Boolean, logLevel: Option[LogLevel]) extends LogSupport

Attributes

Companion
object
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
case class HttpCodeGeneratorOption(classpath: Seq[String], outDir: File, targetDir: File, targets: Seq[String])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class OpenAPIGeneratorOption(classpath: Seq[String], outFile: File, formatType: String, title: String, version: String, packageNames: Seq[String])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object RouteAnalyzer

Analyze a given HTTP Route, and build URL path strings, user-input arguments, and http client call arguments.

Analyze a given HTTP Route, and build URL path strings, user-input arguments, and http client call arguments.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object RouteScanner extends LogSupport

Scans Airframe HTTP interfaces from the class loader and build a Router object

Scans Airframe HTTP interfaces from the class loader and build a Router object

Attributes

Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type