Skip to content

Convert model-released to new enum and use in api.#967

Open
gunnarvelle wants to merge 4 commits into
masterfrom
feat/use-enums-in-apis
Open

Convert model-released to new enum and use in api.#967
gunnarvelle wants to merge 4 commits into
masterfrom
feat/use-enums-in-apis

Conversation

@gunnarvelle
Copy link
Copy Markdown
Member

Bedre validering av model-released verdier.

@gunnarvelle gunnarvelle requested a review from a team May 21, 2026 10:07
Copy link
Copy Markdown
Contributor

@amatho amatho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vi kan vel også bruke enum-en direkte i modelRelease i V2 og V3 DTO-ene for ImageMetaInformation, slik som med aiGenerated?

Comment thread image-api/src/main/scala/no/ndla/imageapi/service/ConverterService.scala Outdated
@gunnarvelle gunnarvelle requested review from a team and amatho May 21, 2026 12:34
Comment thread image-api/src/main/scala/no/ndla/imageapi/service/WriteService.scala Outdated
@gunnarvelle gunnarvelle requested a review from jnatten May 27, 2026 07:49
@gunnarvelle gunnarvelle force-pushed the feat/use-enums-in-apis branch from b8ebb5f to c5fb3f2 Compare May 28, 2026 12:26
@gunnarvelle gunnarvelle force-pushed the feat/use-enums-in-apis branch from b35516f to 0f480f6 Compare May 28, 2026 12:45
@gunnarvelle gunnarvelle requested a review from a team May 28, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants