Skip to content

Commit

Permalink
Merge pull request #143 from aspida/develop
Browse files Browse the repository at this point in the history
chore(release): 0.16.4
  • Loading branch information
solufa authored May 15, 2021
2 parents a03e48d + f630c6c commit 94ccec9
Show file tree
Hide file tree
Showing 120 changed files with 4,123 additions and 3,073 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [0.16.4](https://github.com/aspida/openapi2aspida/compare/v0.16.3...v0.16.4) (2021-05-15)


### Bug Fixes

* convert names that begin with a number ([9b2dcfa](https://github.com/aspida/openapi2aspida/commit/9b2dcfa63f821bf106acbc82cbfaf474707c5731))
* update [email protected] ([89e28db](https://github.com/aspida/openapi2aspida/commit/89e28dbb562213cd0872f99bbc2ecfa1b383d0b7))

### [0.16.3](https://github.com/aspida/openapi2aspida/compare/v0.16.2...v0.16.3) (2021-04-20)


Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openapi2aspida",
"version": "0.16.3",
"version": "0.16.4",
"description": "Convert OpenAPI 3.0 or Swagger 2.0 definitions into aspida",
"author": "Solufa <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -84,31 +84,31 @@
]
},
"dependencies": {
"aspida": "^1.6.3",
"aspida": "^1.7.0",
"js-yaml": "^4.1.0",
"openapi-types": "^8.0.0",
"swagger-parser": "^10.0.2",
"swagger2openapi": "^7.0.5"
},
"devDependencies": {
"@types/jest": "^26.0.22",
"@types/js-yaml": "^4.0.0",
"@types/jest": "^26.0.23",
"@types/js-yaml": "^4.0.1",
"@types/minimist": "^1.2.1",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"eslint": "^7.24.0",
"eslint-config-prettier": "^8.2.0",
"@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.3.5",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-standard": "^5.0.0",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"standard-version": "^9.2.0",
"ts-jest": "^26.5.5",
"prettier": "^2.3.0",
"standard-version": "^9.3.0",
"ts-jest": "^26.5.6",
"typescript": "^4.2.4"
}
}
13 changes: 13 additions & 0 deletions samples/externals/$api.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
/* eslint-disable */
// prettier-ignore
import { AspidaClient, dataToURLString } from 'aspida'
// prettier-ignore
import { Methods as Methods0 } from './users/_user_id@string/orders'
// prettier-ignore
import { Methods as Methods1 } from './users/_user_id@string/orders/_order_id@string'
// prettier-ignore
import { Methods as Methods2 } from './users/_user_id@string/orders/purchase/invoice'
// prettier-ignore
import { Methods as Methods3 } from './users/_user_id@string/orders/purchase/wallet'
// prettier-ignore
import { Methods as Methods4 } from './users/_user_id@string/orders/unsubscribe'
// prettier-ignore
import { Methods as Methods5 } from './users/_user_id@string/orders/update/renew'
// prettier-ignore
import { Methods as Methods6 } from './users/_user_id@string/phone-numbers/_phone_number@string/orders'
// prettier-ignore
import { Methods as Methods7 } from './users/_user_id@string/phone-numbers/_phone_number@string/orders/purchase/invoice'
// prettier-ignore
import { Methods as Methods8 } from './users/_user_id@string/phone-numbers/_phone_number@string/orders/purchase/wallet'

// prettier-ignore
const api = <T>({ baseURL, fetch }: AspidaClient<T>) => {
const prefix = (baseURL === undefined ? 'https://api.baikalplatform.com/product-management/v1' : baseURL).replace(/\/$/, '')
const PATH0 = '/users'
Expand Down Expand Up @@ -200,5 +211,7 @@ const api = <T>({ baseURL, fetch }: AspidaClient<T>) => {
}
}

// prettier-ignore
export type ApiInstance = ReturnType<typeof api>
// prettier-ignore
export default api
13 changes: 13 additions & 0 deletions samples/externals/users/$api.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
/* eslint-disable */
// prettier-ignore
import { AspidaClient, dataToURLString } from 'aspida'
// prettier-ignore
import { Methods as Methods0 } from './_user_id@string/orders'
// prettier-ignore
import { Methods as Methods1 } from './_user_id@string/orders/_order_id@string'
// prettier-ignore
import { Methods as Methods2 } from './_user_id@string/orders/purchase/invoice'
// prettier-ignore
import { Methods as Methods3 } from './_user_id@string/orders/purchase/wallet'
// prettier-ignore
import { Methods as Methods4 } from './_user_id@string/orders/unsubscribe'
// prettier-ignore
import { Methods as Methods5 } from './_user_id@string/orders/update/renew'
// prettier-ignore
import { Methods as Methods6 } from './_user_id@string/phone-numbers/_phone_number@string/orders'
// prettier-ignore
import { Methods as Methods7 } from './_user_id@string/phone-numbers/_phone_number@string/orders/purchase/invoice'
// prettier-ignore
import { Methods as Methods8 } from './_user_id@string/phone-numbers/_phone_number@string/orders/purchase/wallet'

// prettier-ignore
const api = <T>({ baseURL, fetch }: AspidaClient<T>) => {
const prefix = (baseURL === undefined ? 'https://api.baikalplatform.com/product-management/v1' : baseURL).replace(/\/$/, '')
const PATH0 = '/users'
Expand Down Expand Up @@ -198,5 +209,7 @@ const api = <T>({ baseURL, fetch }: AspidaClient<T>) => {
}
}

// prettier-ignore
export type ApiInstance = ReturnType<typeof api>
// prettier-ignore
export default api
Loading

0 comments on commit 94ccec9

Please sign in to comment.