-
Notifications
You must be signed in to change notification settings - Fork 28
fix(specs): fix example in Composition API specs #5650
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
Conversation
✔️ Code generated!
📊 Benchmark resultsBenchmarks performed on the method using a mock server, the results might not reflect the real-world performance.
|
Fluf22
left a comment
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.
✅
Fluf22
left a comment
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.
Ah yes apparently it must be an object, not a list
Let's see if it works this way
|
@Fluf22 unclear what is expected, documentation (https://swagger.io/docs/specification/v3_0/adding-examples/) asks for an object, but the lint specs failed because it expects an iterator it seems ? |
|
I had the same error locally (whereas my initial proposal) |
Fluf22
left a comment
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.
😅
🧭 What and Why
I saw that the final documentation of
facetsquery parameter in Comp API in the documentation is not valid because we made an error in the specs:(the value in example is not valid) ⬆️
This PR aims to fix the examples
Changes included:
🧪 Test
yarn cli build specs all && yarn cli build clients javascript