|
377 | 377 | }
|
378 | 378 | }
|
379 | 379 | }
|
| 380 | + }, |
| 381 | + "Variant": { |
| 382 | + "description": "kek pek", |
| 383 | + "discriminator": { |
| 384 | + "propertyName": "type", |
| 385 | + "mapping": { |
| 386 | + "update": "#/components/schemas/VariantUpdate", |
| 387 | + "undo": "#/components/schemas/VariantUndo", |
| 388 | + "rollback": "#/components/schemas/VariantRollback", |
| 389 | + "scale": "#/components/schemas/VariantScale", |
| 390 | + "resources": "#/components/schemas/VariantResources", |
| 391 | + "firewall": "#/components/schemas/VariantFirewall", |
| 392 | + "gateway": "#/components/schemas/VariantGateway" |
| 393 | + } |
| 394 | + }, |
| 395 | + "oneOf": [ |
| 396 | + { |
| 397 | + "$ref": "#/components/schemas/VariantUpdate" |
| 398 | + }, |
| 399 | + { |
| 400 | + "$ref": "#/components/schemas/VariantUndo" |
| 401 | + }, |
| 402 | + { |
| 403 | + "$ref": "#/components/schemas/VariantRollback" |
| 404 | + }, |
| 405 | + { |
| 406 | + "$ref": "#/components/schemas/VariantScale" |
| 407 | + }, |
| 408 | + { |
| 409 | + "$ref": "#/components/schemas/VariantResources" |
| 410 | + }, |
| 411 | + { |
| 412 | + "$ref": "#/components/schemas/VariantFirewall" |
| 413 | + }, |
| 414 | + { |
| 415 | + "$ref": "#/components/schemas/VariantGateway" |
| 416 | + } |
| 417 | + ] |
| 418 | + }, |
| 419 | + "VariantFirewall": { |
| 420 | + "type": "object", |
| 421 | + "description": "Proposal to change firewall rules for deployment.", |
| 422 | + "properties": { |
| 423 | + "rules_added": { |
| 424 | + "type": "array", |
| 425 | + "description": "asdasdasdasdasdsad added to deployment. If not set, no rules are added.\n", |
| 426 | + "items": { |
| 427 | + "type": "string" |
| 428 | + } |
| 429 | + }, |
| 430 | + "rules_removed": { |
| 431 | + "type": "array", |
| 432 | + "description": "asdasdasdasdasdsad removed from deployment. If not set, no rules were removed.\n", |
| 433 | + "items": { |
| 434 | + "type": "string" |
| 435 | + } |
| 436 | + } |
| 437 | + } |
| 438 | + }, |
| 439 | + "VariantScale": { |
| 440 | + "type": "object", |
| 441 | + "description": "asdasdasdasdasd", |
| 442 | + "required": [ |
| 443 | + "replicas" |
| 444 | + ], |
| 445 | + "properties": { |
| 446 | + "replicas": { |
| 447 | + "type": "integer", |
| 448 | + "description": "asdasdasdasdasdsad", |
| 449 | + "example": 3 |
| 450 | + } |
| 451 | + } |
| 452 | + }, |
| 453 | + "VariantResources": { |
| 454 | + "type": "object", |
| 455 | + "description": "asdasdasdasdasd", |
| 456 | + "required": [ |
| 457 | + "resources" |
| 458 | + ], |
| 459 | + "properties": { |
| 460 | + "resources": { |
| 461 | + "type": "string" |
| 462 | + } |
| 463 | + } |
| 464 | + }, |
| 465 | + "VariantGateway": { |
| 466 | + "type": "object", |
| 467 | + "description": "asdasdasdasdasd", |
| 468 | + "properties": { |
| 469 | + "port": { |
| 470 | + "type": "string", |
| 471 | + "description": "asdasdasdasdasdsad" |
| 472 | + }, |
| 473 | + "name": { |
| 474 | + "type": "string", |
| 475 | + "description": "asdasdasdasdasdsad" |
| 476 | + }, |
| 477 | + "domain": { |
| 478 | + "type": "string", |
| 479 | + "description": "asdasdasdasdasdsad" |
| 480 | + } |
| 481 | + } |
| 482 | + }, |
| 483 | + "VariantUpdate": { |
| 484 | + "type": "object", |
| 485 | + "description": "Pasdasdasdasdasd." |
| 486 | + }, |
| 487 | + "VariantRollback": { |
| 488 | + "type": "object", |
| 489 | + "description": "asdasdasdasdasd", |
| 490 | + "required": [ |
| 491 | + "revision_id" |
| 492 | + ], |
| 493 | + "properties": { |
| 494 | + "revision_id": { |
| 495 | + "type": "integer", |
| 496 | + "description": "asdasdasdasdasdsad", |
| 497 | + "example": 42 |
| 498 | + } |
| 499 | + } |
| 500 | + }, |
| 501 | + "VariantUndo": { |
| 502 | + "type": "object", |
| 503 | + "description": "asdasdasdasdasdn" |
380 | 504 | }
|
381 | 505 | }
|
382 | 506 | }
|
0 commit comments