From ce4b89da650f025747fd0dd45eab5cebe29f5a93 Mon Sep 17 00:00:00 2001 From: Kyle Mendell Date: Sun, 19 Apr 2026 16:48:27 -0500 Subject: [PATCH] chore: ignore webauthn type for swagger generation --- backend/internal/dto/webauthn_dto.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/internal/dto/webauthn_dto.go b/backend/internal/dto/webauthn_dto.go index af80840d..e1383f92 100644 --- a/backend/internal/dto/webauthn_dto.go +++ b/backend/internal/dto/webauthn_dto.go @@ -10,7 +10,7 @@ type WebauthnCredentialDto struct { Name string `json:"name"` CredentialID string `json:"credentialID"` AttestationType string `json:"attestationType"` - Transport []protocol.AuthenticatorTransport `json:"transport"` + Transport []protocol.AuthenticatorTransport `json:"transport" swaggertype:"array,string"` BackupEligible bool `json:"backupEligible"` BackupState bool `json:"backupState"`