-
Notifications
You must be signed in to change notification settings - Fork 4
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
Validation Data Node OpenAPI specification with IBM OpenAPI Validator #72
Comments
Here is the current list of errors and warnings for the Data Node API:
|
Here are the steps taken to resolve the above errors and warning. Errors
Resolution: Changed settings to "lower_camel_case"
Resolution: Changed settings to "lower_camel_case"
Resolution: "uri" is indeed not an official format but is suggested in openapi docs. The format is mentioned as an "open" list, so ideally the IBM Validator should allow me to specify the type of format that I deed valid. This feature is being mentioned here. I prefer to keep the "uri" format as it enriches the specification, including the HTML page rendered. I'm configuring this type of errors to be reported as warnings.
Resolution: Changed settings to "lower_camel_case" Warnings
Comment: Resolution: Setting the option to
Resolution: Followed the recommendations.
Resolution: Followed the recommendations after setting the format to "lower_camel_case".
Resolution: Following this recommendation would lead to duplication of information (the "final segment of the path" and the "name of the array"). It's also easier if the user knows that the items returned in a page are in an array always named the same way.
Resolution: Followed the recommendations after changing the settings to error as shown below:
ResultsHere are the remaining warnings that are accepted:
|
Done |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The openapi validates the data node API, however the python-flask server created from it throws the following error:
I could not find the issue from a quick look at the spec, so I googled and found this comment.
This is the second time I come across IBM OpenAPI Validator, so I decide to give it a try in #71
The text was updated successfully, but these errors were encountered: