Refract Release
Breaking Change - switch to drafter v1.0 from v0.1.9
Drafter's v1.0 introduced Refract elements.
Read more on the drafter refract release.
To upgrade from drafter-php v0.1.0 and drafter v0.1.0, you need to add ->type('ast')
to your calls on drafter-php in order to retrieve the ast of your api blueprint, as drafter v1.0 defaults its output type to refract
.
Also note that the "_version"
key in the ast will now have a value of 4.0 instead of 3.0; the new refract element does not have a version key.