Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/himenon/argo-rollouts-typescript-openapi
Generate TypeScript Code from Argo Rollouts OpenAPI Schema.
https://github.com/himenon/argo-rollouts-typescript-openapi
argo-rollouts argocd kubernetes openapi typescript
Last synced: 11 days ago
JSON representation
Generate TypeScript Code from Argo Rollouts OpenAPI Schema.
- Host: GitHub
- URL: https://github.com/himenon/argo-rollouts-typescript-openapi
- Owner: Himenon
- License: mit
- Created: 2022-03-31T09:52:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-03-31T16:09:17.000Z (over 2 years ago)
- Last Synced: 2024-10-11T20:59:03.462Z (about 1 month ago)
- Topics: argo-rollouts, argocd, kubernetes, openapi, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@himenon/argo-rollouts-typescript-openapi
- Size: 252 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# @himenon/argo-rollouts-typescript-openapi
```bash
npm i @himenon/argo-rollouts-typescript-openapi
pnpm i @himenon/argo-rollouts-typescript-openapi
yarn add @himenon/argo-rollouts-typescript-openapi
```## Usage
```ts
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
```ts
pnpm run build
```## Update Schemas
```bash
# 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
- [@himenon/openapi-typescript-code-generator](https://github.com/Himenon/openapi-typescript-code-generator)
You can also just use the type definition
## Use Another Version
Edit [config.ts](./scripts/config.ts)
## LICENCE
[@Himenon/argo-rollouts-typescript-openapi](https://github.com/Himenon/argo-rollouts-typescript-openapi)・MIT