adonisjs-swagger
Version:
swagger package for adonisjs version 6
13 lines (12 loc) • 319 B
JavaScript
/**
* adonisjs-swagger
*
* Main stub file
*/
import { dirname } from 'node:path';
import { fileURLToPath } from 'node:url';
/**
* Path to the root directory where the stubs are stored. We use
* this path within commands and the configure hook
*/
export const stubsRoot = dirname(fileURLToPath(import.meta.url));