-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
Swashbuckle (Swagger) for exposing SCIM API documentation #53
Comments
For the other operations like "Add", "Update" and "Patch", the content of the request depends SCIM Schema for example : the "GroupSchema" defines a "displayName" parameter. |
Awesome!!! |
The project "SimpleIdServer.Scim.Startup" has been updated in the branch "release/1.1.8" :
Missing parameters : Patch and Bulk A pre-release version will be published next week (monday). |
|
Do-you have any remarks on the Swagger endpoint / UI ? If no, we will publish a new release. |
So far, so good! |
I've tried to add support for Swagger UI to expose API documentation with fancy UI.
I can see all end-point in the UI and event envoke part of the end-points.
But there are several issues:
Since my custom controllers don't expose actual actions, I can't add XML comments to the methods (the UI documentation collects all data from the methods XML comments). My workaround is to implement my custom IDocumentFilter and manually patch all custom end-points metadata. It works but very ugly and hard to maintain.
My suggestion is to make all actions in BaseController virtual and then I could just override the methods and add my XML comments. The code of the overridden method will be only calling the base class.
The second problem is the metadata method parameters. I'm talking about JObject parameters. I'm still looking for an elegant way to describe the parameters by XML comments.
Please, advise
The text was updated successfully, but these errors were encountered: