wvlet.airframe.http.codegen

Members list

Concise view

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

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

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
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

Graph
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
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
Graph
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Self type
class HttpCodeGenerator(isHelp: Boolean, logLevel: Option[LogLevel]) extends LogSupport

Attributes

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

Attributes

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

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

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

Graph
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

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