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

TCK: fix several incorrectly used annotations and associated tests #562

Merged
merged 3 commits into from
Apr 24, 2023

Conversation

MikeEdgar
Copy link
Member

@MikeEdgar MikeEdgar commented Apr 18, 2023

Closes #322

There are several remaining issues reported by the OpenAPI validator [1] including:

  • /user/special missing schemas, this is intentional to test hidden schema functionality
  • /user POST request body encoding includes an extension x-encoding flagged invalid by the parser. This appears to be a bug [2]

I verified that the smallrye-open-api implementation's main branch passes with these modifications.

[1] https://validator.swagger.io/
[2] OAI/OpenAPI-Specification#3251

Signed-off-by: Michael Edgar <michael@xlate.io>
@MikeEdgar
Copy link
Member Author

@Emily-Jiang , let me know if you see anything changing here that would be an issue for a micro-release, v3.1.1

Copy link
Member

@Azquelt Azquelt left a comment

Choose a reason for hiding this comment

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

Thanks for doing this and picking out the invalid parts of the TCK app.

I have a few concerns where it looks like we could be adding a test rather than fixing one which we wouldn't want to do in a micro release and a few where I'm unsure if the change is correct.

MikeEdgar and others added 2 commits April 20, 2023 06:03
Co-authored-by: Andrew Rouse <anrouse@uk.ibm.com>
Signed-off-by: Michael Edgar <michael@xlate.io>
Copy link
Member

@Azquelt Azquelt left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks.

Copy link

@tjquinno tjquinno left a comment

Choose a reason for hiding this comment

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

LGTM, too.

@MikeEdgar MikeEdgar merged commit b6a0778 into eclipse:master Apr 24, 2023
3 checks passed
@MikeEdgar MikeEdgar deleted the issue-322 branch April 24, 2023 16:39
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.

Clean up the Pet Store (and possibly Airlines) app annotations
3 participants