Interface PropertyCustomizer

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface PropertyCustomizer
    Implement and register a bean of type PropertyCustomizer to customize a schema property based on annotated type
    Author:
    bnasslahsen
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      io.swagger.v3.oas.models.media.Schema customize​(io.swagger.v3.oas.models.media.Schema property, io.swagger.v3.core.converter.AnnotatedType type)
      Customize schema.
    • Method Detail

      • customize

        io.swagger.v3.oas.models.media.Schema customize​(io.swagger.v3.oas.models.media.Schema property,
                                                        io.swagger.v3.core.converter.AnnotatedType type)
        Customize schema.
        Parameters:
        property - to be customized
        type - form the model class
        Returns:
        customized property