Skip to content

Commit 0286932

Browse files
archerzzMingzhe Huang (from Dev Box)ArcturusZhanglive1206
authored
refactor(generator): deprecate BodyMediaType properties from input model (#5248)
* refactor(generator): dump BodyMediaType property from input - update input models to adopt the dump of RquestBodyMediaType and BodyMediaType of response - update logic to deduce BodyMeidaType from content types - fix missing `x-www-form-urlencoded` in `ToMediaTyoe()` method - temporary fix missing `BodyMediaType.Binary` handling in `SerializationBuilder` - refactoring part of microsoft/typespec#4215 * fix a bug when parsing content type string * bump latest mgc * refactor * adopt upstream change in pagination * bump `http-client-csharp` * regen * clean up * fix regen --------- Co-authored-by: Mingzhe Huang (from Dev Box) <[email protected]> Co-authored-by: Arcturus Zhang <[email protected]> Co-authored-by: Wei Hu <[email protected]>
1 parent 7bd8e02 commit 0286932

File tree

126 files changed

+2023
-4622
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+2023
-4622
lines changed

eng/scripts/Build-Packages.ps1

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
#Requires -Version 7.0
22

3-
Import-Module "$PSScriptRoot\Constants.ps1" -DisableNameChecking -Force;
4-
53
param(
64
[string] $BuildNumber,
75
[string] $Output,
86
[switch] $Prerelease,
97
[switch] $PublishInternal
108
)
119

10+
$CurrentDotnetFramework = "net9.0";
1211
$ErrorActionPreference = 'Stop'
1312
Set-StrictMode -Version 3.0
1413
$root = (Resolve-Path "$PSScriptRoot/../..").Path.Replace('\', '/')

package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)