php-openapi
php-openapi copied to clipboard
Add convenience functions for extension properties
Resolves #121
I just added the getExtension
and setExtension
methods, which allow you to set/get the x-*
properties without having to use the not-very-well-known ->{'x-*'}
syntax. It also leaves the decision to the user whether to omit the x-
prefix or not.
Happy Hacktoberfest! :tada: