Граф коммитов

45 Коммитов

Автор SHA1 Сообщение Дата
Ray Chen 62b82fa5bc
Upgrade oav (#50)
* Upgrade oav version.

Avoid adding nullable value for parameter when its' type isn't string;
Output exception infomation for semantic validation.

* Upgrade oad version.
2020-05-27 11:16:11 +08:00
JianyeXi 4e2db16eb3
Fix lintdiff bug (#48)
* fix lintDiff bug

* update changelog

* update oad

* update test case

* remove unused function

Co-authored-by: Jianye Xi <jianyxi@microsoft.com>
2020-05-18 14:27:17 +08:00
JianyeXi 4f0085a4c0
support lint checking for changed input files which are not in default tags (#47)
* support lint checking for  changing of input files which are not  in default tags

Co-authored-by: Jianye Xi <jianyxi@microsoft.com>
2020-05-09 17:16:01 +08:00
JianyeXi 6e704fb98c
breaking change compare against master (#45)
* breaking change compare against master

* update

* update package version

Co-authored-by: Jianye Xi <jianyxi@microsoft.com>
2020-04-22 13:01:10 +08:00
Ray Chen 7c159337cb
Upgrade oav version 0.21.5 (#46)
* Upgrade oav version with pipeline output fix.

Output the exception information when pretty switch is on.
2020-04-22 10:12:53 +08:00
JianyeXi 4ae3aaa288
update oav version to 0.21.4 (#44)
Co-authored-by: Jianye Xi <jianyxi@microsoft.com>
2020-04-14 13:27:04 +08:00
Ray Chen ad45687e98
Update oav (#41)
* Upgrade OAV to latest version.

* Lock typescript version.

* Add package.lock
2020-03-30 19:58:11 +08:00
JianyeXi 375a8dfbd8
Enable pass version of lint tool via environment varaible & upgrade oav versoin (#40)
* enable specify lint versino through env var

* update oav version & changelog

* update package version

* add test

* improve code quaility
2020-03-26 13:45:45 +08:00
Ruoxuan Wang 6e941a216e
breaking change output formatted json message (#39) 2020-03-13 15:39:14 +08:00
Ruoxuan Wang a91b2302b0
fix breaking change can't find file bug (#38)
* fix breaking change can't find file bug

* add unit-test

* add comments for test

* update changelog

* add root cause

* add cleanUp function

* ignore rm error
2020-03-06 15:10:56 +08:00
JianyeXi 715eb20911
fix octokit.issues undefined issue (#37)
* fix octokit.issues undefined issue

* add test for postToGitHub & bump version
2020-03-04 13:54:50 +08:00
JianyeXi 7471a5fc58
move tests to src (#36)
* move tests to src

* update changelog
2020-03-02 13:16:49 +08:00
JianyeXi f2956018e1
code compatible with typescript 3.5.3 (#34)
* code compatible with typescript 3.5.3

* bump up version
2020-02-28 14:11:12 +08:00
Ruoxuan Wang 20ec3d52f4
breaking change expose result (#32) 2020-02-28 10:09:32 +08:00
JianyeXi bce4854295
Update Lint tool invoke script : separate rules to data-plane and arm (#29)
* Update Lint tool invoke script : separate rules to data-plane and arm

* improve npm test script

* add npm test to pipeline
2020-02-27 14:13:19 +08:00
Ruoxuan Wang 6f1b458146
fix breaking-change always pass bug (#30)
* fix breaking-change always pass bug

* update Changelog
2020-02-27 10:33:32 +08:00
Ray Chen aba64aabb7
Upgrade OAV to latest version. (#28)
* Upgrade OAV to latest version.

* Upgrade octokit version to fix CI failues.
2020-02-21 17:57:21 +08:00
Ray Chen 77e2a4f14a
Revert oav version to latest release version. (#25) 2019-09-20 16:02:01 +08:00
Ray Chen 04eff643f6
Use uploadfile vso task for logging testing. (#24) 2019-09-20 15:08:07 +08:00
Ray Chen d64330057d
use latest oav beta version. (#23) 2019-09-19 17:25:17 +08:00
Ray Chen 0fe5ef4c1b
use latest version of oav for testing logging. (#22) 2019-09-19 16:30:59 +08:00
Ray Chen 694127db1e
Use latest oav beta version for testing. (#21) 2019-09-19 10:06:09 +08:00
Ray Chen ed4bb3acad
Use beta oav version. (#20) 2019-09-18 16:18:41 +08:00
Ray Chen 337ec50965
Upgrade oav version. (#19) 2019-09-09 10:07:13 +08:00
Zhiqing Qiu 6efc42c427
Update openapi-diff to fix deserialization issue (#18) 2019-08-28 11:03:42 +08:00
Ray Chen 4b8565fc5b
Revert OAV to earlier version. (#16)
There is side effect for validation on discriminator as requried which
may introduce SDK breaking change.
2019-08-16 16:12:44 +08:00
Nick Schonning 59e86492de chore: Bump OAV version to 0.19.0 (#12)
* chore: Bump OAV version to 0.19.0

* chore: Bump version to 0.4.2
2019-08-15 11:32:52 +08:00
Phoenix He f5e82e30b1
Run semantic validation only on specification files (#14) 2019-07-31 19:27:32 +08:00
ruowan 3da86fe62e Replace diff function in `getFilesChangedInPR` and small fix (#11)
* `structuralDiff` in `getFilesChangedInPR` instead of `diff`

* fix '@types/jsonpath' and result for exec function

* bump version small fix
2019-07-10 17:11:23 -07:00
Sergey Shandar b273baf1be
Move scripts from specs repo (#7)
* modelValidation

* changelog

* breaking changes: no global variables.

* Remove global variables.

* postToGitHub

* 0.3.1

* postToGitHub

* momentOfTruthPostProcessing

* 0.3.3 scripts

* semanticValidation

* 0.3.5

* minor

* GetSwaggers()

* getExamples()

* bug fix.

* getLogDir()
2019-04-24 10:29:07 -07:00
Sergey Shandar 6c8c2dffad
Fix autorest path (#6)
* Run AutoRest for breaking changes from 'node_modules'.

* Try to resolve Autorest path.

* node_modules/.bin/autorest

* OAD with AutoRest.

* 0.2.18

* OAD 0.6.1

* OAD 0.6.2

* OAD 0.6.3
2019-04-22 17:04:23 -07:00
Sergey Shandar 81be39717a
Swagger Schema URL fix (#4)
* Swagger 2.0. Schema URL.

* update version 0.2.13

* correct URL
2019-04-19 15:44:04 -07:00
Sergey Shandar c2c2891130
Using avocado diff algorithm instead of 'git fetch' (#3)
* no fetch branch.

* momenthOfTruthUtils

* 0.2.1

* BeoreOrAfter

* fix File type

* 0.2.4

* no fetch

* export modules

* Fix 'dist'

* revert breaking changes.

* export momentOfTruthUtils and ts-utils

* no branch

* address comments.

* Avocado ^0.4.1

* 0.2.12

* minor
2019-04-19 13:04:42 -07:00
Sergey Shandar b1b9648c62
do we need 'tsconfig.json' ? 2019-04-16 11:07:41 -07:00
Sergey Shandar 0122ceee57
output folder 2019-04-15 17:44:14 -07:00
Sergey Shandar 0480e4675f
momentOfTruth 2019-04-15 17:32:08 -07:00
Sergey Shandar 04f65a2ff2
tsconfig.json 2019-04-15 17:14:30 -07:00
Sergey Shandar 0dcbcb8b7f
fix 2019-04-15 17:13:18 -07:00
Sergey Shandar 2708b3218b
error 2019-04-15 17:12:15 -07:00
Sergey Shandar d193140a7d
prepack 2019-04-15 17:08:24 -07:00
Sergey Shandar 01eef81cf5
no need for tsconfig.json 2019-04-15 17:06:27 -07:00
Sergey Shandar 9bd58423ea
tsconfig.json 2019-04-15 17:05:44 -07:00
Sergey Shandar d17a4081df
version bump 2019-04-15 17:04:32 -07:00
Sergey Shandar 86011694d6
installation and tsc 2019-04-15 17:01:06 -07:00
Sergey Shandar 635c58e2aa
breaking-change.ts - copy from 'azure-rest-api-specs'. 2019-04-15 16:58:58 -07:00