-
Notifications
You must be signed in to change notification settings - Fork 81
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
More than two annotation target path segments #254
Comments
Hi Gaurav (@golchha007), So far I was not aware of use cases needing more than one target path segments. Could you please explain what you want to achieve, and provide an example (full EDMX or snippets) for your use case? Thanks in advance |
Hi Ralf, Sharing a pdf file with Annotation whose target path is more than 2 level. The target path is "cds_xdmoxui_travel_approver_m.__Format/FitToPage/ErrorRecoveryBehavior". Best Regards, |
Hi Gaurav, Neither Now they are ignored "loudly" and OpenAPI generation should succeed. Does this answer your question? Thanks in advance |
Hi Ralf, Thanks for clearing the doubt. Best Regards, |
Hi Gaurav, for OData allows you to use two or more path segments to express for example "street within the shipping address of a sales quote is immutable, and in all other uses of address it is mutable", but the OpenAPI generator can't express this as it will generate a single schema for a complex type, and not different schemas for different uses of the complex type. If you have more questions, please don't hesitate to ask. Thanks in advance |
Hello,
While converting odata v2 to open api spec we get "More than two annotation target path segments" warning message.
Looking at code base, we could figure out that currently more than 2 level of path for annotations is not supported.
Can you please help us know the reason behind why this scenario is not supported ?
Also please let us know if you had face any challenge incase you tried implementing it or if there is plan to support it in future.
Best Regards,
Gaurav
The text was updated successfully, but these errors were encountered: