Sam Xu
d28ed09238
Switch to use the latest Capabilities vocabulary, enable permission
2019-06-27 17:06:53 -07:00
mispeer
c25df986ac
Users/mispeer/serialize nullable references for v2 ( #34 )
...
* Introduce setting hidden from UI, such that openApiSpec version 2 has the nullable references properly serialized.
AnyOf does not exist in v2, and those references are currently lost.
* Updating existing tests for nullable/schema areas where v2 and v3 differ
Making them theories to properly test both openApi specifications
Adding relevant yaml, json test files
Modifying code to ensure enums and entities also generate openApi with no anyOf for openApi v2 (not supported)
* Fix "Succeeded" typo in output for util
Fix tab spacing in util
Add version setting in util with documentation
* Remove tabs
* Refactor tests to take SpecVersion directly in InlineData
Modify 2 existing tests to test json schema generation by passed spec version
2019-06-19 14:27:48 -07:00
Michael Speer
db3c3e886c
Fix issue #29 : Action responses not serialized the return type
2019-05-10 13:52:52 -07:00
Sam Xu
37f49c4e3d
Add test cases for multiple schemas edm model
2019-05-10 10:42:10 -07:00
Sam Xu
c56cc0db5c
Update part of capablities and authorizations
2019-04-05 11:38:57 -07:00
Sam Xu
3a1e56b25c
Change the operationId generate rule for edm operation
2019-03-27 16:06:31 -07:00
Sam Xu
c249cc53f3
update the reference and fix the failed test cases
2019-02-27 10:22:37 -08:00
Brecht Debaere
fd12df0436
Update Microsoft.OpenApi to latest to solve DateTimeOffset serialization.
2019-02-27 09:14:58 -08:00
Brecht Debaere
5a4b5a4597
Update test JSON files.
2019-02-27 09:14:58 -08:00
Sam Xu
4a22d78201
Fix the failed test cases
2019-02-05 10:03:42 -08:00
Sam Xu
afe038f1a4
Modify the unit test owing to add the style in the parameter
2018-10-12 11:30:28 -07:00
Sam Xu
9e3306e76d
Modify the ODataPathProvider
2018-09-24 11:05:55 -07:00
Sam Xu
b5b18ae565
Fix the failed test cases
2018-09-21 12:51:30 -07:00
Sam Xu
b162884a3f
Add the HttpRequest for operation (import) and response example
2018-09-20 16:36:44 -07:00
Sam Xu
74f41bdd47
change the readonly property as =>
2018-09-20 10:06:29 -07:00
Sam Xu
eefdb23e0e
Fix the failed test cases
2018-09-19 10:21:14 -07:00
Sam Xu
f9e3763500
Clean the codes and add the example to the components
2018-09-18 16:28:44 -07:00
Sam Xu
669c054fb4
Make the target framework align
2018-09-18 15:28:09 -07:00
Sam Xu
5348ea25f2
Modify the codes
2018-09-18 14:35:57 -07:00
Sam Xu
57b66cb983
modify the failed test case
2018-09-17 17:30:42 -07:00
Sam Xu
39da108afd
Modify the Open Api convert settings
2018-09-17 16:00:36 -07:00
Sam Xu
8a8b2fe103
Modify EdmModelExtensions and add test cases
2018-09-17 13:26:42 -07:00
Sam Xu
cecf114328
Modify the path related codes
2018-09-17 13:07:07 -07:00
Sam Xu
be14a752d3
modify the ODataPath provider
2018-09-14 17:00:21 -07:00
Sam Xu
b0cc50d59f
Modify the ODataPath generator process
2018-09-14 10:24:12 -07:00
Sam Xu
e4d8bf03d8
fix the problem about Query options should be the same for a resource
2018-09-11 17:22:39 -07:00
Sam Xu
de9ed86bee
Modify the Authorization provider
2018-09-11 16:05:07 -07:00
Sam Xu
8495c737b7
modify the HttpRequest annotation and add test cases
2018-09-11 10:58:32 -07:00
Sam Xu
5a2a2af9ae
Change the oneOf to anyOf for Double/Single/Int64
2018-08-29 10:30:21 -07:00
Sam Xu
f38b9d3ec0
add test cases for ODataKeySegment key parameters
2018-08-28 16:14:17 -07:00
Sam Xu
0f8b01df3e
refactor the operation handler
2018-08-28 15:47:44 -07:00
Sam Xu
009ca7fef3
Continue on the PathItemHandler and test cases
2018-08-27 17:11:50 -07:00
Sam Xu
13ca340cc0
refactor for the capabilities and modify the test cases
2018-08-23 17:27:14 -07:00
Sam Xu
91f8fb371a
Change the capablities classes and refactor the singleton path item handler
2018-08-22 14:40:54 -07:00
Sam Xu
b210e2a099
change the segment and path
2018-08-21 14:42:55 -07:00
Sam Xu
95b6994c02
move the error message to resource
2018-08-20 14:38:34 -07:00
Sam Xu
095a1fc130
Update Microsoft.OpenApi version 1.1.0
2018-08-16 13:14:55 -07:00
Sam Xu
55f8619027
Add the entity type name prefix for Id key
2018-08-16 11:54:05 -07:00
Sam Xu
a3a380e269
Modify the Segment classes and add test cases for them
2018-08-08 11:42:59 -07:00
Sam Xu
1b8d685dc7
Merge Graph changes into Master branch
2018-08-08 10:18:01 -07:00
Sam Xu
dd72df735e
update to latest OpenApi dll and add the key as segment into context
2018-01-29 15:46:19 -08:00
Sam Xu
25851ec64e
add the KeyAsSegmentSupported capabilities annotation
2018-01-26 17:58:00 -08:00
Sam Xu
69431503c5
Make OperationId output by default and use the Camel Case format
2018-01-24 17:16:55 -08:00
Sam Xu
f7f9f98f8f
Modify Batch, Top, Skip, IndexableByKey support restriction and Sort Restriction, add unit tests
2018-01-23 16:00:15 -08:00
Sam Xu
b00cd0ee26
modify FilterRestrictions and add unit tests
2018-01-23 14:49:36 -08:00
Sam Xu
29b8a910ed
Modify Insert & Update restrictions and add unit tests
2018-01-23 14:30:26 -08:00
Sam Xu
2f1ed28186
Modify DeleteRestrictions and add unit tests
2018-01-23 14:10:24 -08:00
Sam Xu
d19de45b33
modify ExpandRestrictions and add unit tests
2018-01-23 13:45:29 -08:00
Sam Xu
0541b46356
modify the count restrictions test
2018-01-22 18:32:46 -08:00
Sam Xu
112b0142aa
Modify CountRestrictions and add unit tests
2018-01-22 18:10:37 -08:00
Sam Xu
76557959d6
Modify the Capabilities initialize function
2018-01-22 16:13:48 -08:00
Sam Xu
d7f6991914
modify NavigationRestrictions and add the unit tests
2018-01-22 15:20:29 -08:00
Sam Xu
07c5ca973c
Modify the SearchRestrictions and add related test cases
2018-01-19 17:29:29 -08:00
Sam Xu
6b965f5af2
modify to return the collection of entity type for the GET entity operation
2018-01-19 09:55:43 -08:00
Sam Xu
e3e5f5d465
fix the response schema type as object
2018-01-18 19:19:41 -08:00
Sam Xu
a9a68fb662
modify the operation and parameter generator to use the capabilites
2018-01-18 18:20:02 -08:00
Sam Xu
be25a389a6
add the source file into the csproj
2018-01-18 18:08:12 -08:00
Sam Xu
28be54124f
add the initial capabilities test files
2018-01-18 17:57:03 -08:00
Sam Xu
47d1564fb5
fix the type as array for list entity set and update to beta10 common lib
2018-01-11 11:15:21 -08:00
Sam Xu
4b80118c7a
modify the output, add the build script and skip strong name
2017-12-20 16:15:17 -08:00
Sam Xu
7588eb08de
Update to Open API library on Nuget.org and resolve the conflicts
2017-12-20 11:44:43 -08:00
Sam Xu
54a585aac9
switch to the 35MSSharedLIb1024.snk signing file
2017-12-14 11:29:10 -08:00
Sam Xu
fd7508f2e0
Add the signing and update to Corelib version beta008
2017-12-12 11:50:45 -08:00
Sam Xu
a759876b48
Add the IEEE754Compatible options for Decimal and Int64 type
2017-12-08 11:50:35 -08:00
Sam Xu
bdbe629e5c
add the navigation property path item and add the edm model validation
2017-12-06 18:36:06 -08:00
Sam Xu
4ee734ffd3
resolve the comments
2017-12-05 18:28:34 -08:00
Sam Xu
995e6380ce
update to 1.0.0-beta007 and add option for spec version in GUI
2017-12-04 10:28:58 -08:00
Sam Xu
ee232f9523
modify the schema for Geo*, Property, etc
2017-12-01 15:11:18 -08:00
Sam Xu
ac4e7dc56e
clean the schema for property
2017-11-30 16:20:28 -08:00
Sam Xu
2a98c209a6
1. Modify to use ODL api for the vocabulary. 2. Change the Schema for entity & complex type. 3. Add unit test for schema on structured type.
2017-11-30 14:30:44 -08:00
Sam Xu
5ee41ab4df
Move the functions to OpenApiSchemaGenerator and add unit test for the Enum type schema
2017-11-30 11:09:02 -08:00
Sam Xu
21363c0128
Remove ParameterExtensions.cs and clean the parameter generator
2017-11-29 15:44:42 -08:00
Sam Xu
30379852c7
remove ResponseExtensions.cs and add test for OpenApiResponseGenerator.cs
2017-11-29 14:36:31 -08:00
Sam Xu
71e4f379c0
add some comments for Operation generater and change Tags unit test name
2017-11-29 13:40:49 -08:00
Sam Xu
a29eed1d8e
add the path item test for Edm operation
2017-11-29 10:50:10 -08:00
Sam Xu
2895681fca
fix the summary for action operation and add unit test for operation import path item creating
2017-11-29 10:22:43 -08:00
Sam Xu
9bfe8138a2
Modify the pathitem, operation, requestbody generator and add unit test cases
2017-11-28 19:21:52 -08:00
Sam Xu
343d264c28
change OpenApiPathItemGenerator and add unit test cases
2017-11-27 18:07:55 -08:00
Sam Xu
63cea93069
Modify the OpenApiOperationGenerator and add unit test cases
2017-11-27 15:29:45 -08:00
Sam Xu
fdcc24dd60
change the Tags unit test
2017-11-27 11:12:24 -08:00
Sam Xu
6a7203d088
add unit test for OpenApiDocumentGenerator
2017-11-27 10:22:09 -08:00
Sam Xu
82341b6664
change to use the nuget package
2017-11-22 11:46:16 -08:00
Sam Xu
31c7746e30
add ODataContext and add unit tests
2017-11-21 19:44:38 -08:00
Sam Xu
4e8357aa5e
Move to generator and change the logic
2017-11-21 18:32:29 -08:00
Sam Xu
e94df83615
ok
2017-11-21 14:47:38 -08:00
Sam Xu
adb2ab4f26
modify based on the reference change and tags, securityscheme changes in common core lib
2017-11-20 10:46:18 -08:00
Sam Xu
80b5f0d148
change the public api name as ConvertToOpenApi from feedback
2017-11-20 10:03:59 -08:00
Sam Xu
bc13182949
Make the unit test pass
2017-11-16 11:19:47 -08:00
Sam Xu
6511663e37
modify the EdmModelExtensions and add unit test cases for it
2017-11-16 11:16:12 -08:00
Sam Xu
ebf0bf962f
remove the .netcoreapp
2017-11-15 20:35:24 -08:00
Sam Xu
74e030eb18
add the core lib project and make test case pass
2017-11-15 20:19:18 -08:00
Sam Xu
25654147ac
add the schema test cases
2017-11-15 19:22:08 -08:00
Sam Xu
e366220190
make the edm to openapi document test work
2017-11-14 16:54:03 -08:00
Sam Xu
f19145dd2d
add test cases for paths servers and components
2017-11-14 15:40:27 -08:00
Sam Xu
3a5754af79
add test case for OpenApiTagsGenerator
2017-11-14 14:59:06 -08:00
Sam Xu
58202e29a4
remove all the subfolders
2017-11-14 14:41:19 -08:00
Sam Xu
15fd35b59a
move error class into commons folder
2017-11-14 14:21:45 -08:00
Sam Xu
45eedf6c75
continue on cleaning the codes
2017-11-13 12:43:08 -08:00
Sam Xu
436f7f3a76
clean the project and change the namespace
2017-11-10 16:14:41 -08:00
Sam Xu
41ecee1b8a
clean the test project
2017-11-10 16:01:43 -08:00