Skip to content

Commit

Permalink
remove stub about validators from readme
Browse files Browse the repository at this point in the history
  • Loading branch information
david-crespo committed May 8, 2024
1 parent 0c383d6 commit ccbc4b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
8 changes: 0 additions & 8 deletions oxide-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,3 @@ if (result.type === "success") {
### Request bodies

### Responses: `ApiResult<T>`

## Other stuff in the package

Most likely nobody but us wants this, and we should take it out of the npm package.

### Mock Service Worker API skeleton

### Zod validators
3 changes: 2 additions & 1 deletion tools/gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ SPEC_FILE="./spec.json"
# TODO: we could get rid of this DL if a test didn't rely on it
curl --fail "$SPEC_URL" -o $SPEC_FILE

rm -f oxide-api/src/* # remove after we add --clean flag to generator

# note no features, API client only
rm oxide-api/src/*
npx tsx "$ROOT_DIR/oxide-openapi-gen-ts/src/index.ts" $SPEC_FILE $DEST_DIR
npx [email protected] --write --log-level error "$DEST_DIR"

0 comments on commit ccbc4b2

Please sign in to comment.