org.scalatra.swagger
package org.scalatra.swagger
Members list
Packages
package org.scalatra.swagger.reflect
Type members
Classlikes
trait AllowableValues
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
object AllowableValues
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
AllowableValues.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
case class ApiInfo(title: String, description: String, termsOfServiceUrl: String, contact: ContactInfo, license: LicenseInfo)
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
case class ApiKey(keyName: String, passAs: String, description: String) extends AuthorizationType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AuthorizationTypeclass Objecttrait Matchableclass AnyShow all
case class ApplicationGrant(tokenEndpoint: TokenEndpoint) extends GrantType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait GrantTypeclass Objecttrait Matchableclass AnyShow all
case class AuthorizationCodeGrant(tokenRequestEndpoint: TokenRequestEndpoint, tokenEndpoint: TokenEndpoint) extends GrantType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait GrantTypeclass Objecttrait Matchableclass AnyShow all
trait AuthorizationType
case class BasicAuth(keyName: String, description: String) extends AuthorizationType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AuthorizationTypeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ContainerDataTypeclass ValueDataType
object DataType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
trait GrantType
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
case class ImplicitGrant(loginEndpoint: LoginEndpoint, tokenName: String) extends GrantType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait GrantTypeclass Objecttrait Matchableclass AnyShow all
trait JacksonSwaggerBase extends ScalatraBase, JacksonJsonSupport, CorsSupport, SwaggerBase
Attributes
- Supertypes
-
trait SwaggerBasetrait CorsSupporttrait JacksonJsonSupporttrait JValueResulttrait JacksonJsonOutputtrait JsonMethodstrait JsonSupport[JValue]trait JsonOutput[JValue]trait JsonMethods[JValue]trait ApiFormatstrait ScalatraBasetrait DefaultImplicitConversionstrait LowPriorityImplicitConversionstrait LowestPriorityImplicitConversionstrait TypeConverterSupporttrait ScalatraParamsImplicitstrait Initializabletrait DynamicScopetrait RequestResponseScopetrait CoreDsltrait Controltrait Handlertrait ScalatraContexttrait CookieContexttrait SessionSupporttrait ServletApiImplicitsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
case class Model(id: String, name: String, qualifiedName: Option[String], description: Option[String], properties: List[(String, ModelProperty)], baseModel: Option[String], discriminator: Option[String])
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
case class ModelProperty(`type`: DataType, position: Int, required: Boolean, description: Option[String], allowableValues: AllowableValues, example: Option[String], default: Option[String], minimumValue: Option[Double], maximumValue: Option[Double], hidden: Boolean)
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
trait NativeSwaggerBase extends ScalatraBase, NativeJsonSupport, CorsSupport, SwaggerBase
Attributes
- Supertypes
-
trait SwaggerBasetrait CorsSupporttrait NativeJsonSupporttrait JValueResulttrait NativeJsonOutputtrait JsonMethodstrait JsonSupport[Document]trait JsonOutput[Document]trait JsonMethods[Document]trait ApiFormatstrait ScalatraBasetrait DefaultImplicitConversionstrait LowPriorityImplicitConversionstrait LowestPriorityImplicitConversionstrait TypeConverterSupporttrait ScalatraParamsImplicitstrait Initializabletrait DynamicScopetrait RequestResponseScopetrait CoreDsltrait Controltrait Handlertrait ScalatraContexttrait CookieContexttrait SessionSupporttrait ServletApiImplicitsclass Objecttrait Matchableclass AnyShow all
case class OAuth(scopes: List[String], grantTypes: List[GrantType], keyName: String, description: String) extends AuthorizationType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AuthorizationTypeclass Objecttrait Matchableclass AnyShow all
case class Operation(method: HttpMethod, operationId: String, responseClass: DataType, summary: String, position: Int, description: Option[String], deprecated: Boolean, parameters: List[Parameter], responseMessages: List[ResponseMessage], consumes: List[String], produces: List[String], schemes: List[String], authorizations: List[String], tags: List[String])
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object ParamType extends Enumeration
Attributes
- Supertypes
-
class Enumerationtrait Serializableclass Objecttrait Matchableclass Any
- Self type
-
ParamType.type
case class Parameter(name: String, `type`: DataType, description: Option[String], paramType: ParamType, defaultValue: Option[String], allowableValues: AllowableValues, required: Boolean, position: Int, example: Option[String], minimumValue: Option[Double], maximumValue: Option[Double], hidden: Boolean)
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object Swagger
class Swagger(val swaggerVersion: String, val apiVersion: String, val apiInfo: ApiInfo, val host: String, val extraSwaggerDefinition: Option[JValue]) extends SwaggerEngine
An instance of this class is used to hold the API documentation.
An instance of this class is used to hold the API documentation.
Attributes
- Companion
- object
- Supertypes
trait SwaggerBase extends Initializable
Trait that serves the resource and operation listings, as specified by the Swagger specification.
Trait that serves the resource and operation listings, as specified by the Swagger specification.
Attributes
- Supertypes
-
trait Initializableclass Objecttrait Matchableclass Any
- Known subtypes
-
trait JacksonSwaggerBasetrait NativeSwaggerBase
- Self type
-
ScalatraBase & JsonSupport[_] & CorsSupport
trait SwaggerEngine
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class Swagger
trait SwaggerSupport extends ScalatraBase, SwaggerSupportBase, SwaggerSupportSyntax
Provides the necessary support for adding documentation to your routes.
Provides the necessary support for adding documentation to your routes.
Attributes
- Supertypes
-
trait SwaggerSupportSyntaxtrait CorsSupporttrait SwaggerSupportBasetrait ScalatraBasetrait DefaultImplicitConversionstrait LowPriorityImplicitConversionstrait LowestPriorityImplicitConversionstrait TypeConverterSupporttrait ScalatraParamsImplicitstrait Initializabletrait DynamicScopetrait RequestResponseScopetrait CoreDsltrait Controltrait Handlertrait ScalatraContexttrait CookieContexttrait SessionSupporttrait ServletApiImplicitsclass Objecttrait Matchableclass AnyShow all
trait SwaggerSupportBase
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait SwaggerSupport
object SwaggerSupportSyntax
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SwaggerSupportSyntax.type
trait SwaggerSupportSyntax extends Initializable, CorsSupport
Attributes
- Companion
- object
- Supertypes
-
trait CorsSupporttrait Handlertrait Initializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait SwaggerSupport
- Self type
-
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object annotations
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
annotations.type
In this article