apigee-127 / sway

A library that simplifies OpenAPI (fka Swagger) integrations/tooling.
MIT License
190 stars 92 forks source link

Omit vendor extensions when creating types #198

Open whitlockjc opened 5 years ago

whitlockjc commented 5 years ago

Whenever we process the paths or some other OAS type, we do not handle vendor extensions appropriately. This could lead to some x-* property beneath paths being turned into a Path object, and in some cases would not work due to a value being null or undefined. We need to ensure that we are omitting vendor extensions when processing the parsed types in the OAS document.

Originally reported here: https://github.com/apigee-127/swagger-tools/issues/597