feat(common)!: Release common-3.0.0 (#284)

This commit is contained in:
Bernd Schorgers 2024-03-11 10:28:52 +01:00 committed by GitHub
parent a27c4f6124
commit 3981facca6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 124 additions and 116 deletions

View file

@ -65,17 +65,10 @@
},
"service": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"port": {
"type": ["string", "integer"]
}
},
"required": ["name"]
"oneOf": [
{"$ref": "#/serviceReferenceByName"},
{"$ref": "#/serviceReferenceByIdentifier"}
]
}
},
"required": ["path", "service"]
@ -101,5 +94,33 @@
}
},
"required": ["hosts"]
},
"serviceReferenceByName": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"port": {
"type": ["integer"]
}
},
"required": ["name", "port"]
},
"serviceReferenceByIdentifier": {
"type": "object",
"additionalProperties": false,
"properties": {
"identifier": {
"type": "string"
},
"port": {
"type": ["string", "integer"]
}
},
"required": ["identifier"]
}
}