issues
search
membrane-php
/
membrane-core
Membrane is a general purpose input validation library, supports both PHP Attributes and OpenAPI specifications
Other
1
stars
2
forks
source link
Add OpenAPI Builders
#103
Closed
charjr
closed
1 year ago
charjr
commented
1 year ago
New Builders and Specifications
OpenAPIRequestBuilder supports OpenAPIRequest
OpenAPIRequest takes Cebe objects as arguments instead of urls (useful for upcoming cache builder)
OpenAPIResponseBuilder supports OpenAPIResponse
OpenAPIResponse takes Cebe objects as arguments instead of urls (useful for upcoming cache builder)
Improved Exceptions
CannotReadOpenAPI now refers only to issues related to reading the file as OpenAPI.
CannotProcessOpenAPI refers to issues with invalid OpenAPI or unsupported features.
CannotProcessSpecification refers to issues specifically with Specifications
Unsupported keywords used in specification
Specification doesn't match anything found in the OpenAPI
CannotProcessResponse refers to issues specifically with Response Specifications
Status code doesn't match anything found in Operation
New Builders and Specifications
Improved Exceptions