Class AbstractSchemaInhCommand

    • Constructor Detail

      • AbstractSchemaInhCommand

        public AbstractSchemaInhCommand()
    • Method Detail

      • createSchema

        protected Schema createSchema​(Schema parentSchema,
                                      String inheritanceType)
        Creates a schema of a particular type (allOf, anyOf, etc).
        Parameters:
        parentSchema -
        inheritanceType -
      • copySchemaJsTo

        protected void copySchemaJsTo​(List<com.fasterxml.jackson.databind.node.ObjectNode> schemas,
                                      Schema targetSchema,
                                      String inheritanceType)
        Copies the given list of schemas to the appropriate property on the model
        Parameters:
        schemas -
        targetSchema -
        inheritanceType -
      • has$Ref

        protected boolean has$Ref​(Node node)