Skip to content

OData API Explorer Does Not Support Complex Model Substitution #358

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
commonsensesoftware opened this issue Oct 2, 2018 · 0 comments
Closed

Comments

@commonsensesoftware
Copy link
Collaborator

The OData API Explorer automatically substitutes types for Swagger integration when they do not exactly match the EDM for the current API version. The current implementation only supports primitive properties.

The following structural properties should be supported:

  • Complex Types
  • Contained Entity Types
  • Navigation Properties

In addition, very complex or deep object graphs might contain multiple sublevels, which should also be supported.

Workaround

The only current, possible workaround is for service authors to create Swagger-specific models that match the EDM for each corresponding API version when the structural type is complex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant