Luis Tejeda
8c2af3648f
Merge branch 'feature/swagger20BundleSupport' into feat/fixLongPaths20
2022-06-22 12:20:30 -05:00
Erik Mendoza
9441394461
Handling collisions
...
- Handle external collisions generated from the naming strategy
- Handle local collisions generated by a same named component in local components objects and a new key generated from bundle
2022-06-21 20:23:58 -05:00
Luis Tejeda
ad1baee51c
fix long paths
...
fix long paths
2022-06-21 16:47:41 -05:00
Luis Tejeda
ac6c73209d
change json output format
2022-06-17 10:33:34 -05:00
Luis Tejeda
3f1f1e4a37
Merge branch 'split/develop/multiFileSupport' into feature/swagger20BundleSupport
2022-06-16 16:23:36 -05:00
Erik Mendoza
a53cbcdfcc
moving 2.0 tests to a different file
2022-06-16 11:17:59 -05:00
Luis Tejeda
0b78cf18a5
Validate if the input version is supported
...
Validate if the input version is supported
2022-06-15 18:08:34 -05:00
Luis Tejeda
2c0d63ff29
Validate the version input
...
Validate the version input
2022-06-15 17:01:33 -05:00
Luis Tejeda
d47666992d
Update bundle.test.js
2022-06-15 15:32:48 -05:00
Erik Mendoza
2722b2d26e
Adding composite tests 3.0
...
- anyOf
- oneOf
- not
Those objects are not supported in 2.0 version
2022-06-15 13:06:31 -05:00
Erik Mendoza
ff2c80cbc4
Adding tests to 3.0
...
- anyOf
- not
- oneOf
2022-06-14 17:49:35 -05:00
Luis Tejeda
ce6c486a94
Update bundle.test.js
2022-06-14 16:29:35 -05:00
Luis Tejeda
22325268c4
Merge branch 'feature/swagger20BundleSupport' into feat/response20
2022-06-14 16:26:27 -05:00
Luis Tejeda
f06aca545a
Add support for reusable response
...
Add support for reusable response version swagger 2.0
2022-06-14 16:20:24 -05:00
Luis Tejeda
835dcb27b2
Add test for security schemes v 2
2022-06-14 10:38:03 -05:00
Erik Mendoza
04ccf4dcb5
Adding tests
...
- AdditionalProperties
- AllOf is already validated on petstore separated file
2022-06-13 18:39:03 -05:00
Erik Mendoza
7d8dc86462
Adding tests
...
- AdditionalProperties 3.0 and 2.0
- allOf 2.0 (it is included in petstore separated tests)
2022-06-13 18:24:10 -05:00
Luis Tejeda
361c5d8298
Delete unnecesary test
...
Delete unnecesary test
2022-06-13 16:40:05 -05:00
Luis Tejeda
60008a3617
Merge branch 'fix/referencedComponents' into fix/refprop20
2022-06-13 13:38:41 -05:00
Luis Tejeda
b05958d308
rename files
...
rename files
2022-06-13 13:38:21 -05:00
Luis Tejeda
f601e16adf
Merge branch 'fix/referencedComponents' into fix/refprop20
2022-06-13 12:46:46 -05:00
Luis Tejeda
9078e2ad91
Add callback and security schemes support
...
Add callback and security schemes support
2022-06-13 12:35:59 -05:00
Erik Mendoza
144138c63d
Applying naming changes to expected files
...
- Fix expected files
- Fix jsonPointer tests
- Adding a missing test in bundle
- Adding changes related with the naming
2022-06-10 20:44:24 -05:00
Luis Tejeda
812565e7e2
Added support for components
...
Added support for components
2022-06-10 17:28:49 -05:00
Erik Mendoza
185ce07670
Merging last swagger20Support with last version
2022-06-09 19:00:01 -05:00
Erik Mendoza
81cb60a452
Merge branch 'split/develop/multiFileSupport' into feature/swagger20BundleSupport
2022-06-09 18:39:20 -05:00
Luis Tejeda
9896b24d81
add correct to root name in result
...
add correct to root name in result
2022-06-09 18:25:23 -05:00
Erik Mendoza
a00d730598
fixing typo
2022-06-09 16:10:12 -05:00
Luis Tejeda
9b9164c0c2
Add root detection
...
Add root detection in bundle and detect related files
2022-06-09 12:16:11 -05:00
Luis Tejeda
642de55832
Merge branch 'split/develop/multiFileSupport' into fix/formatForEachroot
2022-06-09 11:50:38 -05:00
Luis Tejeda
775682b7c3
Take format from root
...
take the format of each root when the option for the process is not present
2022-06-09 11:46:23 -05:00
Carlos_Veloz
7e5cac74ee
removing duplicated tests
2022-06-09 10:51:38 -05:00
Erik Mendoza
533faeba82
Adding missing data in test
...
- Adding missing data
- Fixing style in bundle.test.js file
2022-06-08 18:37:02 -05:00
Erik Mendoza
446e8651e5
Resolving properties as a reusable component
...
Resolve each property as a different schema instead of inline
2022-06-08 18:15:03 -05:00
Luis Tejeda
fcf43811d0
Update bundle.test.js
2022-06-08 17:07:57 -05:00
Luis Tejeda
bb3a3c00d9
Change defatult version
...
change the default version from 3.0.0 to 3.0 and validate incorrect input.type value (different than multiFile)
2022-06-08 16:51:56 -05:00
Luis Tejeda
c0254456ae
bundle only found content
...
bundle only the files that has content and add test for filtering root files in bundle according to the version.
2022-06-08 13:12:57 -05:00
Luis Tejeda
eafe766c8b
look for the root content in data array
...
look for the root content in the data array instead of expecting content to be present in the root object
2022-06-07 16:46:43 -05:00
Erik Mendoza
b227ed326c
Fixing properties resolving
...
Properties should be resolved as independant schema not always inline
2022-06-06 19:29:42 -05:00
Luis Tejeda
0a81fd8a96
Folder for multifile and multi data res
...
Change the use of folder and now use multiFile as option type value.
Return a JS object instead of a json string
return a data array in response
2022-06-06 17:14:08 -05:00
Luis Tejeda
4ccfa86271
Throw errors instead of returning reason
...
Throw errors instead of returning reason and throw errors if the entry has no root files
2022-06-06 15:58:09 -05:00
Luis Tejeda
2e73ed22bb
Fix input validation in multi file APIs
2022-06-06 11:23:39 -05:00
Luis Tejeda
7b5e68b2b6
Issue with empty roots bundle
2022-06-03 16:34:23 -05:00
Luis Tejeda
b7e2597cc1
Add input validation for Multifile APIs
...
Add input validation for Multifile APIs
2022-06-03 12:54:10 -05:00
Luis Tejeda
d2e2be3c06
add example of using examples in swagger 2.0
...
add example of using examples in swagger 2.0
2022-06-02 13:10:34 -05:00
Luis Tejeda
21190fa50b
Merge remote-tracking branch 'origin/feature/swagger20BundleSupport' into test/entitiesRootRef20
2022-06-01 17:31:48 -05:00
Erik Mendoza
e01f02afb8
Adding swagger 2.0 similar scenarios to 3.0
2022-06-01 17:16:04 -05:00
Luis Tejeda
66419af8d4
Add examples example
...
Add examples example
2022-06-01 16:34:17 -05:00
Luis Tejeda
d289dd0fdc
Fix defintions replacing instead of merging
...
Fix defintions replacing instead of merging
2022-06-01 14:09:35 -05:00
Luis Tejeda
6fa20ccb48
move 2.0 test files to folder
...
move 2.0 test files to folder
2022-06-01 13:05:44 -05:00