Skip to content

Commit

Permalink
chore: changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr.Mao committed Aug 9, 2024
1 parent 24add6c commit a40a595
Show file tree
Hide file tree
Showing 33 changed files with 189 additions and 19 deletions.
9 changes: 9 additions & 0 deletions packages/@genapi/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @genapi/cli

## 0.5.4

### Patch Changes

- c
- Updated dependencies
- @genapi/config@0.5.4
- @genapi/core@0.5.4

## 0.5.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@genapi/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@genapi/cli",
"version": "0.5.3",
"version": "0.5.4",
"main": "src/index.ts",
"publishConfig": {
"directory": "dist",
Expand Down
6 changes: 6 additions & 0 deletions packages/@genapi/config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @genapi/config

## 0.5.4

### Patch Changes

- c

## 0.5.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@genapi/config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@genapi/config",
"version": "0.5.3",
"version": "0.5.4",
"main": "src/index.ts",
"publishConfig": {
"directory": "dist",
Expand Down
8 changes: 8 additions & 0 deletions packages/@genapi/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @genapi/core

## 0.5.4

### Patch Changes

- c
- Updated dependencies
- @genapi/config@0.5.4

## 0.5.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@genapi/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@genapi/core",
"version": "0.5.3",
"version": "0.5.4",
"main": "src/index.ts",
"publishConfig": {
"directory": "dist",
Expand Down
9 changes: 9 additions & 0 deletions packages/@genapi/pipeline/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @genapi/pipeline

## 2.0.4

### Patch Changes

- c
- Updated dependencies
- @genapi/config@0.5.4
- @genapi/core@0.5.4

## 2.0.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@genapi/pipeline/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@genapi/pipeline",
"version": "2.0.3",
"version": "2.0.4",
"main": "src/index.ts",
"scripts": {
"build": "ptsup -r src --dts --meta --clean",
Expand Down
9 changes: 9 additions & 0 deletions packages/@parsers/swag/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @genapi/swag-parser

## 1.1.4

### Patch Changes

- c
- Updated dependencies
- @genapi/config@0.5.4
- @genapi/core@0.5.4

## 1.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@parsers/swag/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@genapi/swag-parser",
"version": "1.1.3",
"version": "1.1.4",
"main": "src/index.ts",
"scripts": {
"build": "ptsup -r src --dts --meta --clean",
Expand Down
6 changes: 3 additions & 3 deletions packages/@parsers/swag/src/parser/method.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ export function parseMethodMetadata({ method, path, responses, options: meta }:

const name = camelCase(`${method}/${path}`)
const url = `${path.replace(/({)/g, '${paths.')}`
const responseSchema =
const responseSchema
// @ts-expect-error
responses.default?.content?.['application/json']?.schema
= responses.default?.content?.['application/json']?.schema
// @ts-expect-error
|| responses['200']?.content?.['application/json']?.schema
|| responses['200']?.content?.['application/json']?.schema
|| responses['200']
const responseType = responseSchema ? parseSchemaType(responseSchema) : 'void'

Expand Down
11 changes: 11 additions & 0 deletions packages/@swag/axios-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @genapi/swag-axios-js

## 1.1.4

### Patch Changes

- c
- Updated dependencies
- @genapi/config@0.5.4
- @genapi/core@0.5.4
- @genapi/pipeline@2.0.4
- @genapi/swag-parser@1.1.4

## 1.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@swag/axios-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@genapi/swag-axios-js",
"version": "1.1.3",
"version": "1.1.4",
"main": "src/index.ts",
"scripts": {
"build": "ptsup -r src --dts --meta --clean",
Expand Down
11 changes: 11 additions & 0 deletions packages/@swag/axios-ts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @genapi/swag-axios-ts

## 1.1.4

### Patch Changes

- c
- Updated dependencies
- @genapi/config@0.5.4
- @genapi/core@0.5.4
- @genapi/pipeline@2.0.4
- @genapi/swag-parser@1.1.4

## 1.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@swag/axios-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@genapi/swag-axios-ts",
"version": "1.1.3",
"version": "1.1.4",
"main": "src/index.ts",
"scripts": {
"build": "ptsup -r src --dts --meta --clean",
Expand Down
11 changes: 11 additions & 0 deletions packages/@swag/fetch-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @genapi/swag-fetch-js

## 1.1.4

### Patch Changes

- c
- Updated dependencies
- @genapi/config@0.5.4
- @genapi/core@0.5.4
- @genapi/pipeline@2.0.4
- @genapi/swag-parser@1.1.4

## 1.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@swag/fetch-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@genapi/swag-fetch-js",
"version": "1.1.3",
"version": "1.1.4",
"main": "src/index.ts",
"scripts": {
"build": "ptsup -r src --dts --meta --clean",
Expand Down
11 changes: 11 additions & 0 deletions packages/@swag/fetch-ts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @genapi/swag-fetch-ts

## 1.1.4

### Patch Changes

- c
- Updated dependencies
- @genapi/config@0.5.4
- @genapi/core@0.5.4
- @genapi/pipeline@2.0.4
- @genapi/swag-parser@1.1.4

## 1.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@swag/fetch-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@genapi/swag-fetch-ts",
"version": "1.1.3",
"version": "1.1.4",
"main": "src/index.ts",
"scripts": {
"build": "ptsup -r src --dts --meta --clean",
Expand Down
11 changes: 11 additions & 0 deletions packages/@swag/got-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @genapi/swag-got-js

## 1.1.4

### Patch Changes

- c
- Updated dependencies
- @genapi/config@0.5.4
- @genapi/core@0.5.4
- @genapi/pipeline@2.0.4
- @genapi/swag-parser@1.1.4

## 1.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@swag/got-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@genapi/swag-got-js",
"version": "1.1.3",
"version": "1.1.4",
"main": "src/index.ts",
"scripts": {
"build": "ptsup -r src --dts --meta --clean",
Expand Down
11 changes: 11 additions & 0 deletions packages/@swag/got-ts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @genapi/swag-got-ts

## 1.1.4

### Patch Changes

- c
- Updated dependencies
- @genapi/config@0.5.4
- @genapi/core@0.5.4
- @genapi/pipeline@2.0.4
- @genapi/swag-parser@1.1.4

## 1.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@swag/got-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@genapi/swag-got-ts",
"version": "1.1.3",
"version": "1.1.4",
"main": "src/index.ts",
"scripts": {
"build": "ptsup -r src --dts --meta --clean",
Expand Down
11 changes: 11 additions & 0 deletions packages/@swag/ky-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @genapi/swag-ky-js

## 1.1.4

### Patch Changes

- c
- Updated dependencies
- @genapi/config@0.5.4
- @genapi/core@0.5.4
- @genapi/pipeline@2.0.4
- @genapi/swag-parser@1.1.4

## 1.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@swag/ky-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@genapi/swag-ky-js",
"version": "1.1.3",
"version": "1.1.4",
"main": "src/index.ts",
"scripts": {
"build": "ptsup -r src --dts --meta --clean",
Expand Down
11 changes: 11 additions & 0 deletions packages/@swag/ky-ts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @genapi/swag-ky-ts

## 1.1.4

### Patch Changes

- c
- Updated dependencies
- @genapi/config@0.5.4
- @genapi/core@0.5.4
- @genapi/pipeline@2.0.4
- @genapi/swag-parser@1.1.4

## 1.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@swag/ky-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@genapi/swag-ky-ts",
"version": "1.1.3",
"version": "1.1.4",
"main": "src/index.ts",
"scripts": {
"build": "ptsup -r src --dts --meta --clean",
Expand Down
11 changes: 11 additions & 0 deletions packages/@swag/ofetch-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @genapi/swag-ofetch-js

## 1.1.4

### Patch Changes

- c
- Updated dependencies
- @genapi/config@0.5.4
- @genapi/core@0.5.4
- @genapi/pipeline@2.0.4
- @genapi/swag-parser@1.1.4

## 1.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@swag/ofetch-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@genapi/swag-ofetch-js",
"version": "1.1.3",
"version": "1.1.4",
"main": "src/index.ts",
"scripts": {
"build": "ptsup -r src --dts --meta --clean",
Expand Down
11 changes: 11 additions & 0 deletions packages/@swag/ofetch-ts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @genapi/swag-ofetch-ts

## 1.1.4

### Patch Changes

- c
- Updated dependencies
- @genapi/config@0.5.4
- @genapi/core@0.5.4
- @genapi/pipeline@2.0.4
- @genapi/swag-parser@1.1.4

## 1.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@swag/ofetch-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@genapi/swag-ofetch-ts",
"version": "1.1.3",
"version": "1.1.4",
"main": "src/index.ts",
"scripts": {
"build": "ptsup -r src --dts --meta --clean",
Expand Down
Loading

0 comments on commit a40a595

Please sign in to comment.