$ orval --input ./petstore.yaml --output ./src/petstore.ts
The --input can take a yaml or a json The --output is the file where you want to generate your models and HTTP calls.
$ orval --config ./orval.config.js# or$ orval
module.exports = {'petstore-file': {input: './petstore.yaml',output: './src/petstore.ts',},};