PayU / openapi-validator-middleware

Input validation using Swagger (Open API) and ajv
Apache License 2.0
144 stars 50 forks source link

extract api schema builder to other package #54

Closed galcohen92 closed 5 years ago

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-0.4%) to 99.074% when pulling 24a6379b281c4e868a30a265996eaf2dd06c1753 on galcohen92:gal/master into 62ee749432dd78abd287259d219f290bf248e61c on Zooz:master.

galcohen92 commented 5 years ago
  1. InputValidaiton error refactor
  2. change parameters validator path, was under schemaEndpoint.parameters and now schemaEndpoint.parameters.validate
  3. api-schema-builder path : https://github.com/Zooz/api-schema-builder
galcohen92 commented 5 years ago
  1. now the dependency api-schema-builder support request and responses validate. because the middleware only need requests validator it configure in the options for build requests only.
idanto commented 5 years ago

@galcohen92 Please resolve the conflicts with master and also have a look at #59