|
192 | 192 | "in": "path",
|
193 | 193 | "required": true,
|
194 | 194 | "description": "traffic controller name for path",
|
195 |
| - "pattern": "[A-Za-z0-9]+[A-Za-z0-9-_.]{0,62}[A-Za-z0-9_]+", |
196 |
| - "type": "string" |
| 195 | + "type": "string", |
| 196 | + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" |
197 | 197 | }
|
198 | 198 | ],
|
199 | 199 | "responses": {
|
|
237 | 237 | "in": "path",
|
238 | 238 | "required": true,
|
239 | 239 | "description": "traffic controller name for path",
|
240 |
| - "pattern": "[A-Za-z0-9]+[A-Za-z0-9-_.]{0,62}[A-Za-z0-9_]+", |
241 |
| - "type": "string" |
| 240 | + "type": "string", |
| 241 | + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" |
242 | 242 | },
|
243 | 243 | {
|
244 | 244 | "name": "resource",
|
|
308 | 308 | "in": "path",
|
309 | 309 | "required": true,
|
310 | 310 | "description": "traffic controller name for path",
|
311 |
| - "pattern": "[A-Za-z0-9]+[A-Za-z0-9-_.]{0,62}[A-Za-z0-9_]+", |
312 |
| - "type": "string" |
| 311 | + "type": "string", |
| 312 | + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" |
313 | 313 | },
|
314 | 314 | {
|
315 | 315 | "name": "properties",
|
|
362 | 362 | "in": "path",
|
363 | 363 | "required": true,
|
364 | 364 | "description": "traffic controller name for path",
|
365 |
| - "pattern": "[A-Za-z0-9]+[A-Za-z0-9-_.]{0,62}[A-Za-z0-9_]+", |
366 |
| - "type": "string" |
| 365 | + "type": "string", |
| 366 | + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" |
367 | 367 | }
|
368 | 368 | ],
|
369 | 369 | "responses": {
|
|
427 | 427 | "in": "path",
|
428 | 428 | "required": true,
|
429 | 429 | "description": "traffic controller name for path",
|
430 |
| - "pattern": "[A-Za-z0-9]+[A-Za-z0-9-_.]{0,62}[A-Za-z0-9_]+", |
431 |
| - "type": "string" |
| 430 | + "type": "string", |
| 431 | + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" |
432 | 432 | }
|
433 | 433 | ],
|
434 | 434 | "responses": {
|
|
477 | 477 | "in": "path",
|
478 | 478 | "required": true,
|
479 | 479 | "description": "traffic controller name for path",
|
480 |
| - "pattern": "[A-Za-z0-9]+[A-Za-z0-9-_.]{0,62}[A-Za-z0-9_]+", |
481 |
| - "type": "string" |
| 480 | + "type": "string", |
| 481 | + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" |
482 | 482 | },
|
483 | 483 | {
|
484 | 484 | "name": "associationName",
|
485 | 485 | "in": "path",
|
486 | 486 | "required": true,
|
487 | 487 | "description": "Name of Association",
|
488 |
| - "pattern": "[A-Za-z0-9]+[A-Za-z0-9-_.]{0,62}[A-Za-z0-9_]+", |
489 |
| - "type": "string" |
| 488 | + "type": "string", |
| 489 | + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" |
490 | 490 | }
|
491 | 491 | ],
|
492 | 492 | "responses": {
|
|
530 | 530 | "in": "path",
|
531 | 531 | "required": true,
|
532 | 532 | "description": "traffic controller name for path",
|
533 |
| - "pattern": "[A-Za-z0-9]+[A-Za-z0-9-_.]{0,62}[A-Za-z0-9_]+", |
534 |
| - "type": "string" |
| 533 | + "type": "string", |
| 534 | + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" |
535 | 535 | },
|
536 | 536 | {
|
537 | 537 | "name": "associationName",
|
538 | 538 | "in": "path",
|
539 | 539 | "required": true,
|
540 | 540 | "description": "Name of Association",
|
541 |
| - "pattern": "[A-Za-z0-9]+[A-Za-z0-9-_.]{0,62}[A-Za-z0-9_]+", |
542 |
| - "type": "string" |
| 541 | + "type": "string", |
| 542 | + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" |
543 | 543 | },
|
544 | 544 | {
|
545 | 545 | "name": "resource",
|
|
609 | 609 | "in": "path",
|
610 | 610 | "required": true,
|
611 | 611 | "description": "traffic controller name for path",
|
612 |
| - "pattern": "[A-Za-z0-9]+[A-Za-z0-9-_.]{0,62}[A-Za-z0-9_]+", |
613 |
| - "type": "string" |
| 612 | + "type": "string", |
| 613 | + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" |
614 | 614 | },
|
615 | 615 | {
|
616 | 616 | "name": "associationName",
|
617 | 617 | "in": "path",
|
618 | 618 | "required": true,
|
619 | 619 | "description": "Name of Association",
|
620 |
| - "pattern": "[A-Za-z0-9]+[A-Za-z0-9-_.]{0,62}[A-Za-z0-9_]+", |
621 |
| - "type": "string" |
| 620 | + "type": "string", |
| 621 | + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" |
622 | 622 | },
|
623 | 623 | {
|
624 | 624 | "name": "properties",
|
|
671 | 671 | "in": "path",
|
672 | 672 | "required": true,
|
673 | 673 | "description": "traffic controller name for path",
|
674 |
| - "pattern": "[A-Za-z0-9]+[A-Za-z0-9-_.]{0,62}[A-Za-z0-9_]+", |
675 |
| - "type": "string" |
| 674 | + "type": "string", |
| 675 | + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" |
676 | 676 | },
|
677 | 677 | {
|
678 | 678 | "name": "associationName",
|
679 | 679 | "in": "path",
|
680 | 680 | "required": true,
|
681 | 681 | "description": "Name of Association",
|
682 |
| - "pattern": "[A-Za-z0-9]+[A-Za-z0-9-_.]{0,62}[A-Za-z0-9_]+", |
683 |
| - "type": "string" |
| 682 | + "type": "string", |
| 683 | + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" |
684 | 684 | }
|
685 | 685 | ],
|
686 | 686 | "responses": {
|
|
744 | 744 | "in": "path",
|
745 | 745 | "required": true,
|
746 | 746 | "description": "traffic controller name for path",
|
747 |
| - "pattern": "[A-Za-z0-9]+[A-Za-z0-9-_.]{0,62}[A-Za-z0-9_]+", |
748 |
| - "type": "string" |
| 747 | + "type": "string", |
| 748 | + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" |
749 | 749 | }
|
750 | 750 | ],
|
751 | 751 | "responses": {
|
|
794 | 794 | "in": "path",
|
795 | 795 | "required": true,
|
796 | 796 | "description": "traffic controller name for path",
|
797 |
| - "pattern": "[A-Za-z0-9]+[A-Za-z0-9-_.]{0,62}[A-Za-z0-9_]+", |
798 |
| - "type": "string" |
| 797 | + "type": "string", |
| 798 | + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" |
799 | 799 | },
|
800 | 800 | {
|
801 | 801 | "name": "frontendName",
|
802 | 802 | "in": "path",
|
803 | 803 | "required": true,
|
804 | 804 | "description": "Frontends",
|
805 |
| - "pattern": "[A-Za-z0-9]+[A-Za-z0-9-_.]{0,62}[A-Za-z0-9_]+", |
806 |
| - "type": "string" |
| 805 | + "type": "string", |
| 806 | + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" |
807 | 807 | }
|
808 | 808 | ],
|
809 | 809 | "responses": {
|
|
847 | 847 | "in": "path",
|
848 | 848 | "required": true,
|
849 | 849 | "description": "traffic controller name for path",
|
850 |
| - "pattern": "[A-Za-z0-9]+[A-Za-z0-9-_.]{0,62}[A-Za-z0-9_]+", |
851 |
| - "type": "string" |
| 850 | + "type": "string", |
| 851 | + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" |
852 | 852 | },
|
853 | 853 | {
|
854 | 854 | "name": "frontendName",
|
855 | 855 | "in": "path",
|
856 | 856 | "required": true,
|
857 | 857 | "description": "Frontends",
|
858 |
| - "pattern": "[A-Za-z0-9]+[A-Za-z0-9-_.]{0,62}[A-Za-z0-9_]+", |
859 |
| - "type": "string" |
| 858 | + "type": "string", |
| 859 | + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" |
860 | 860 | },
|
861 | 861 | {
|
862 | 862 | "name": "resource",
|
|
926 | 926 | "in": "path",
|
927 | 927 | "required": true,
|
928 | 928 | "description": "traffic controller name for path",
|
929 |
| - "pattern": "[A-Za-z0-9]+[A-Za-z0-9-_.]{0,62}[A-Za-z0-9_]+", |
930 |
| - "type": "string" |
| 929 | + "type": "string", |
| 930 | + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" |
931 | 931 | },
|
932 | 932 | {
|
933 | 933 | "name": "frontendName",
|
934 | 934 | "in": "path",
|
935 | 935 | "required": true,
|
936 | 936 | "description": "Frontends",
|
937 |
| - "pattern": "[A-Za-z0-9]+[A-Za-z0-9-_.]{0,62}[A-Za-z0-9_]+", |
938 |
| - "type": "string" |
| 937 | + "type": "string", |
| 938 | + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" |
939 | 939 | },
|
940 | 940 | {
|
941 | 941 | "name": "properties",
|
|
988 | 988 | "in": "path",
|
989 | 989 | "required": true,
|
990 | 990 | "description": "traffic controller name for path",
|
991 |
| - "pattern": "[A-Za-z0-9]+[A-Za-z0-9-_.]{0,62}[A-Za-z0-9_]+", |
992 |
| - "type": "string" |
| 991 | + "type": "string", |
| 992 | + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" |
993 | 993 | },
|
994 | 994 | {
|
995 | 995 | "name": "frontendName",
|
996 | 996 | "in": "path",
|
997 | 997 | "required": true,
|
998 | 998 | "description": "Frontends",
|
999 |
| - "pattern": "[A-Za-z0-9]+[A-Za-z0-9-_.]{0,62}[A-Za-z0-9_]+", |
1000 |
| - "type": "string" |
| 999 | + "type": "string", |
| 1000 | + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" |
1001 | 1001 | }
|
1002 | 1002 | ],
|
1003 | 1003 | "responses": {
|
|
0 commit comments