com
.
wordnik
.
swagger
.
codegen
model
package
model
Visibility
Public
All
Type Members
case class
AllowableListValues
(
values:
List
[
String
] =
immutable.this.Nil
,
valueType:
String
=
"LIST"
)
extends
AllowableValues
with
Product
with
Serializable
case class
AllowableRangeValues
(
min:
String
,
max:
String
)
extends
AllowableValues
with
Product
with
Serializable
trait
AllowableValues
extends
AnyRef
case class
ApiDescription
(
path:
String
,
description:
Option
[
String
]
,
operations:
List
[
Operation
] =
immutable.this.Nil
)
extends
Product
with
Serializable
case class
ApiInfo
(
title:
String
,
description:
String
,
termsOfServiceUrl:
String
,
contact:
String
,
license:
String
,
licenseUrl:
String
)
extends
Product
with
Serializable
case class
ApiKey
(
keyname:
String
,
passAs:
String
=
"header"
)
extends
AuthorizationType
with
Product
with
Serializable
case class
ApiKeyValue
(
keyName:
String
,
passAs:
String
,
value:
String
)
extends
AuthorizationValue
with
Product
with
Serializable
case class
ApiListing
(
apiVersion:
String
,
swaggerVersion:
String
,
basePath:
String
,
resourcePath:
String
,
produces:
List
[
String
] =
immutable.this.List.empty[Nothing]
,
consumes:
List
[
String
] =
immutable.this.List.empty[Nothing]
,
protocols:
List
[
String
] =
immutable.this.List.empty[Nothing]
,
authorizations:
List
[
AuthorizationType
] =
immutable.this.List.empty[Nothing]
,
apis:
List
[
ApiDescription
] =
immutable.this.Nil
,
models:
Option
[
Map
[
String
,
Model
]] =
scala.None
,
description:
Option
[
String
] =
scala.None
,
position:
Int
=
0
)
extends
Product
with
Serializable
case class
ApiListingReference
(
path:
String
,
description:
Option
[
String
]
,
position:
Int
=
0
)
extends
Product
with
Serializable
case class
AuthorizationCodeGrant
(
tokenRequestEndpoint:
TokenRequestEndpoint
,
tokenEndpoint:
TokenEndpoint
)
extends
GrantType
with
Product
with
Serializable
trait
AuthorizationType
extends
AnyRef
trait
AuthorizationValue
extends
AnyRef
class
ClientOpts
extends
AnyRef
trait
GrantType
extends
AnyRef
case class
ImplicitGrant
(
loginEndpoint:
LoginEndpoint
,
tokenName:
String
)
extends
GrantType
with
Product
with
Serializable
case class
LoginEndpoint
(
url:
String
)
extends
Product
with
Serializable
case class
Model
(
id:
String
,
name:
String
,
qualifiedType:
String
,
properties:
LinkedHashMap
[
String
,
ModelProperty
]
,
description:
Option
[
String
] =
scala.None
,
baseModel:
Option
[
String
] =
scala.None
,
discriminator:
Option
[
String
] =
scala.None
)
extends
Product
with
Serializable
case class
ModelProperty
(
type:
String
,
qualifiedType:
String
,
position:
Int
=
0
,
required:
Boolean
=
false
,
description:
Option
[
String
] =
scala.None
,
allowableValues:
AllowableValues
=
AnyAllowableValues
,
items:
Option
[
ModelRef
] =
scala.None
)
extends
Product
with
Serializable
case class
ModelRef
(
type:
String
,
ref:
Option
[
String
] =
scala.None
,
qualifiedType:
Option
[
String
] =
scala.None
)
extends
Product
with
Serializable
case class
OAuth
(
scopes:
List
[
String
]
,
grantTypes:
List
[
GrantType
]
)
extends
AuthorizationType
with
Product
with
Serializable
case class
Operation
(
method:
String
,
summary:
String
,
notes:
String
,
responseClass:
String
,
nickname:
String
,
position:
Int
,
produces:
List
[
String
] =
immutable.this.List.empty[Nothing]
,
consumes:
List
[
String
] =
immutable.this.List.empty[Nothing]
,
protocols:
List
[
String
] =
immutable.this.List.empty[Nothing]
,
authorizations:
List
[
AuthorizationType
] =
immutable.this.List.empty[Nothing]
,
parameters:
List
[
Parameter
] =
immutable.this.List.empty[Nothing]
,
responseMessages:
List
[
ResponseMessage
] =
immutable.this.List.empty[Nothing]
,
deprecated:
Option
[
String
] =
scala.None
)
extends
Product
with
Serializable
case class
Parameter
(
name:
String
,
description:
Option
[
String
]
,
defaultValue:
Option
[
String
]
,
required:
Boolean
,
allowMultiple:
Boolean
,
dataType:
String
,
allowableValues:
AllowableValues
=
AnyAllowableValues
,
paramType:
String
,
paramAccess:
Option
[
String
] =
scala.None
)
extends
Product
with
Serializable
case class
ResourceListing
(
apiVersion:
String
,
swaggerVersion:
String
,
basePath:
String
,
apis:
List
[
ApiListingReference
] =
immutable.this.Nil
,
authorizations:
List
[
AuthorizationType
] =
immutable.this.Nil
,
info:
Option
[
ApiInfo
] =
scala.None
)
extends
Product
with
Serializable
case class
ResponseMessage
(
code:
Int
,
message:
String
,
responseModel:
Option
[
String
] =
scala.None
)
extends
Product
with
Serializable
case class
TokenEndpoint
(
url:
String
,
tokenName:
String
)
extends
Product
with
Serializable
case class
TokenRequestEndpoint
(
url:
String
,
clientIdName:
String
,
clientSecretName:
String
)
extends
Product
with
Serializable
case class
ValidationError
(
path:
String
,
message:
String
,
severity:
String
)
extends
Product
with
Serializable
Value Members
object
AnyAllowableValues
extends
AllowableValues
with
Product
with
Serializable
object
SwaggerSerializers
object
SwaggerValidator
package
legacy
Ungrouped