{
    "name": "onion/rest",
    "authors": [{
        "name": "Dimitar Dimitrov",
        "email": "daghostman.dd@gmail.com"
    }],
    "autoload": {
        "psr-4": {
            "Onion\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "require": {
        "php": "^7.2",
        "roave/security-advisories": "dev-master",
        "guzzlehttp/psr7": "^1.4",
        "onion/interfaces": "^2.0.0-rc1",
        "fig/link-util": "^1.0"
    },
    "require-dev": {
        "phpunit/phpunit": "^5.7",
        "onion/framework": "^2.0.0-rc1"
    }
}

{
    "name": "onion/rest",
    "authors": [{
        "name": "Dimitar Dimitrov",
        "email": "daghostman.dd@gmail.com"
    }],
    "autoload": {
        "psr-4": {
            "Onion\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "require": {
        "php": "^7.2",
        "roave/security-advisories": "dev-master",
        "guzzlehttp/psr7": "^1.4",
        "onion/interfaces": "^2.0.0-rc3",
        "fig/link-util": "^1.0"
    },
    "require-dev": {
        "phpunit/phpunit": "^5.7",
        "justinrainbow/json-schema": "^1.2"
    }
}

Use shcema validator in unit tests
Use shcema validator in unit tests
