Commit Graph

265 Commits

Author SHA1 Message Date
Dhroov Gupta
4e94cf04d2 removed unwanted check for childCount and added childCount property in trie Node 2019-08-09 23:21:00 +05:30
Dhroov Gupta
b7a5af4788 added a comment for explaining childCount 2019-08-08 14:04:47 +05:30
Dhroov Gupta
bc77c603b3 added more checks in test 2019-07-24 11:42:23 +05:30
Dhroov Gupta
b814cc7041 change path variable name to avoid conflicts 2019-07-23 16:10:22 +05:30
Dhroov Gupta
4630b9bc54 resolved conflict 2019-07-23 14:31:04 +05:30
Dhroov Gupta
052a2bf600 added logic for multiple folders collapsed 2019-07-23 14:29:25 +05:30
abhijitkane
c84e92d2eb 0.0.16 v0.0.16 2019-07-22 18:34:32 +05:30
abhijitkane
da280b4fee Adding changelog for 0.0.16 2019-07-22 18:34:25 +05:30
Abhijit Kane
0c8a5d0b3f Merge pull request #100 from postmanlabs/feature/read-correct-version-in-bin
Reading version for binary from package.json
2019-07-22 18:17:35 +05:30
abhijitkane
a112307ad4 Reading version for binary from package.json 2019-07-22 18:10:53 +05:30
Abhijit Kane
3055ae5fef Merge pull request #99 from postmanlabs/feature/ignore-lack-of-body-props
Handling missing body properties
2019-07-22 18:05:10 +05:30
abhijitkane
9e8e8418ee Adding todos 2019-07-22 17:49:36 +05:30
abhijitkane
65f540bd27 Handling missing body properties 2019-07-22 17:45:18 +05:30
Dhroov Gupta
da50110055 chnaged the patter of naming of collapsed folder 2019-07-18 15:28:55 +05:30
Dhroov Gupta
477ee401e8 minimize openapi json file 2019-07-18 15:00:34 +05:30
Dhroov Gupta
4b0e8b9564 minimize openapi json 2019-07-18 14:56:40 +05:30
Dhroov Gupta
267e20f1d6 added feature for collapsed of multiple unnecessary folders 2019-07-18 14:50:21 +05:30
Abhijit Kane
244c1b524e Merge pull request #79 from simonlampen/patch-1
Update sample to read as string not buffer
2019-07-15 12:32:43 +05:30
Abhijit Kane
79dbaabb9a Merge pull request #81 from pitpit/bugfix/fix-requests-as-root-crash-the-converter
Fix crash of the converter if openapi specs contain a root endpoint (path: `/`)
2019-07-15 12:19:45 +05:30
Damien Pitard
04465c6138 fix unit test to handle '(root)' folder 2019-07-08 15:01:36 +02:00
Damien Pitard
acbf12ca34 use (root) as folder name in case two requests are present under the / path 2019-07-08 12:09:45 +02:00
Damien Pitard
5492bea8e4 remove comment section in 'should generate trie taking swagger specs with root endpoint declaration as input.' test 2019-07-08 12:09:11 +02:00
Damien Pitard
beadb19852 Fix crash of the converter if openapi specs contain a root endpoint (path /)
Fix #80
2019-06-18 17:12:28 +02:00
Damien Pitard
0efeab44a2 Add unit test to reproduce #80 2019-06-18 16:25:47 +02:00
Simon Lampen
0344aa4269 Update sample to read as string not buffer
If the encoding option is not specified in the readFileSync method, then the return type is an ArrayBuffer not a string. Also change the convert param to the use return value of the readFileSync method.
2019-06-10 10:55:41 +12:00
abhijitkane
d344eed31c 0.0.15 v0.0.15 2019-06-05 17:18:31 +05:30
abhijitkane
39014bf592 v0.0.15 changelog bump 2019-06-05 17:18:29 +05:30
Abhijit Kane
8e97196a8d Merge pull request #74 from postmanlabs/feature/code-cleanup
Feature/code cleanup
2019-06-05 17:08:12 +05:30
abhijitkane
975b271711 Updated lockfiles for npm@6.4.1 2019-06-05 15:43:21 +05:30
abhijitkane
c8553fb0f8 Updates to tests, adding system tests, lint warning fixes 2019-06-05 12:54:47 +05:30
abhijitkane
b4c14ba22a 0.0.14 v0.0.14 2019-06-04 16:53:15 +05:30
abhijitkane
eb721c2b7b Added changelog for v0.0.14 2019-06-04 16:53:12 +05:30
Abhijit Kane
8229445ca0 Merge pull request #72 from postmanlabs/feature/correct-parsing-of-json-examples
Trying to parse reference examples as JSON
2019-06-04 16:47:13 +05:30
abhijitkane
b6fd8ab8a4 Trying to parse reference examples as JSON 2019-06-04 14:31:26 +05:30
abhijitkane
8532d83f67 v0.0.13 bump 2019-05-29 11:08:00 +05:30
abhijitkane
ff3058737a Adding auth manually - sdk unreliable 2019-05-29 11:05:25 +05:30
abhijitkane
010886ca0c Accepting non-array defaults for array-type params 2019-05-28 22:01:56 +05:30
abhijitkane
bde859581a Support for x-postman-meta (auth helpers) 2019-05-28 22:01:33 +05:30
abhijitkane
eb95a69882 Removing allOf placeholder now that schema.allOf support has been added 2019-05-26 17:31:52 +05:30
abhijitkane
4949949266 Using a placeholder for servers.url in case of falsy values 2019-05-26 17:02:03 +05:30
Abhijit Kane
1f4bc63f2a Merge pull request #68 from postmanlabs/feature/handle-trailing-slash-in-paths
Not treating empty path segments as folder names
2019-05-26 16:55:33 +05:30
Abhijit Kane
1f8c5ba54e Merge pull request #67 from postmanlabs/feature/handling-for-allOf
Handling allOf schemas for type: object
2019-05-26 16:51:22 +05:30
Abhijit Kane
836ff68f50 Merge pull request #66 from postmanlabs/feature/allow-refs-from-path
Allow  to point to paths (handling for ~1 and ~0 in $ref)
2019-05-26 16:50:10 +05:30
Abhijit Kane
9dbef6bbfd Merge pull request #65 from brpeterman/develop
Gracefully handle array parameters when schemaFaker is disabled
2019-05-26 16:49:16 +05:30
abhijitkane
86daecae9d Not treating empty path segments as folder names 2019-05-26 14:02:08 +05:30
abhijitkane
f2be15bc79 Handling allOf schemas for type: object 2019-05-26 13:42:41 +05:30
abhijitkane
9f989fa749 Allow to point to paths (handling for ~1 and ~0 in ) 2019-05-26 10:56:14 +05:30
Brandon Peterman
f52f38fc14 Gradcefully handle array parameters when schemaFaker is disabled
Fix #64
2019-05-24 14:00:43 -05:00
Abhijit Kane
bb01e4c14b Merge pull request #63 from postmanlabs/feature/stringify-queryParams-while-schema-faking
Manually stringifying query param values that are faked as integers
2019-05-21 14:42:24 +05:30
abhijitkane
0e45228e71 Manually stringifying query param values that are faked as integers 2019-05-21 14:34:26 +05:30