-
Notifications
You must be signed in to change notification settings - Fork 486
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 "Schema items must be present only for schemas of type 'array' " is promoted when adding a parameter through UI -- openapi: 3.0.2 #785
Comments
I see this all the time as well. Let me know if you need a sample |
A sample would be great, thanks. |
This is the smallest example I can make. Note that after exporting the file it no longer shows the error in the UI, but if I delete and re-add the response the error shows up again. |
Thanks. |
I can not reproduce this with the latest version of Apicurio. Admittedly a large number of changes have been made to both editing and validation, so it is possible that this has simply been fixed. It's also possible I'm simply missing something. I'm going to close this for now, but I would very much appreciate it if someone could re-open it if the next release of Apicurio (will be done this week) still exhibits this problem. |
@EricWittmann What's the latest version? I'm on the site right now and I'm experiencing this issue still. |
The online version is not the latest. That said if you could screencast
yourself reproducing it that would be super helpful.
…On Wed, Jun 19, 2019, 1:17 PM Brandon J McKay ***@***.***> wrote:
@EricWittmann <https://github.com/EricWittmann> What's the latest
version? I'm on the site right now and I'm experiencing this issue still.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#785?email_source=notifications&email_token=AAONTD2V4IXQMP7E64L5Q4LP3JS33A5CNFSM4HQKR7B2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYCRYXA#issuecomment-503651420>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAONTDYBAY2LE3PLQ6MK6XDP3JS33ANCNFSM4HQKR7BQ>
.
|
Any specific steps do you want me to record? |
No. Anything you can do to reproduce it would be awesome. Especially from
an empty document.
…On Wed, Jun 19, 2019, 1:37 PM Brandon J McKay ***@***.***> wrote:
Any specific steps do you want me to record?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#785?email_source=notifications&email_token=AAONTD566XTSRG4BMTQF74LP3JVDZA5CNFSM4HQKR7B2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYCTPYI#issuecomment-503658465>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAONTD4COR3AYVISLDEM35DP3JVDZANCNFSM4HQKR7BQ>
.
|
Thanks! |
OK I have now been able to reproduce this (thanks for the videos!) in the online version (which is older) but cannot reproduce this with the latest version on master. I'm going to leave this closed for now and will be doing a new release today or tomorrow (which will result in the online version being updated). So hopefully this will be resolved. The data modeling, validation, and editing commands have all been massively changed, so I'm guessing we'll see other problems instead. :) |
Thank, I will try the new version after it is released. |
The new version has been released and is available at https://studio.apicur.io if you'd like to give it a try. |
"Schema items must be present only for schemas of type 'array' " is promoted when adding path parameters, query parameters or header parameters through UI. The screenshot of warning and code is as follows:
The warning will disappear when updating anything in Open API source code and save it, such as description.
The text was updated successfully, but these errors were encountered: