Skip to content

Commit b6e5c2b

Browse files
committed
docs: release 3.1.6.
1 parent 58201a1 commit b6e5c2b

File tree

4 files changed

+264
-74
lines changed

4 files changed

+264
-74
lines changed

versions/3.1/CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
1+
<a name="3.1.6"></a>
2+
# [3.1.6](https://github.com/ts-stack/openapi-spec/releases/tag/3.1.6) (2024-09-27)
3+
4+
### Bug Fixes
5+
6+
| Commit | Type | Description |
7+
| -- | -- | -- |
8+
| [58201a18e6](https://github.com/ditsmod/ditsmod/commit/58201a18e666040f1f4) | fix | fixed ref to github links. |
9+
110
<a name="3.1.5"></a>
2-
# [3.1.5](https://github.com/ts-stack/openapi-spec/releases/tag/3.1.5) (2022-09-26)
11+
## [3.1.5](https://github.com/ts-stack/openapi-spec/releases/tag/3.1.5) (2022-09-26)
312

413
### Bug Fixes
514

versions/3.1/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ but the patch version is not the same:
88

99
| OpenAPI Specification | @ts-stack/openapi-spec |
1010
|-------------------------|-------------------------|
11-
| v3.1.0 | <ul><li>v3.1.0</li><li>v3.1.1</li><li>v3.1.2</li><li>v3.1.3</li><li>v3.1.4</li><li>v3.1.5</li></ul> |
11+
| v3.1.0 | <ul><li>v3.1.0</li><li>v3.1.1</li><li>v3.1.2</li><li>v3.1.3</li><li>v3.1.4</li><li>v3.1.5</li><li>v3.1.6</li></ul> |
1212

1313

1414
## Introduction
@@ -29,8 +29,6 @@ and many other use cases.
2929
npm i -D @ts-stack/openapi-spec
3030
```
3131

32-
[1]: https://github.com/OAI/OpenAPI-Specification
33-
3432
## openapi version usage
3533

3634
You can use the `openapi` constant that contains the version of the OpenAPI Specification:
@@ -49,7 +47,7 @@ If you want to use already extended interfaces, you need to import interfaces wi
4947
import { XOasObject } from '@ts-stack/openapi-spec';
5048

5149
const extendedOasObject: XOasObject<'x-one' | 'x-two'> = {
52-
info: {title: '', version: ''},
50+
info: { title: '', version: '' },
5351
openapi: '',
5452
'x-one': '',
5553
'x-two': '',
@@ -64,7 +62,7 @@ import { OasObject, SpecificationExtension } from '@ts-stack/openapi-spec';
6462
type ExtendedOasObject = OasObject & SpecificationExtension<'x-one' | 'x-two'>;
6563

6664
const extendedOasObject: ExtendedOasObject = {
67-
info: {title: '', version: ''},
65+
info: { title: '', version: '' },
6866
openapi: '',
6967
'x-one': '',
7068
'x-two': '',
@@ -105,3 +103,6 @@ const paths: StrictDifinedPaths = {
105103
'/two': {},
106104
};
107105
```
106+
107+
108+
[1]: https://github.com/OAI/OpenAPI-Specification

versions/3.1/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ts-stack/openapi-spec",
3-
"version": "3.1.5",
3+
"version": "3.1.6",
44
"description": "This is OpenAPI Specification v3.1.0 writen in TypeScript.",
55
"main": "dist/index",
66
"typings": "dist/index",
@@ -16,13 +16,13 @@
1616
"author": "Костя Третяк",
1717
"license": "MIT",
1818
"devDependencies": {
19-
"@types/node": "^14.14.22",
20-
"rimraf": "^3.0.2",
21-
"typescript": "^4.1.3"
19+
"@types/node": "^22.7.3",
20+
"rimraf": "^6.0.1",
21+
"typescript": "~5.5.4"
2222
},
2323
"tags": [
2424
"open-api",
2525
"openapi",
2626
"typescript-models"
2727
]
28-
}
28+
}

0 commit comments

Comments
 (0)