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

Ignore vendor extensions in new renderer #103

Open
ikalnytskyi opened this issue Nov 7, 2020 · 0 comments
Open

Ignore vendor extensions in new renderer #103

ikalnytskyi opened this issue Nov 7, 2020 · 0 comments
Labels

Comments

@ikalnytskyi
Copy link
Member

The new renderer does not assume that there may be vendor extensions in OAS objects. I'm not sure what's going to happen, I can assume the renderer will either fail or render garbage when vendor extensions are met. We need to ensure they are ignored.

For this, I think we should implement some helper function, e.g. oas_iteritems(vendor_extensions=False) that can iterate via OAS objects with or without vendor extensions based on the parameter, and use that helper inside the renderer.

@ikalnytskyi ikalnytskyi added the bug label Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant