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
|
||||
foobar:
|
||||
type: boolean
|
||||
created_at:
|
||||
type: string
|
||||
format: date-time
|
||||
required:
|
||||
- id
|
||||
- try
|
||||
@ -82,3 +85,4 @@ components:
|
||||
- finally
|
||||
- lazy
|
||||
- foobar
|
||||
- created_at
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user