Skip to main content
Module

x/windmill/generate.sh

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
File
#!/bin/bashset -e
/usr/local/bin/docker-entrypoint.sh generate -i ../backend/openapi.yaml -g typescript --additional-properties platform=deno -o windmill-apised -i 's/this\.type = "Job";//' windmill-api/models/Job.tssed -i -z 's/public static parse(rawData: string, mediaType: string | undefined) {/public static parse(rawData: string, mediaType: string | undefined) {\n if (mediaType === "text\/plain") { return rawData }/' windmill-api/models/ObjectSerializer.ts