Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
50a17cd
feat: add msw plugin
malcolm-kee Mar 19, 2026
e0a95e9
fix: sort handler
malcolm-kee Mar 22, 2026
4269ed6
refactor: simplify types
malcolm-kee Mar 24, 2026
9c5018f
chore: clean up dependencies
mrlubos Mar 25, 2026
bbede7d
test: move msw snapshot tests
mrlubos Mar 25, 2026
cfefe18
refactor: organize msw plugin files
mrlubos Mar 26, 2026
711b7a0
feat: add baseUrl option to msw plugin
mrlubos Mar 26, 2026
7704644
chore: rename msw nodes
mrlubos Mar 26, 2026
8b3a168
chore: add method prop to object
mrlubos Mar 26, 2026
06cd3db
chore: move handlers to separate functions
mrlubos Mar 27, 2026
e1640f4
chore: clean up msw output
mrlubos Mar 27, 2026
dec30c9
chore: add comments
mrlubos Mar 27, 2026
161340b
chore: support overriding all arguments
mrlubos Mar 29, 2026
e0f4a57
chore: add responseFallback option
mrlubos Mar 30, 2026
7f335ff
test: update snapshots
mrlubos Mar 30, 2026
95d8871
test: update tests
mrlubos Mar 30, 2026
0e15a82
Merge branch 'main' into feat/msw-plugin
mrlubos Mar 30, 2026
7594425
Merge branch 'main' into feat/msw-plugin
mrlubos Mar 30, 2026
b5fce36
Merge branch 'main' of https://github.com/hey-api/openapi-ts into fea…
mrlubos Apr 2, 2026
94cb2aa
Merge branch 'main' of https://github.com/hey-api/openapi-ts into fea…
mrlubos Apr 4, 2026
c47a629
chore: swap one for pick
mrlubos Apr 4, 2026
cfda6a3
chore: move response to body
mrlubos Apr 5, 2026
599c844
chore: improve baseUrl types
mrlubos Apr 5, 2026
bd22266
chore: consistent response type
mrlubos Apr 5, 2026
f8daabe
Merge branch 'main' of https://github.com/hey-api/openapi-ts into fea…
mrlubos Apr 6, 2026
5fa9afe
Merge branch 'main' of https://github.com/hey-api/openapi-ts into fea…
mrlubos Apr 8, 2026
3e043e7
Merge branch 'main' into feat/msw-plugin
mrlubos Apr 8, 2026
947cfa8
chore: improve build
mrlubos Apr 8, 2026
05070b3
chore: clean up
mrlubos Apr 8, 2026
e4a9553
test: update snapshots
mrlubos Apr 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/early-knives-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hey-api/openapi-ts": patch
---

**client**: use `getBaseUrl()` function to determine default value
5 changes: 5 additions & 0 deletions .changeset/five-pianos-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hey-api/openapi-ts": patch
---

**plugin(@hey-api/examples)**: initial release
5 changes: 5 additions & 0 deletions .changeset/many-memes-wish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hey-api/openapi-ts": patch
---

**plugin(msw)**: initial release
5 changes: 5 additions & 0 deletions .changeset/nasty-planes-cry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hey-api/shared": patch
---

**utils**: export `getBaseUrl()` function
3 changes: 3 additions & 0 deletions dev/inputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@ const specsPath = path.join(__dirname, '..', 'specs');
export const inputs = {
circular: path.resolve(specsPath, '3.0.x', 'circular.yaml'),
full: path.resolve(specsPath, '3.1.x', 'full.yaml'),
heyapi: 'hey-api/backend',
local: 'http://localhost:8000/openapi.json',
mockers: path.resolve(specsPath, '3.1.x', 'mockers.yaml'),
opencode: path.resolve(specsPath, '3.1.x', 'opencode.yaml'),
petstore:
'https://raw.githubusercontent.com/swagger-api/swagger-petstore/master/src/main/resources/openapi.yaml',
redfish:
'https://raw.githubusercontent.com/DMTF/Redfish-Publications/refs/heads/main/openapi/openapi.yaml',
rpc: path.resolve(specsPath, '3.1.x', 'rpc.yaml'),
scalar: 'scalar:@scalar/access-service',
transformers: path.resolve(specsPath, '3.1.x', 'transformers.json'),
validators: path.resolve(specsPath, '3.1.x', 'validators.yaml'),
Expand Down
Loading
Loading