Interface ClassToRefResolver

  • 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 ClassToRefResolver
    • Method Detail

      • getRefContent

        default io.swagger.v3.oas.models.media.Content getRefContent​(@NonNull
                                                                     @NonNull java.lang.Class<?> cls,
                                                                     @NonNull
                                                                     @NonNull ClassMappingMode mode,
                                                                     @NonNull
                                                                     @NonNull RequestType requestType)
      • getRefName

        java.lang.String getRefName​(@NonNull
                                    @NonNull java.lang.Class<?> cls,
                                    @NonNull
                                    @NonNull ClassMappingMode classMappingMode,
                                    @NonNull
                                    @NonNull RequestType requestType)
      • getRefSchema

        default io.swagger.v3.oas.models.media.Schema<java.lang.Object> getRefSchema​(@NonNull
                                                                                     @NonNull java.lang.Class<?> cls,
                                                                                     @NonNull
                                                                                     @NonNull ClassMappingMode mode,
                                                                                     @NonNull
                                                                                     @NonNull RequestType requestType)
      • getRefUrl

        default java.lang.String getRefUrl​(@NonNull
                                           @NonNull java.lang.Class<?> cls,
                                           @NonNull
                                           @NonNull ClassMappingMode mode,
                                           @NonNull
                                           @NonNull RequestType requestType)
      • getRequestBody

        default io.swagger.v3.oas.models.parameters.RequestBody getRequestBody​(@NonNull
                                                                               @NonNull java.lang.Class<?> cls,
                                                                               @NonNull
                                                                               @NonNull ClassMappingMode classMappingMode,
                                                                               @NonNull
                                                                               @NonNull RequestType requestType)