Orval gives you the possibility to import Orval.
It expose a function which takes a path to the Orval config as the argument.
1 import orval from 'orval';2 3 orval('./orval.config.js');
The Visual Studio Code Orval extension will look for the Orval config file in your opened workspace and run Orval.
© 2020 Victor Bury. All rights reserved.