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

FISH-1204 Missing example values in OpenApi components schema definition using nested objects #5331

Merged
merged 5 commits into from
Jul 7, 2021

Conversation

aubi
Copy link
Contributor

@aubi aubi commented Jul 2, 2021

Description

Fix missing description of properties of embedded objects, fix missing required flag for reference, issue #5151

Testing

New tests

Added one new test for dependent DTOs with @Schema annotation, one for required reference.

Testing Performed

Tested on /openapi -- contains full description of embedded properties and a required reference is referred.
The correct output is attached to the GH issue.

@aubi
Copy link
Contributor Author

aubi commented Jul 2, 2021

jenkins tests please

@aubi
Copy link
Contributor Author

aubi commented Jul 2, 2021

TCK test succeeded

Copy link
Contributor

@lprimak lprimak left a comment

Choose a reason for hiding this comment

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

just small nit-picks, otherwise LGTM

@lprimak
Copy link
Contributor

lprimak commented Jul 2, 2021

jenkins test

@lprimak lprimak changed the title FISH-1204 FISH-1204 Missing example values in OpenApi components schema definition using nested objects Jul 3, 2021
@aubi aubi merged commit f90fa0e into payara:master Jul 7, 2021
@aubi aubi deleted the FISH-1204 branch July 9, 2021 11:26
JamesHillyard pushed a commit to JamesHillyard/Payara that referenced this pull request Oct 28, 2021
FISH-1204 Missing example values in OpenApi components schema definition using nested objects
JamesHillyard added a commit to JamesHillyard/Payara that referenced this pull request Dec 22, 2021
This reverts commit e0c842c

Signed-off-by: JamesHillyard <[email protected]>
JamesHillyard pushed a commit to JamesHillyard/Payara that referenced this pull request Dec 23, 2021
FISH-1204 Missing example values in OpenApi components schema definition using nested objects
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