Class OAuthWriter

java.lang.Object
io.smallrye.openapi.runtime.io.oauth.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:
  • Method Details

    • 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