Package

org.scalatra

swagger

Permalink

package swagger

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. swagger
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait AllowableValues extends AnyRef

    Permalink
  2. case class Api(apiVersion: String, swaggerVersion: String, resourcePath: String, description: Option[String] = None, produces: List[String] = Nil, consumes: List[String] = Nil, protocols: List[String] = Nil, apis: List[Endpoint] = Nil, models: Map[String, Model] = Map.empty, authorizations: List[String] = Nil, position: Int = 0) extends Product with Serializable

    Permalink
  3. case class ApiInfo(title: String, description: String, termsOfServiceUrl: String, contact: ContactInfo, license: LicenseInfo) extends Product with Serializable

    Permalink
  4. case class ApiKey(keyName: String, passAs: String = "header", description: String = "") extends AuthorizationType with Product with Serializable

    Permalink
  5. case class ApplicationGrant(tokenEndpoint: TokenEndpoint) extends GrantType with Product with Serializable

    Permalink
  6. case class AuthorizationCodeGrant(tokenRequestEndpoint: TokenRequestEndpoint, tokenEndpoint: TokenEndpoint) extends GrantType with Product with Serializable

    Permalink
  7. trait AuthorizationType extends AnyRef

    Permalink
  8. case class BasicAuth(keyName: String, description: String = "") extends AuthorizationType with Product with Serializable

    Permalink
  9. case class ContactInfo(name: String, url: String, email: String) extends Product with Serializable

    Permalink
  10. sealed trait DataType extends AnyRef

    Permalink
  11. case class Endpoint(path: String, description: Option[String] = None, operations: List[Operation] = Nil) extends Product with Serializable

    Permalink
  12. trait GrantType extends AnyRef

    Permalink
  13. case class ImplicitGrant(loginEndpoint: LoginEndpoint, tokenName: String) extends GrantType with Product with Serializable

    Permalink
  14. trait JacksonSwaggerBase extends ScalatraBase with JacksonJsonSupport with CorsSupport with SwaggerBase

    Permalink
  15. case class LicenseInfo(name: String, url: String) extends Product with Serializable

    Permalink
  16. case class LoginEndpoint(url: String) extends Product with Serializable

    Permalink
  17. case class Model(id: String, name: String, qualifiedName: Option[String] = None, description: Option[String] = None, properties: List[(String, ModelProperty)] = Nil, baseModel: Option[String] = None, discriminator: Option[String] = None) extends Product with Serializable

    Permalink
  18. case class ModelProperty(type: DataType, position: Int = 0, required: Boolean = false, description: Option[String] = None, allowableValues: AllowableValues = AllowableValues.AnyValue, example: Option[String] = None, default: Option[String] = None, minimumValue: Option[Double] = None, maximumValue: Option[Double] = None, hidden: Boolean = false) extends Product with Serializable

    Permalink
  19. trait NativeSwaggerBase extends ScalatraBase with NativeJsonSupport with CorsSupport with SwaggerBase

    Permalink
  20. case class OAuth(scopes: List[String], grantTypes: List[GrantType], keyName: String = "oauth2", description: String = "") extends AuthorizationType with Product with Serializable

    Permalink
  21. case class Operation(method: HttpMethod, operationId: String, responseClass: DataType, summary: String, position: Int, description: Option[String] = None, deprecated: Boolean = false, parameters: List[Parameter] = Nil, responseMessages: List[ResponseMessage] = Nil, consumes: List[String] = Nil, produces: List[String] = Nil, schemes: List[String] = Nil, authorizations: List[String] = Nil, tags: List[String] = Nil) extends Product with Serializable

    Permalink
  22. case class Parameter(name: String, type: DataType, description: Option[String] = None, paramType: ParamType = ParamType.Query, defaultValue: Option[String] = None, allowableValues: AllowableValues = AllowableValues.AnyValue, required: Boolean = true, position: Int = 0, example: Option[String] = None, minimumValue: Option[Double] = None, maximumValue: Option[Double] = None, hidden: Boolean = false) extends Product with Serializable

    Permalink
  23. case class ResponseMessage(code: Int, message: String, responseModel: Option[String] = None) extends Product with Serializable

    Permalink
  24. class Swagger extends SwaggerEngine

    Permalink

    An instance of this class is used to hold the API documentation.

  25. trait SwaggerBase extends Initializable

    Permalink

    Trait that serves the resource and operation listings, as specified by the Swagger specification.

  26. trait SwaggerEngine extends AnyRef

    Permalink
  27. trait SwaggerSupport extends ScalatraBase with SwaggerSupportBase with SwaggerSupportSyntax

    Permalink

    Provides the necessary support for adding documentation to your routes.

  28. trait SwaggerSupportBase extends AnyRef

    Permalink
  29. trait SwaggerSupportSyntax extends Initializable with CorsSupport

    Permalink
  30. case class TokenEndpoint(url: String, tokenName: String) extends Product with Serializable

    Permalink
  31. case class TokenRequestEndpoint(url: String, clientIdName: String, clientSecretName: String) extends Product with Serializable

    Permalink

Value Members

  1. object AllowableValues

    Permalink
  2. object DataType

    Permalink
  3. object ParamType extends Enumeration

    Permalink
  4. object Swagger

    Permalink
  5. object SwaggerSupportSyntax

    Permalink
  6. object Symbols

    Permalink
  7. object annotations

    Permalink
  8. package reflect

    Permalink
  9. package runtime

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped