@openapi-typescript-infra/service 2.7.5 → 2.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [2.7.6](https://github.com/openapi-typescript-infra/service/compare/v2.7.5...v2.7.6) (2023-09-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **openapi:** change filename of JSON spec for clarity ([3807027](https://github.com/openapi-typescript-infra/service/commit/3807027141073cefd8e3f29d692864b9b0007a07))
7
+
1
8
  ## [2.7.5](https://github.com/openapi-typescript-infra/service/compare/v2.7.4...v2.7.5) (2023-09-22)
2
9
 
3
10
 
package/Makefile CHANGED
@@ -40,13 +40,13 @@ $(word 1, $(build_files)): $(src_files)
40
40
  service: src/generated/service/index.ts
41
41
 
42
42
  bundlespec:
43
- npx --yes @redocly/cli@latest bundle ./api/${SERVICE_NAME}.yaml -o $(BUNDLE_OUTPUT)/spec.json
43
+ npx --yes @redocly/cli@latest bundle ./api/${SERVICE_NAME}.yaml -o $(BUNDLE_OUTPUT)/openapi-spec.json
44
44
 
45
45
  src/generated/service/index.ts: $(shell find api -type f)
46
46
  echo "Building service interface"
47
47
  $(eval BUNDLE_OUTPUT := $(shell mktemp -d))
48
48
  $(MAKE) bundlespec SERVICE_NAME=$(SERVICE_NAME) BUNDLE_OUTPUT=$(BUNDLE_OUTPUT)
49
- yarn dlx openapi-typescript-express $(BUNDLE_OUTPUT)/spec.json \
49
+ yarn dlx openapi-typescript-express $(BUNDLE_OUTPUT)/openapi-spec.json \
50
50
  --output ./src/generated/service/index.ts
51
51
  ./node_modules/.bin/prettier ./src/generated/service/index.ts --write
52
52
  rm -rf $(TMP)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openapi-typescript-infra/service",
3
- "version": "2.7.5",
3
+ "version": "2.7.6",
4
4
  "description": "An opinionated framework for building configuration driven services - web, api, or ob. Uses OpenAPI, pino logging, express, confit, Typescript and vitest.",
5
5
  "main": "build/index.js",
6
6
  "scripts": {