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

warning on array sample is may be overhelming #410

Open
LasneF opened this issue Jan 8, 2024 · 0 comments
Open

warning on array sample is may be overhelming #410

LasneF opened this issue Jan 8, 2024 · 0 comments

Comments

@LasneF
Copy link

LasneF commented Jan 8, 2024

Given the attached files

vaccum returns 2 warning vs it s a bit corner case as :

*sample of items if sample of the array is provided

  • sample in case of $ref

  • media type is missing examples or example
    8 "schema": {
    19 "$ref": "#/components/schemas/Pet"
    20 }

=> the sample is privided inside the $ref

  • item should have example, toward the 'array' contains already an example and so item

not sure for both use case if it really makes sent

Here the data to showcase .

small.json

this is samll sample, but adding them would be a kind of duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants