blob: 4274bcc71ffbf52b494be71e7d1dc1f198b70c32 [file] [log] [blame]
{
"openapi": "3.0.0",
"info": {
"title": "test",
"version": "v1"
},
"paths": {},
"components": {
"schemas": {
"Foo": {
"type": "string"
},
"LoadBalancerSettings": {
"type": "object",
"properties": {
"consistentHash": {
"type": "object",
"properties": {
"httpHeaderName": {
"type": "string"
}
}
},
"b": {
"type": "string"
}
},
"oneOf": [
{
"not": {
"anyOf": [
{
"required": [
"consistentHash",
"b"
],
"properties": {
"consistentHash": {
"oneOf": [
{
"not": {
"anyOf": [
{
"required": [
"httpHeaderName"
]
}
]
}
},
{
"required": [
"httpHeaderName"
]
}
]
}
}
}
]
}
},
{
"required": [
"consistentHash",
"b"
],
"properties": {
"consistentHash": {
"oneOf": [
{
"not": {
"anyOf": [
{
"required": [
"httpHeaderName"
]
}
]
}
},
{
"required": [
"httpHeaderName"
]
}
]
}
}
}
]
},
"LoadBalancerSettings.ConsistentHashLB": {
"type": "object",
"properties": {
"httpHeaderName": {
"type": "string"
}
},
"oneOf": [
{
"not": {
"anyOf": [
{
"required": [
"httpHeaderName"
]
}
]
}
},
{
"required": [
"httpHeaderName"
]
}
]
}
}
}
}