Closed Liam-Tait closed 1 year ago
See discussion in #737
Maybe pass the whole constraints object. Lets discuss this in #737
If #739 goes through, this pr is not required as the functionality is possible using transform
Closing due to https://github.com/fastify/fastify-swagger/pull/739
Adds the ability to provide an
apiVersion
config value with a semver range.The route version is sourced from the fastify version constraint.
Semver parsing is completed using the
semver
packagesatisfies
function, which has been added as a new dependency.closes #732
Checklist
npm run test
andnpm run benchmark