Commit graph

6 commits

Author SHA1 Message Date
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
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
Sam Xu 85a36aaef5 change to use --input|-i for the CSDL input 2018-01-04 15:50:18 -08:00
Sam Xu 75738b8d30 fix a typo in command line tool 2017-12-04 16:13:50 -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