move pk unique and fk out of description and into table properties
This commit is contained in:
@@ -282,7 +282,6 @@ spec withConfig = withConfig (baseCfg { configDbSchemas = fromList ["v1", "v2",
|
||||
"type" : "object",
|
||||
"properties" : {
|
||||
"id" : {
|
||||
"description" : "Note:\nThis is a Primary Key.<pk/>",
|
||||
"format" : "int32",
|
||||
"type" : "integer"
|
||||
},
|
||||
@@ -293,7 +292,12 @@ spec withConfig = withConfig (baseCfg { configDbSchemas = fromList ["v1", "v2",
|
||||
},
|
||||
"required" : [
|
||||
"id"
|
||||
]
|
||||
],
|
||||
"x-foreign-keys" : [],
|
||||
"x-primary-key" : [
|
||||
"id"
|
||||
],
|
||||
"x-unique" : []
|
||||
}
|
||||
|]
|
||||
|
||||
@@ -311,7 +315,6 @@ spec withConfig = withConfig (baseCfg { configDbSchemas = fromList ["v1", "v2",
|
||||
"type" : "object",
|
||||
"properties" : {
|
||||
"id" : {
|
||||
"description" : "Note:\nThis is a Primary Key.<pk/>",
|
||||
"format" : "int32",
|
||||
"type" : "integer"
|
||||
},
|
||||
@@ -322,7 +325,12 @@ spec withConfig = withConfig (baseCfg { configDbSchemas = fromList ["v1", "v2",
|
||||
},
|
||||
"required" : [
|
||||
"id"
|
||||
]
|
||||
],
|
||||
"x-foreign-keys" : [],
|
||||
"x-primary-key" : [
|
||||
"id"
|
||||
],
|
||||
"x-unique" : []
|
||||
}
|
||||
|]
|
||||
|
||||
@@ -340,7 +348,6 @@ spec withConfig = withConfig (baseCfg { configDbSchemas = fromList ["v1", "v2",
|
||||
"type" : "object",
|
||||
"properties" : {
|
||||
"id" : {
|
||||
"description" : "Note:\nThis is a Primary Key.<pk/>",
|
||||
"format" : "int32",
|
||||
"type" : "integer"
|
||||
},
|
||||
@@ -351,7 +358,12 @@ spec withConfig = withConfig (baseCfg { configDbSchemas = fromList ["v1", "v2",
|
||||
},
|
||||
"required" : [
|
||||
"id"
|
||||
]
|
||||
],
|
||||
"x-foreign-keys" : [],
|
||||
"x-primary-key" : [
|
||||
"id"
|
||||
],
|
||||
"x-unique" : []
|
||||
}
|
||||
|]
|
||||
|
||||
@@ -369,7 +381,6 @@ spec withConfig = withConfig (baseCfg { configDbSchemas = fromList ["v1", "v2",
|
||||
"type" : "object",
|
||||
"properties" : {
|
||||
"id" : {
|
||||
"description" : "Note:\nThis is a Primary Key.<pk/>",
|
||||
"format" : "int32",
|
||||
"type" : "integer"
|
||||
},
|
||||
@@ -380,7 +391,12 @@ spec withConfig = withConfig (baseCfg { configDbSchemas = fromList ["v1", "v2",
|
||||
},
|
||||
"required" : [
|
||||
"id"
|
||||
]
|
||||
],
|
||||
"x-foreign-keys" : [],
|
||||
"x-primary-key" : [
|
||||
"id"
|
||||
],
|
||||
"x-unique" : []
|
||||
}
|
||||
|]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user