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

Review OpenAPI annotations in our examples for correct example value format #6040

Closed
tjquinno opened this issue Feb 1, 2023 · 0 comments · Fixed by #6782
Closed

Review OpenAPI annotations in our examples for correct example value format #6040

tjquinno opened this issue Feb 1, 2023 · 0 comments · Fixed by #6782
Assignees
Labels
3.x Issues for 3.x version branch bug Something isn't working examples MP open-api P2

Comments

@tjquinno
Copy link
Member

tjquinno commented Feb 1, 2023

Environment Details

  • Helidon Version: 3.x
  • Helidon SE or Helidon MP MP
  • JDK version:
  • OS:
  • Docker version (if applicable):

Problem Description

The MP OpenAPI @ExampleObject annotation has a value attribute to show what the transmitted data should look like.

The MP OpenAPI example application in our rep shows this in plaintext but it should be expressed in JSON because that's the response format.

We need also to double-check any other uses of @ExampleObject to make sure they are correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Issues for 3.x version branch bug Something isn't working examples MP open-api P2
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants