@himenon/argo-rollouts-typescript-openapi
v1.1.3
Published
Implementation of TypeScript generated from argo-rollouts OpenAPI
Downloads
614
Maintainers
Readme
@himenon/argo-rollouts-typescript-openapi
npm i @himenon/argo-rollouts-typescript-openapi
pnpm i @himenon/argo-rollouts-typescript-openapi
yarn add @himenon/argo-rollouts-typescript-openapi
Usage
import * as fs from "fs";
import * as yaml from "js-yaml"; // pnpm i -D js-yaml @types/js-yaml
import type { Schemas } from "@himenon/argo-rollouts-typescript-openapi/v1.22.3";
Build
pnpm run build
Update Schemas
# Fetch and Build
pnpm run build:all
# Fetch schemas
pnpm run fetch:schemas
# Generate source code
pnpm run generate:code
OpenAPI Source for argo-rollouts
OpenAPI TypeScript Code Generator
You can also just use the type definition
Use Another Version
Edit config.ts