Skip to content

Commit

Permalink
Fix reference (#9462)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechArch authored Dec 28, 2022
1 parent 2cc6061 commit 7365424
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
20 changes: 13 additions & 7 deletions src/Models/ResourceRegistry/ReferenceType.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Runtime.Serialization;
using System.Runtime.Serialization;

namespace Altinn.ResourceRegistry.Core.Enums
{
Expand All @@ -10,13 +10,19 @@ public enum ReferenceType : int
[EnumMember(Value = "Default")]
Default = 0,

[EnumMember(Value = "ServiceCodeVersion")]
ServiceCodeVersion = 1,
[EnumMember(Value = "Uri")]
Uri = 1,

[EnumMember(Value = "OrgApp")]
OrgApp = 2,
[EnumMember(Value = "DelegationSchemeId")]
DelegationSchemeId = 2,

[EnumMember(Value = "Uri")]
Uri = 3
[EnumMember(Value = "MaskinportenScope")]
MaskinportenScope = 3,

[EnumMember(Value = "ServiceCode")]
ServiceCode = 4,

[EnumMember(Value = "ServiceEditionCode")]
ServiceEditionCode = 5,
}
}
2 changes: 1 addition & 1 deletion src/Models/ResourceRegistry/ServiceResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public class ServiceResource
/// <summary>
/// ResourceReference
/// </summary>
public ResourceReference? ResourceReference { get; set; }
public List<ResourceReference> ResourceReferences { get; set; }

/// <summary>
/// IsComplete
Expand Down

0 comments on commit 7365424

Please sign in to comment.