Commit graph

110 commits

Author SHA1 Message Date
Sam Xu 1d7e7e0823 Rename the operationId for operation import 2019-10-10 13:39:51 -07:00
Sam Xu 6377ee0d47 Change the OperationId for function/functionImport 2019-10-10 11:35:39 -07:00
Sam Xu 35a35a5f56 Enable Uri escape function call 2019-09-26 12:57:15 -07:00
Sam Xu 5e3db101cf Fix issue #42: duplicate path parameters should be prevented 2019-09-25 14:44:02 -07:00
Sam Xu 1589b2622a Update to ODL.Edm 7.6.1.beta: Permission, Custom Heads, etc 2019-09-24 16:06:15 -07:00
Sam Xu f362c34e31 Fix issue #36: Response object needs type property to identify collections 2019-08-13 13:00:12 -07:00
mispeer 2ff03dd401 Change encryption for fips compliance (#38)
* On Servers where FIPS compliance is enabled, use of MD5 encryption will fail for any usage in .NET

Changing to FIPS compliant SHA256

* Fix typo
2019-08-05 19:52:57 -07:00
Sam Xu 5a1efcc08e Add tests for record expression extensions 2019-06-28 11:28:17 -07:00
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