Class SecuritySchemeWriter


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

      • writeSecuritySchemes

        public static void writeSecuritySchemes​(com.fasterxml.jackson.databind.node.ObjectNode parent,
                                                Map<String,​org.eclipse.microprofile.openapi.models.security.SecurityScheme> securitySchemes)
        Writes a map of SecurityScheme to the JSON tree.
        Parameters:
        parent - the parent json node
        securitySchemes - map of SecurityScheme models