nuts-foundation/nuts-node

View on GitHub
auth/api/iam/openid4vci.go

Summary

Maintainability
A
1 hr
Test Coverage
A
91%

Method Wrapper.RequestOpenid4VCICredentialIssuance has 65 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (r Wrapper) RequestOpenid4VCICredentialIssuance(ctx context.Context, request RequestOpenid4VCICredentialIssuanceRequestObject) (RequestOpenid4VCICredentialIssuanceResponseObject, error) {
    if request.Body == nil {
        // why did oapi-codegen generate a pointer for the body??
        return nil, core.InvalidInputError("missing request body")
    }
Severity: Minor
Found in auth/api/iam/openid4vci.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status