* Remove example property in Parameters
This helps in avoiding duplication with examples property. They are mutually exclusive. DocumentationURL prop. which used to be set in example property is now set within descriptions property.
* Update src/Microsoft.OpenApi.OData.Reader/Operation/OperationHandler.cs
Co-authored-by: Charles Wahome <thewahome.cw@gmail.com>
* Remove duplicate variable declaration
* Minor refactoring
To help trigger build
Co-authored-by: Irvine Sunday <irochand@microsoft.com>
Co-authored-by: Charles Wahome <thewahome.cw@gmail.com>
Co-authored-by: Sam Xu <saxu@microsoft.com>
* Include EntityType name of ODataKeySegment in Action/Function paths
This helps in preventing potential duplicate operationIds in entity vs entityset functions/actions
* Update tests to validate action/function duplicate operationId fix
* Update test files' action/function operationIds
* Redesign how we retrieve the segment identifiers
* Update test files in line with new segment retrieval redesign
Co-authored-by: Irvine Sunday <irochand@microsoft.com>
* 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.
* Adds Links to EntitySet type response objects
* Adds links to the test OpenAPI docs.
* Refactor to use Utils class for nullability checks
* Modify link generator to handle all instances of IEdmEntityType
* Update arguments
* Add new Link properties
* Update test files with links properties
* Rename parameter
* Fix OpenAPI Link generation
* Reorder Parameters generation before Responses
This is important so that the parameters info can be used for Links generation
* Update test files to validate Link fixes
* Fix links and add optional setting
* Update test for Links
* Revert project PlatformTarget
* Add comment
* Add setting for enabling/disabling showing of schema examples
* Add setting to show schema examples to allow tests to pass
* Update test doc. to test disabling of showing of schema examples
* Refactor to remove unnecessary Link creation of collection of entities
* Revert platform target to default - AnyCPU
* Add helpful comment
* Grammar nit fix
Co-authored-by: Irvine Sunday <v-irsund@microsoft.com>
Co-authored-by: Irvine Sunday <irochand@microsoft.com>
* Adds Links to EntitySet type response objects
* Adds links to the test OpenAPI docs.
* Refactor to use Utils class for nullability checks
* Modify link generator to handle all instances of IEdmEntityType
* Update arguments
* Add new Link properties
* Update test files with links properties
* Rename parameter
* Fix OpenAPI Link generation
* Reorder Parameters generation before Responses
This is important so that the parameters info can be used for Links generation
* Update test files to validate Link fixes
* Fix links and add optional setting
* Update test for Links
* Revert project PlatformTarget
* Add comment
* Refactor to remove unnecessary Link creation of collection of entities
* Revert platform target to default - AnyCPU
* Add helpful comment
* Grammar nit fix
Co-authored-by: Irvine Sunday <v-irsund@microsoft.com>
Co-authored-by: Irvine Sunday <irochand@microsoft.com>
* Adds Links to EntitySet type response objects
* Adds links to the test OpenAPI docs.
* Refactor to use Utils class for nullability checks
* Modify link generator to handle all instances of IEdmEntityType
* Update arguments
* Add new Link properties
* Update test files with links properties
* Rename parameter
Co-authored-by: Irvine Sunday <v-irsund@microsoft.com>
* Adding setting for discriminator value support
* Adding the discriminator value constant
* Adding discriminator support during schema generation
Co-authored-by: Irvine Sunday <v-irsund@microsoft.com>