membrane-php / membrane-core

Membrane is a general purpose input validation library, supports both PHP Attributes and OpenAPI specifications
Other
3 stars 3 forks source link

Add Request and PathParamExtractor Interfaces #98

Closed charjr closed 1 year ago

charjr commented 1 year ago

Done

Adds RequestSpec Interface

Adds OpenAPIRequest implementing RequestSpec

Adds ExtractsPathParameters Interface

Adds PathParameterExtractor implementing ExtractsPathParameters

TODO:

Certain methods like getOperationId are currently unused and untested.

Request Builder not currently testing compatibility with alternate Requests implementing RequestSpec.