Skip to content

Commit

Permalink
API must be nullable
Browse files Browse the repository at this point in the history
net8 needs nullable for optional parameters
  • Loading branch information
aorzelskiGH committed Jun 21, 2024
1 parent db43a39 commit 22f044f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ [ SwaggerResponse(statusCode: 400, type: typeof(Result), description: "Bad Reque
[ SwaggerResponse(statusCode: 403, type: typeof(Result), description: "Forbidden") ]
[ SwaggerResponse(statusCode: 500, type: typeof(Result), description: "Internal Server Error") ]
[ SwaggerResponse(statusCode: 0, type: typeof(Result), description: "Default error handling for unmentioned status codes") ]
public virtual IActionResult GetAllAssetAdministrationShellDescriptors([ FromQuery ] int? limit, [ FromQuery ] string cursor, [ FromQuery ] string assetKind,
[ FromQuery ] string assetType)
public virtual IActionResult GetAllAssetAdministrationShellDescriptors([ FromQuery ] int? limit, [ FromQuery ] string? cursor, [ FromQuery ] string? assetKind,
[ FromQuery ] string? assetType)
{
// TODO (jtikekar, 2023-09-04): AssetType resembles GlobalAssetId from old Implementation
List<string> assetList = new List<string>();
Expand Down

0 comments on commit 22f044f

Please sign in to comment.