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

Unhandled parameters types prevent all endpoint parameters from being displayed. #206

Open
oleduc opened this issue Sep 9, 2014 · 1 comment

Comments

@oleduc
Copy link

oleduc commented Sep 9, 2014

If any of the parameters have an unhandled type, none of the parameters will appear under the affected endpoint.

If the endpoint has a type which is not supported by iodocs (such as "array" or "double"), then none of the parameters will appear.

Affected 9f20175

@phairow
Copy link
Contributor

phairow commented Oct 10, 2014

looks like we need to document the supported types. This is also an indicator that we need to validate the definitions before attempting to render in order to avoid unintended behavior in the UI. Otherwise the definition should only use types that are supported by the form generator. It may also make sense to add a fallback to text for unsupported types (rather than breaking) and only issue a validation warning rather than an error or breaking UI.

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

No branches or pull requests

2 participants