Skip to content

How to document the oauth endpoints? #2094

Closed
@sskjames

Description

@sskjames

First of all, thank you very much to all concerned for creating/maintaining this project.
I checked the project documentation on how to document the security endpoints (e.g outh2/token) but I couldn't find much information except the suggestion to include springdoc-openapi-security. It also has this point:
This dependency helps ignoring @AuthenticationPrincipal in case its used on REST Controllers..
It's not clear to me that whether including this dependency will help list the security endpoints in the generated docs. Also I couldn't find info on how to add custom documentation for these security endpoints.
Have I missed something? Can someone please help me?

Thanks
James

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions