Commit 58634e4
authored
* Support standard OpenAPI paths for all valid path params for gRPC endpoints in protoc-gen-openapiv2 (#407)
* Fix issue with URL encoded path segments not being split when unescaping mode is legacy, default or all characters
* Adding docs for path template syntax and new functionality (#1700)
* Removed unused old code
* Additional tests for regular expressions
* Formatting code
* Fix lint error
* Removing duplicate test
* Adding additional test for path escaping
* Fix failing test because of path change
* Fix failing tests in code coverage
* Change determination of unescaping by supporting default mode change
* Regenerated files from changes
* Remove unused parameters in test
* Remove code warnings in test
* Implement changes from PR #2461 comments
* Correcting incorrect documentation
* Adding test case to show change in docs is warranted
1 parent 65c0585 commit 58634e4
File tree
9 files changed
+779
-61
lines changed- examples/internal
- clients/abe
- api
- proto/examplepb
- protoc-gen-openapiv2/internal/genopenapi
- runtime
9 files changed
+779
-61
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
432 | 445 | | |
433 | 446 | | |
434 | 447 | | |
| |||
564 | 577 | | |
565 | 578 | | |
566 | 579 | | |
567 | | - | |
| 580 | + | |
568 | 581 | | |
569 | 582 | | |
570 | 583 | | |
571 | 584 | | |
572 | 585 | | |
573 | 586 | | |
| 587 | + | |
| 588 | + | |
574 | 589 | | |
575 | 590 | | |
576 | 591 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| |||
470 | 471 | | |
471 | 472 | | |
472 | 473 | | |
| 474 | + | |
473 | 475 | | |
474 | 476 | | |
475 | 477 | | |
| |||
773 | 775 | | |
774 | 776 | | |
775 | 777 | | |
| 778 | + | |
776 | 779 | | |
777 | 780 | | |
778 | 781 | | |
| |||
1445 | 1448 | | |
1446 | 1449 | | |
1447 | 1450 | | |
| 1451 | + | |
1448 | 1452 | | |
1449 | 1453 | | |
1450 | 1454 | | |
| |||
1544 | 1548 | | |
1545 | 1549 | | |
1546 | 1550 | | |
| 1551 | + | |
1547 | 1552 | | |
1548 | 1553 | | |
1549 | 1554 | | |
| |||
2076 | 2081 | | |
2077 | 2082 | | |
2078 | 2083 | | |
2079 | | - | |
| 2084 | + | |
2080 | 2085 | | |
2081 | 2086 | | |
2082 | 2087 | | |
| |||
2088 | 2093 | | |
2089 | 2094 | | |
2090 | 2095 | | |
| 2096 | + | |
2091 | 2097 | | |
2092 | 2098 | | |
2093 | 2099 | | |
| |||
2138 | 2144 | | |
2139 | 2145 | | |
2140 | 2146 | | |
2141 | | - | |
| 2147 | + | |
2142 | 2148 | | |
2143 | 2149 | | |
2144 | 2150 | | |
| |||
2151 | 2157 | | |
2152 | 2158 | | |
2153 | 2159 | | |
| 2160 | + | |
2154 | 2161 | | |
2155 | 2162 | | |
2156 | 2163 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1943 | 1943 | | |
1944 | 1944 | | |
1945 | 1945 | | |
1946 | | - | |
| 1946 | + | |
1947 | 1947 | | |
1948 | 1948 | | |
1949 | 1949 | | |
| |||
4080 | 4080 | | |
4081 | 4081 | | |
4082 | 4082 | | |
4083 | | - | |
| 4083 | + | |
4084 | 4084 | | |
4085 | 4085 | | |
4086 | 4086 | | |
| |||
Lines changed: 16 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
| 242 | + | |
242 | 243 | | |
243 | 244 | | |
244 | 245 | | |
| |||
579 | 580 | | |
580 | 581 | | |
581 | 582 | | |
582 | | - | |
| 583 | + | |
| 584 | + | |
583 | 585 | | |
584 | 586 | | |
585 | 587 | | |
| |||
913 | 915 | | |
914 | 916 | | |
915 | 917 | | |
916 | | - | |
| 918 | + | |
| 919 | + | |
917 | 920 | | |
918 | 921 | | |
919 | 922 | | |
| |||
1652 | 1655 | | |
1653 | 1656 | | |
1654 | 1657 | | |
1655 | | - | |
| 1658 | + | |
| 1659 | + | |
1656 | 1660 | | |
1657 | 1661 | | |
1658 | 1662 | | |
| |||
1766 | 1770 | | |
1767 | 1771 | | |
1768 | 1772 | | |
1769 | | - | |
| 1773 | + | |
| 1774 | + | |
1770 | 1775 | | |
1771 | 1776 | | |
1772 | 1777 | | |
| |||
2615 | 2620 | | |
2616 | 2621 | | |
2617 | 2622 | | |
2618 | | - | |
| 2623 | + | |
2619 | 2624 | | |
2620 | 2625 | | |
2621 | 2626 | | |
| |||
2661 | 2666 | | |
2662 | 2667 | | |
2663 | 2668 | | |
2664 | | - | |
| 2669 | + | |
| 2670 | + | |
2665 | 2671 | | |
2666 | 2672 | | |
2667 | 2673 | | |
| |||
2692 | 2698 | | |
2693 | 2699 | | |
2694 | 2700 | | |
2695 | | - | |
| 2701 | + | |
2696 | 2702 | | |
2697 | 2703 | | |
2698 | 2704 | | |
| |||
2739 | 2745 | | |
2740 | 2746 | | |
2741 | 2747 | | |
2742 | | - | |
| 2748 | + | |
| 2749 | + | |
2743 | 2750 | | |
2744 | 2751 | | |
2745 | 2752 | | |
| |||
0 commit comments