@powerduck/openapi-codegen 0.4.1

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.
Files changed (3) hide show
  1. package/README.md +583 -0
  2. package/dist/index.js +6711 -0
  3. package/package.json +65 -0
package/package.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "@powerduck/openapi-codegen",
3
+ "version": "0.4.1",
4
+ "description": "Generate HTTP client examples from OpenAPI documents.",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js"
12
+ }
13
+ },
14
+ "files": [
15
+ "dist",
16
+ "README.md",
17
+ "LICENSE"
18
+ ],
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/PowerDuckie/openapi-codegen.git"
22
+ },
23
+ "bugs": {
24
+ "url": "https://github.com/PowerDuckie/openapi-codegen/issues"
25
+ },
26
+ "homepage": "https://github.com/PowerDuckie/openapi-codegen#readme",
27
+ "engines": {
28
+ "node": ">=20"
29
+ },
30
+ "scripts": {
31
+ "clean": "rm -rf dist",
32
+ "build": "tsup src/index.ts --format esm --clean",
33
+ "test": "vitest run",
34
+ "test:watch": "vitest",
35
+ "demo": "tsx demo/index.ts",
36
+ "fuzz": "vitest run tests/fuzz.test.ts",
37
+ "check": "npm test && npm run fuzz && npm run build",
38
+ "preversion": "npm run check",
39
+ "version": "git add package.json package-lock.json",
40
+ "postversion": "git push && git push --tags",
41
+ "prepublishOnly": "npm run check",
42
+ "release:patch": "npm version patch",
43
+ "release:minor": "npm version minor",
44
+ "release:major": "npm version major"
45
+ },
46
+ "publishConfig": {
47
+ "access": "public",
48
+ "provenance": false
49
+ },
50
+ "keywords": [
51
+ "openapi",
52
+ "codegen",
53
+ "http-client",
54
+ "api",
55
+ "generator"
56
+ ],
57
+ "license": "MIT",
58
+ "devDependencies": {
59
+ "fast-check": "^4.0.0",
60
+ "tsup": "^8.5.0",
61
+ "tsx": "^4.23.13",
62
+ "typescript": "^5.9.3",
63
+ "vitest": "^3.2.7"
64
+ }
65
+ }