[scala] add [date-time] field to codegen unit test (#3939)

This commit is contained in:
sullis 2019-09-24 03:24:52 -07:00 committed by William Cheng
parent 85b4ddea39
commit 002da8d9f9
2 changed files with 6 additions and 1 deletions

View File

@ -75,6 +75,9 @@ components:
type: string
foobar:
type: boolean
created_at:
type: string
format: date-time
required:
- id
- try
@ -82,3 +85,4 @@ components:
- finally
- lazy
- foobar
- created_at

View File

@ -36,7 +36,8 @@ case class SomeObj (
`lazy`: String,
`private`: Option[String] = None,
`type`: Option[String] = None,
foobar: Boolean
foobar: Boolean,
createdAt: DateTime
) extends ApiModel
object SomeObjEnums {