Add extensions to require() module specs
Add extensions to require() module specs

To satisfy import/extensions and prepare for ESM.

Signed-off-by: Kevin Locke <ffb4761cba839470133bee36aeb139f58d7dbaa9@kevinlocke.name>

kevinoid/swagger-spec-validator,kevinoid/swagger-spec-validator,kevinoid/swagger-spec-validator