Skip to content

Conversation

@Helmsdown
Copy link
Contributor

I forgot to add a vendor extension getter to the Model and Property interfaces. Without these it makes it annoying to write code that deals with vendor extensions because you must first cast to a AbstractModel/AbstractProperty to access the vendor extensions map.

Additionally, I did not account for the complexity of deserializing Properties (i.e. PropertyDeserializer and PropertyBuilder). As such, I had to add some logic to both classes to support deserializing vendor extensions. Please let me know if you know of a cleaner way of supporting this.

Finally, I added deserialization test for a Property with vendor extensions.

As always feedback on my code is appreciated.

@Helmsdown Helmsdown changed the title add vendor extensions to Model and Property interfaces Additional Vendor Extensions upgrades Aug 11, 2015
fehguy added a commit that referenced this pull request Aug 11, 2015
…ensions

Additional Vendor Extensions upgrades
@fehguy fehguy merged commit 353792f into swagger-api:master Aug 11, 2015
@Helmsdown Helmsdown deleted the property-interface-vendor-extensions branch August 11, 2015 19:00
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

Successfully merging this pull request may close these issues.

2 participants