Commit graph

17 commits

Author SHA1 Message Date
Vincent Biret 9073743d90
- bumps everything to net6 for supportability
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
2021-11-19 11:19:41 -05:00
Vincent Biret 1d0f0d7e71
- update util to net5 2021-11-19 11:13:58 -05:00
Gareth Jones e1763727f5 Fix paths when operation is bound to a type derived from the type of a
navigation property. (#88)
2021-02-10 16:07:31 -08:00
Gareth Jones c1aa5a6f94
Add model reference support to library and command line utility. (#81)
* Support many conversion options in the command-line tool.
Support local reference files in file-based csdl in the library and command-line tool.

* Added tests for references.

* Updates from github review.
2021-01-14 16:56:26 -08:00
Sam Xu 3d62ec44e6 Change to .Net Framework version 4.7.2 because 4.6.1 is not recommended 2020-01-23 16:40:57 -08: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
ZykovAleksandrZykovAleksandr 2e92323b3f fix some misspellings in README.md 2018-10-15 11:39:29 -07:00
Sam Xu 669c054fb4 Make the target framework align 2018-09-18 15:28:09 -07:00
Sam Xu 85a36aaef5 change to use --input|-i for the CSDL input 2018-01-04 15:50:18 -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 75738b8d30 fix a typo in command line tool 2017-12-04 16:13:50 -08:00
Sam Xu 82341b6664 change to use the nuget package 2017-11-22 11:46:16 -08:00
Sam Xu 4e8357aa5e Move to generator and change the logic 2017-11-21 18:32:29 -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 5d8b477e3f remove the .NetCoreApp 2.0 target frame for the console application 2017-11-16 11:36:11 -08:00
Sam Xu fc2196fb1d Add console application to accept CSDL and output Open API 3.0 2017-11-16 11:33:06 -08:00