Skip to content

Commit df78317

Browse files
committed
New: added float and binary to SchemaFormat
1 parent a729dc4 commit df78317

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/kotlin/de/lancom/openapi/common/types/SchemaFormat.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ data class SchemaFormat(val format: String) : JsonWrapper {
1717
val UUID = SchemaFormat("uuid")
1818
val INT32 = SchemaFormat("int32")
1919
val INT64 = SchemaFormat("int64")
20+
val FLOAT = SchemaFormat("float")
2021
val DATE = SchemaFormat("date")
2122
val DATE_TIME = SchemaFormat("date-time")
2223
val EMAIL = SchemaFormat("email")
24+
val BINARY = SchemaFormat("binary")
2325
}
2426
}

0 commit comments

Comments
 (0)