SwaggerEngine

org.scalatra.swagger.SwaggerEngine

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Swagger

Members list

Value members

Abstract methods

def apiVersion: String
def extraSwaggerDefinition: Option[JValue]
def host: String
def register(listingPath: String, resourcePath: String, description: Option[String], s: SwaggerSupportSyntax & SwaggerSupportBase, consumes: List[String], produces: List[String], protocols: List[String], authorizations: List[String]): Unit

Registers the documentation for an API with the given path.

Registers the documentation for an API with the given path.

Attributes

def swaggerVersion: String

Concrete methods

Configurations used by UrlGenerator when creating baseUrl.

Configurations used by UrlGenerator when creating baseUrl.

Attributes

def doc(path: String): Option[Api]

Returns the documentation for the given path.

Returns the documentation for the given path.

Attributes

def docs: Iterable[Api]