-
Notifications
You must be signed in to change notification settings - Fork 17
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
docs(specs): review Insights API spec #1647
Conversation
The correct requestBody is modelled better as separate events and using `anyOf` because some event properties are mutually exclusive and some can only be used with others.
✅ Deploy Preview for api-clients-automation ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✗ The generated branch has been deleted.If the PR has been merged, you can check the generated code on the |
@shortcuts I exchanged What do you think about this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some questions and tiny suggestions
Co-authored-by: gazconroy <gazconroyster@gmail.com>
This looks correct indeed, I wonder why this test doesn't work for Java. Could you double check properties properly match their type etc.? |
@shortcuts This is why the test fails:
It's a view event, but it uses the request body for |
Ah yessss there's an issue with the oneOf in the CTS that will pick the first |
Ok so I can confirm this is definitely a test generation issue, I'll push a fix to your branch sorry for the blocker |
#1654 fixes the CTS generation for this PR |
so sadly #1654 fixes this PR issue but would create a new problem :( so I just removed the test for now and will investigate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huge! It's kind of a breaking change but it's the best time to provide them :D
thanks for a lot for the review
🧭 What and Why
Review and refine the OpenAPI specification for the Insights API.
🎟 JIRA Ticket: DOC-1110
Changes included:
🧪 Test