You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using refitter CLI i get the following contract generated for the controller:
/// <summary>/// Returns information about file/// </summary>[System.CodeDom.Compiler.GeneratedCode("Refitter","0.7.5.0")]publicinterfaceIFileApi{[Headers("Accept: application/json")][Get("/v1/File/GetFileInfo/{bucketName}/{objectName}")]Task<FileInfo>GetFileInfoAsync(stringbucketName,stringobjectName,CancellationTokencancellationToken=default);[Headers("Accept: application/octet-stream")][Get("/v1/File/DownloadFile/{bucketName}/{objectName}")]TaskDownloadFileAsync(stringbucketName,stringobjectName,[Query]stringversionId,CancellationTokencancellationToken=default);[Multipart][Headers("Accept: application/json")][Post("/v1/File/UploadFile/{bucketName}/{directory}")]TaskUploadFileAsync(stringbucketName,stringdirectory,StreamPartfile,CancellationTokencancellationToken=default);[Headers("Accept: application/json")][Post("/v1/File/CopyFile/{fromBucketName}/{filePath}/{toDirectory}")]TaskCopyFileAsync(stringfromBucketName,stringfilePath,stringtoDirectory,[Query]stringtoBucketName,CancellationTokencancellationToken=default);[Headers("Accept: application/json")][Post("/v1/File/MoveFile/{fromBucketName}/{fromFilePath}/{toFilePath}")]TaskMoveFileAsync(stringfromBucketName,stringfromFilePath,stringtoFilePath,[Query]stringtoBucketName,CancellationTokencancellationToken=default);[Delete("/v1/File/DeleteFile/{bucketName}/{filePath}")]TaskDeleteFileAsync(stringbucketName,stringfilePath,CancellationTokencancellationToken=default);}
The endpoint in question is missing the long[] OrganizationalUnitIds which is a single property of the [FromForm] UploadFileArgs uploadFileArgs argument in the receiving endpoint. In line 545 of openApi spec the request body is defined as follows:
Support Key: [h/tnek2]
The support key is a unique identifier generated on the machine which is used when logging telemetry data. This feature is introduced in v0.5.4 and is shown in the output when running Refitter.
Describe the bug
I have a receiving API endpoint with following signature:
using refitter CLI i get the following contract generated for the controller:
The endpoint in question is missing the
long[] OrganizationalUnitIds
which is a single property of the[FromForm] UploadFileArgs uploadFileArgs
argument in the receiving endpoint. In line 545 of openApi spec the request body is defined as follows:Support Key:
[h/tnek2]
The support key is a unique identifier generated on the machine which is used when logging telemetry data. This feature is introduced in v0.5.4 and is shown in the output when running Refitter.
openapispec.json
The text was updated successfully, but these errors were encountered: