Commit d5c5977
Fully support url template in Modular (#2884)
* Update the uri template from http operations
* Refactor the uri template parameters
* regen smoke
* Update the UTs for testing
* Refactor the code a little
* Format the codes
* regen smoke
* fix unit test
* Update to the main to resolve conflicts
* Remove the folder first
* Update the build issue
* Update the test cases
* Add test cases for url template
* Update the UTs for url templates
* Update the lib
* Update the helper to pass all test cases
* Remove useless codes
* Update the template with renaming
* Regen smoke test for batch services
* Support allowReserved option
* Fix the operation group issues
* Rename uri to url
* Add skipUrlEncoding so customers could set method-level skip encoding
* Remove useless codes
* Update the test cases
* Update the unit test cases
* Refresh the unit test for modular and rlc
* add routes modular case
* Fix the option parameter renaming issue
* fix ci
* Update the test dependency for ut
* Support the tsv, ssv and pipe format
* fix ci
* Update the test cases
* Update the test cases
* Refine the helpers
* fix ci
* update
* Fix the issues
* revert change
* Fix the issue
* Update the test cases and refine the code a little
* regen smoke
* Update the test code to the latest
* Update to the latest main
* Merge to the latest main
* Update the UTs in modular
* Refresh the smoke testing
* Update the test cases
* Refresh the standard routes cases
* Revert debug information
* regen smoke test
* fix ci
* update test cases
* Refresh the smoke test and add more UTs
* Fix the smoke issues
* Resolve comments
* Resolve comments
* Resolve comments
* update http-specs version
* regen code
* fix ci
* update test case
* Format the code with standard 2 spaces indentation
* Rename the internal helper function
* Refresh smoke testing
* Update the UTs
---------
Co-authored-by: Jiao Di (MSFT) <80496810+v-jiaodi@users.noreply.github.com>1 parent be73c48 commit d5c5977
81 files changed
Lines changed: 9065 additions & 1616 deletions
File tree
- .vscode
- packages
- typespec-test/test
- NetworkAnalytics.Management/generated/typespec-ts/sdk/test/arm-test/src
- api
- dataProductsCatalogs
- dataProducts
- dataTypes
- operations
- static-helpers
- ai/generated/typespec-ts/src
- api
- agents
- connections
- evaluations
- telemetry
- static-helpers
- anomalyDetector/generated/typespec-ts/src
- api/multivariate
- static-helpers
- batch_modular/generated/typespec-ts/src
- api
- static-helpers
- contentsafety_modular/generated/typespec-ts/src
- api
- static-helpers
- eventgrid_modular/generated/typespec-ts/src
- api
- static-helpers
- healthInsights_radiologyinsights/generated/typespec-ts/src
- api
- static-helpers
- loadtesting_modular/generated/typespec-ts/src
- loadTestAdministration/api
- loadTestRun/api
- static-helpers
- testProfileAdministration/api
- testProfileRun/api
- openai_generic/generated/typespec-ts/src
- api
- files
- fineTunes
- fineTuning/jobs
- models
- static-helpers
- openai_modular/generated/typespec-ts/src
- api
- static-helpers
- openai_non_branded/generated/typespec-ts/src
- api
- files
- fineTunes
- fineTuning/jobs
- models
- static-helpers
- overloads_modular/generated/typespec-ts/src
- api/fooOperations
- static-helpers
- parametrizedHost/generated/typespec-ts/src
- api/confidentialLedger
- static-helpers
- schemaRegistry/generated/typespec-ts/src
- api/schemaOperations
- static-helpers
- todo_non_branded/generated/typespec-ts/src
- api/todoItems
- attachments
- static-helpers
- widget_dpg/generated/typespec-ts/src
- api
- budgets
- widgets
- static-helpers
- typespec-ts
- src
- modular
- helpers
- utils
- static/static-helpers
- test
- azureModularIntegration
- generated/routes
- src
- commands
- modularIntegration
- generated/routes
- src
- modularUnit
- scenarios
- anonymous
- apiOperations
- example
- operations
- pathParam
- queryParam
- samples/parameters
- static
- util
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
Lines changed: 141 additions & 74 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
61 | 72 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 73 | + | |
66 | 74 | | |
67 | 75 | | |
68 | 76 | | |
69 | 77 | | |
70 | 78 | | |
71 | 79 | | |
72 | | - | |
73 | 80 | | |
74 | 81 | | |
75 | 82 | | |
| |||
109 | 116 | | |
110 | 117 | | |
111 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
112 | 130 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
| 131 | + | |
118 | 132 | | |
119 | 133 | | |
120 | 134 | | |
121 | 135 | | |
122 | 136 | | |
123 | 137 | | |
124 | | - | |
125 | 138 | | |
126 | 139 | | |
127 | 140 | | |
| |||
164 | 177 | | |
165 | 178 | | |
166 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
167 | 192 | | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
| 193 | + | |
174 | 194 | | |
175 | 195 | | |
176 | 196 | | |
177 | 197 | | |
178 | 198 | | |
179 | 199 | | |
180 | 200 | | |
181 | | - | |
182 | 201 | | |
183 | 202 | | |
184 | 203 | | |
| |||
223 | 242 | | |
224 | 243 | | |
225 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
226 | 257 | | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
| 258 | + | |
233 | 259 | | |
234 | 260 | | |
235 | 261 | | |
236 | 262 | | |
237 | 263 | | |
238 | 264 | | |
239 | 265 | | |
240 | | - | |
241 | 266 | | |
242 | 267 | | |
243 | 268 | | |
| |||
280 | 305 | | |
281 | 306 | | |
282 | 307 | | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
283 | 320 | | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
| 321 | + | |
290 | 322 | | |
291 | 323 | | |
292 | 324 | | |
293 | 325 | | |
294 | 326 | | |
295 | 327 | | |
296 | 328 | | |
297 | | - | |
298 | 329 | | |
299 | 330 | | |
300 | 331 | | |
| |||
337 | 368 | | |
338 | 369 | | |
339 | 370 | | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
340 | 383 | | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
| 384 | + | |
347 | 385 | | |
348 | 386 | | |
349 | 387 | | |
350 | 388 | | |
351 | 389 | | |
352 | 390 | | |
353 | 391 | | |
354 | | - | |
355 | 392 | | |
356 | 393 | | |
357 | 394 | | |
| |||
396 | 433 | | |
397 | 434 | | |
398 | 435 | | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
399 | 448 | | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
| 449 | + | |
406 | 450 | | |
407 | 451 | | |
408 | 452 | | |
409 | 453 | | |
410 | 454 | | |
411 | 455 | | |
412 | 456 | | |
413 | | - | |
414 | 457 | | |
415 | 458 | | |
416 | 459 | | |
| |||
454 | 497 | | |
455 | 498 | | |
456 | 499 | | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
457 | 512 | | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
| 513 | + | |
464 | 514 | | |
465 | 515 | | |
466 | 516 | | |
467 | 517 | | |
468 | 518 | | |
469 | 519 | | |
470 | | - | |
471 | 520 | | |
472 | 521 | | |
473 | 522 | | |
| |||
517 | 566 | | |
518 | 567 | | |
519 | 568 | | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
520 | 581 | | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
| 582 | + | |
527 | 583 | | |
528 | 584 | | |
529 | 585 | | |
530 | 586 | | |
531 | 587 | | |
532 | 588 | | |
533 | 589 | | |
534 | | - | |
535 | 590 | | |
536 | 591 | | |
537 | 592 | | |
| |||
578 | 633 | | |
579 | 634 | | |
580 | 635 | | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
581 | 648 | | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
| 649 | + | |
588 | 650 | | |
589 | 651 | | |
590 | 652 | | |
591 | 653 | | |
592 | 654 | | |
593 | 655 | | |
594 | | - | |
595 | 656 | | |
596 | 657 | | |
597 | 658 | | |
| |||
631 | 692 | | |
632 | 693 | | |
633 | 694 | | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
634 | 707 | | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | | - | |
| 708 | + | |
641 | 709 | | |
642 | 710 | | |
643 | 711 | | |
644 | 712 | | |
645 | 713 | | |
646 | 714 | | |
647 | 715 | | |
648 | | - | |
649 | 716 | | |
650 | 717 | | |
651 | 718 | | |
| |||
0 commit comments