Skip to content

Commit 8aa850c

Browse files
committed
v0.15.0 - see CHANGELOG for details
1 parent 39861cc commit 8aa850c

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [0.15.0] - 2025-05-08
2+
3+
### Changed
4+
5+
- Open API specs config object is fully spread into the final output
6+
17
## [0.14.3] - 2025-04-27
28

39
upgraded dependencies: `jsr:@std/assert@^1.0.13`, `jsr:@std/path@^1.0.9`,

deno.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dklab/oak-routing-ctrl",
3-
"version": "0.14.3",
3+
"version": "0.15.0",
44
"exports": {
55
".": "./mod.ts",
66
"./mod": "./mod.ts"

src/oasStore.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export const updateOas = (
5959

6060
const updated = {
6161
...existing,
62+
...specs,
6263
method,
6364
path: oasPath,
6465
request: {

src/useOas.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const _useOas: UseOas = (
7474

7575
const generator = new OpenApiGenerator(registry.definitions);
7676
const apiDoc = generator.generateDocument({
77-
openapi: "3.0.0",
77+
openapi: oasCfg.openapi || "3.0.0",
7878
info: {
7979
version: "1.0.0",
8080
title: "My API",

0 commit comments

Comments
 (0)