altinn-studio icon indicating copy to clipboard operation
altinn-studio copied to clipboard

8808 get api to get text file from backend

Open standeren opened this issue 1 year ago • 1 comments

Description 💎

  • Remove serialization of of json object so list of languages is sent as List directly
  • Add endpoint for GetText V2 in new texts controller (NB: the plural AKA new text format version)
  • Add method to get text content in new Text Service
  • Add method to get text content in AltinnAppGitRepository using new filename: text.*.json
  • Change name of old method for getting the text content in AltinnAppGitRepository to include v1
  • Add test for GetText endpoint that checks if content retrieved from _TestData with API call is as expected

Verification

  • [x] Your code builds clean without any errors or warnings
  • [x] Manual testing done (required)
  • [x] Relevant automated test added (if you find this hard, leave it and we'll help out)
  • [x] All tests run green

Documentation

  • [ ] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

standeren avatar Aug 31 '22 09:08 standeren