mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-05-01 15:10:02 -05:00
f821379997
* fix: remove deprecated swagger-cli * fix: use node:18-alpine
7 lines
267 B
Bash
7 lines
267 B
Bash
#!/bin/bash
|
|
|
|
set -eux
|
|
|
|
npx --yes @redocly/cli bundle ./api-contracts/openapi/openapi.yaml --output ./bin/oas/openapi.yaml --ext yaml
|
|
go run github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen@v2.0.0 -config ./api/v1/server/oas/gen/codegen.yaml ./bin/oas/openapi.yaml
|