forked from loafle/openapi-generator-original
[scala] add [date-time] field to codegen unit test (#3939)
This commit is contained in:
parent
85b4ddea39
commit
002da8d9f9
@ -75,6 +75,9 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
foobar:
|
foobar:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
created_at:
|
||||||
|
type: string
|
||||||
|
format: date-time
|
||||||
required:
|
required:
|
||||||
- id
|
- id
|
||||||
- try
|
- try
|
||||||
@ -82,3 +85,4 @@ components:
|
|||||||
- finally
|
- finally
|
||||||
- lazy
|
- lazy
|
||||||
- foobar
|
- foobar
|
||||||
|
- created_at
|
||||||
|
@ -36,7 +36,8 @@ case class SomeObj (
|
|||||||
`lazy`: String,
|
`lazy`: String,
|
||||||
`private`: Option[String] = None,
|
`private`: Option[String] = None,
|
||||||
`type`: Option[String] = None,
|
`type`: Option[String] = None,
|
||||||
foobar: Boolean
|
foobar: Boolean,
|
||||||
|
createdAt: DateTime
|
||||||
) extends ApiModel
|
) extends ApiModel
|
||||||
|
|
||||||
object SomeObjEnums {
|
object SomeObjEnums {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user