{
  "name": "@oshun/openapi",
  "$schema": "../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "libs/openapi/src",
  "projectType": "library",
  "tags": ["scope:oshun", "type:lib"],
  "targets": {
    "build": {
      "executor": "@nx/js:tsc",
      "outputs": ["{options.outputPath}"],
      "options": {
        "outputPath": "dist/libs/openapi",
        "tsConfig": "libs/openapi/tsconfig.lib.json",
        "packageJson": "libs/openapi/package.json",
        "main": "libs/openapi/src/index.ts",
        "assets": [
          {
            "glob": "**/*.yaml",
            "input": "libs/openapi/src/specs",
            "output": "specs"
          },
          {
            "glob": "**/*.yaml",
            "input": "libs/openapi/v2",
            "output": "v2"
          }
        ]
      }
    },
    "lint": {
      "executor": "@nx/eslint:lint"
    },
    "test": {
      "executor": "@nx/vite:test",
      "options": {
        "passWithNoTests": true
      }
    },
    "openapi:validate": {
      "executor": "nx:run-commands",
      "options": {
        "command": "npx @redocly/cli lint libs/openapi/src/specs/",
        "cwd": "{workspaceRoot}"
      }
    },
    "openapi:gen": {
      "executor": "nx:run-commands",
      "options": {
        "command": "tsx libs/openapi/scripts/generate.ts",
        "cwd": "{workspaceRoot}"
      }
    },
    "generate:oshun-v1-specs": {
      "executor": "nx:run-commands",
      "options": {
        "command": "pnpm --filter @oshun/openapi run generate:oshun-v1-specs",
        "cwd": "{workspaceRoot}"
      }
    },
    "generate:oshun-v1-specs:check": {
      "executor": "nx:run-commands",
      "options": {
        "command": "pnpm --filter @oshun/openapi run generate:oshun-v1-specs:check",
        "cwd": "{workspaceRoot}"
      }
    },
    "generate:oshun-v1-clients": {
      "executor": "nx:run-commands",
      "options": {
        "command": "pnpm --filter @oshun/openapi run generate:oshun-v1-clients",
        "cwd": "{workspaceRoot}"
      }
    },
    "generate:oshun-v1-clients:check": {
      "executor": "nx:run-commands",
      "options": {
        "command": "pnpm --filter @oshun/openapi run generate:oshun-v1-clients:check",
        "cwd": "{workspaceRoot}"
      }
    },
    "generate:v3": {
      "executor": "nx:run-commands",
      "options": {
        "command": "pnpm --filter @oshun/openapi run generate:v3",
        "cwd": "{workspaceRoot}"
      }
    },
    "generate:v3:check": {
      "executor": "nx:run-commands",
      "options": {
        "command": "pnpm --filter @oshun/openapi run generate:v3:check",
        "cwd": "{workspaceRoot}"
      }
    },
    "validate:v3": {
      "executor": "nx:run-commands",
      "options": {
        "command": "pnpm --filter @oshun/openapi run validate:v3",
        "cwd": "{workspaceRoot}"
      }
    }
  }
}
