Add serve script using openapi-mock

Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
Oliver Davies 2025-09-23 13:33:27 +01:00
parent 9cb8710505
commit 7ef0759b2e
4 changed files with 32 additions and 1 deletions

7
openapi/serve Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
openapi-mock serve \
--specification-url petstore.yaml \
"$@"