Skip to content

Commit

Permalink
Feature: Better cross file reference support for OAI2 -> OAI3 Convert…
Browse files Browse the repository at this point in the history
…er (#131)
  • Loading branch information
timotheeguerin authored Dec 11, 2020
1 parent a802fa6 commit f994a71
Show file tree
Hide file tree
Showing 12 changed files with 336 additions and 163 deletions.
15 changes: 3 additions & 12 deletions .default-eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ parserOptions:
ecmaVersion: 2018
sourceType: module
warnOnUnsupportedTypeScriptVersion : false
project: "./tsconfig.json"
rules:
"@typescript-eslint/no-this-alias" : 'off'
"@typescript-eslint/interface-name-prefix": 'off'
Expand All @@ -26,14 +27,10 @@ rules:
"@typescript-eslint/no-unused-vars": 'off'
"@typescript-eslint/no-parameter-properties": 'off'
"@typescript-eslint/no-angle-bracket-type-assertion" : 'off'
"@typescript-eslint/no-use-before-define": "off"
"require-atomic-updates" : 'off'
'@typescript-eslint/consistent-type-assertions' :
- error
- assertionStyle: 'angle-bracket'
'@typescript-eslint/no-floating-promises': error

"@typescript-eslint/array-type":
- error
- default: generic
indent:
- warn
- 2
Expand All @@ -43,12 +40,6 @@ rules:
- 2
no-undef: 'off'
no-unused-vars: 'off'
linebreak-style:
- 'error'
- unix
quotes:
- error
- single
semi:
- error
- always
Expand Down
3 changes: 3 additions & 0 deletions oai2-to-oai3/changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Change Log - @azure-tools/oai2-to-oai3

# 4.1.0
- **fix**: Issue with cross-file referneces of body parameters [PR 131](https://github.com/Azure/perks/pull/131)

# 3/28/2019
- republishing to force change in package dependency chain.
8 changes: 4 additions & 4 deletions oai2-to-oai3/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "@azure-tools/oai2-to-oai3",
"version": "4.0.0",
"version": "4.1.0",
"patchOffset": 100,
"description": "OpenAPI2 to OpenAPI3 conversion library that maintains souremaps for use with AutoRest",
"main": "./dist/main.js",
"typings": "./dist/main.d.ts",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts",
"engines": {
"node": ">=10.12.0"
},
Expand Down Expand Up @@ -57,4 +57,4 @@
"@azure-tools/openapi": "~3.0.0",
"source-map": "0.5.6"
}
}
}
Loading

0 comments on commit f994a71

Please sign in to comment.