Skip to content

tsp - Added support for header parameter#1506

Merged
dolauli merged 1 commit into
Azure:mainfrom
dolauli:tsp-brown
Aug 20, 2025
Merged

tsp - Added support for header parameter#1506
dolauli merged 1 commit into
Azure:mainfrom
dolauli:tsp-brown

Conversation

@dolauli

@dolauli dolauli commented Aug 20, 2025

Copy link
Copy Markdown
Contributor

This pull request updates how parameters are handled when converting TypeSpec operations to PowerShell operations. The main change is to ensure that header parameters are included in the main operation parameters list, aligning their treatment with path and query parameters. This simplifies the parameter handling logic and removes redundant code that previously added header parameters separately to requests.

Parameter handling improvements:

  • Header parameters are now included alongside path and query parameters in the main operation parameters list, ensuring consistent handling.
  • Removed redundant code that separately added header parameters to the request, streamlining the conversion process.

@dolauli
dolauli merged commit 8bca227 into Azure:main Aug 20, 2025
103 checks passed
@dolauli
dolauli deleted the tsp-brown branch August 20, 2025 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant