Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ContentValueDto has incorrect mediatype info (OpenAPI spec) #1613

Open
oskogstad opened this issue Dec 16, 2024 · 0 comments
Open

ContentValueDto has incorrect mediatype info (OpenAPI spec) #1613

oskogstad opened this issue Dec 16, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@oskogstad
Copy link
Collaborator

Description

The OpenAPI spec shows incorrect mediatypes for content values,
every type across dialog/transmission says Media type of the content (plaintext, Markdown). Can also indicate that the content is embeddable.

Dialog

  • Title: text/plain
  • Summary: text/plain
  • SenderName: text/plain
  • ExtendedStatus: text/plain
  • AdditionalInfo: text/plain,text/markdown
  • MainContentRef: application/vnd.dialogporten.frontchannelembed+json;type=markdown

Transmission:

  • Title: text/plain
  • Summary: text/plain
  • ContentRef: application/vnd.dialogporten.frontchannelembed+json;type=markdown
@oskogstad oskogstad added the bug Something isn't working label Dec 16, 2024
@oskogstad oskogstad self-assigned this Dec 16, 2024
oskogstad added a commit that referenced this issue Dec 16, 2024
<!--- Provide a general summary of your changes in the Title above -->

## Description

<!--- Describe your changes in detail -->

## Related Issue(s)

- #1613

## Verification

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

## Documentation

- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Doing
Development

No branches or pull requests

1 participant