Altinn / Altinn/app-lib-dotnet

I OpenAPI spesifikasjonen har Readstatus enum integers som navn.

Open
#1,170 0 comments 0 reactions 0 assignees View on GitHub
kind/bug status/triage
Dominant language
C#
Stars
8
Forks
27
Avg merge
1h 21m
Merged PRs (30d)
7

Description

### Description of the bug

I OpenAPI spesifikasjonen har `ReadStatus` enum integers som navn, i Storage har tilsvarende enum verdiene [ Unread, Read, UpdatedSinceLastReview ]

Se [docs.altinn.studio/swagger/altinn-app-v1.json#/components/schemas/InstanceStatus](https://docs.altinn.studio/swagger/altinn-app-v1.json#/components/schemas/InstanceStatus)

### Steps To Reproduce

1. Åpne swagger for et skjema
2. Gå til InstanceStatus

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the OpenAPI schema at the linked InstanceStatus definition and trace how the ReadStatus enum is generated from the C# model and its storage counterpart. Compare the published enum names with Unread, Read, and UpdatedSinceLastReview; the work is done when the generated specification exposes those names instead of integer names.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.