Class OAuthWriter


  • public class OAuthWriter
    extends Object
    Writing the Security Scheme to json
    Author:
    Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
    See Also:
    oauthFlowsObject
    • Method Detail

      • writeOAuthFlows

        public static void writeOAuthFlows​(com.fasterxml.jackson.databind.node.ObjectNode parent,
                                           org.eclipse.microprofile.openapi.models.security.OAuthFlows model)
        Writes a OAuthFlows object to the JSON tree.
        Parameters:
        parent - the parent json node
        model - the OAuthFlows model