php-openapi icon indicating copy to clipboard operation
php-openapi copied to clipboard

Add convenience functions for extension properties

Open fxedel opened this issue 1 year ago • 0 comments

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:

fxedel avatar Oct 11 '22 20:10 fxedel