scripts/

directory
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2026 License: MIT

Directories

Path Synopsis
Command fetchspec downloads the Freelo OpenAPI document with a conditional GET, replacing the plain `curl` call that used to open `make gen`.
Command fetchspec downloads the Freelo OpenAPI document with a conditional GET, replacing the plain `curl` call that used to open `make gen`.
Command patchgen rewrites the oapi-codegen output so that every `time.Time` field becomes a `freelotime.Time` field.
Command patchgen rewrites the oapi-codegen output so that every `time.Time` field becomes a `freelotime.Time` field.
Command patchspec preprocesses the downloaded OpenAPI document before oapi-codegen runs, flattening scalar `oneOf` unions in *parameter* schemas into a plain `type: string`.
Command patchspec preprocesses the downloaded OpenAPI document before oapi-codegen runs, flattening scalar `oneOf` unions in *parameter* schemas into a plain `type: string`.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL