-
-
Notifications
You must be signed in to change notification settings - Fork 158
Support various JADNC controller types #1052
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
Comments
Upon further investigation, I found this isn't as simple as it sounds. The difficulty lies in the fact that
This means we can't rely on whether an action method exist to determine whether to expose an endpoint in OAS. We can't rely on the constructor parameters ( As a compromise, I've ended up with the following:
Support for Non-standard action methods on JSON:API-controllers (for example, to upload a file) are out of scope. They remain hidden. The same applies for non-JSON:API controllers, and for atomic:operations controllers. Separate issues exist to address these. |
Currently the OpenApi integration only picks up on controllers that inherit from
JsonApiController
. This needs to be expanded so that the following are also picked up on:JsonApiQueryController
JsonApiCommandController
HttpRestrictAttribute
The text was updated successfully, but these errors were encountered: