Default values are not shown #4914
MihaiM (w4mhi)
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I have the following signature:
public async Task RefreshAsset(
CancellationToken cancellationToken,
[FromRoute] string assetlabel,
[FromQuery] string name = null,
[FromQuery] string schema = null)
I use the autorest command line with flags:
autorest --input-file=swagger.json --csharp --namespace=AssetRestApi.Client --add-credentials --verbose
The result as C# code is:
public virtual async Task RefreshAssetAsync(string assetlabel, string name, string schema, string xApiVersion, string xApiVersion1, RequestContext context)
Couple of questions:
Appreciate your answer,
Mihai
All reactions