Class PathsGenerator


  • public class PathsGenerator
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PathsGenerator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.swagger.v3.oas.models.Paths generate​(@NonNull EntityToSchemaMapper mapper, @NonNull java.lang.Iterable<org.springframework.data.repository.core.RepositoryMetadata> metas, java.util.Set<java.lang.reflect.Method> allQueryCandidates)  
      io.swagger.v3.oas.models.media.Schema<?> methodInOutsToSchema​(java.lang.Class<?> cls)  
      void populatePathItems​(@NonNull org.springframework.data.repository.core.RepositoryMetadata meta, java.util.Set<java.lang.reflect.Method> allQueryCandidates, @NonNull io.swagger.v3.oas.models.media.Schema<?> idSchema, @NonNull io.swagger.v3.oas.models.Paths paths)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PathsGenerator

        public PathsGenerator()
    • Method Detail

      • generate

        public io.swagger.v3.oas.models.Paths generate​(@NonNull
                                                       @NonNull EntityToSchemaMapper mapper,
                                                       @NonNull
                                                       @NonNull java.lang.Iterable<org.springframework.data.repository.core.RepositoryMetadata> metas,
                                                       java.util.Set<java.lang.reflect.Method> allQueryCandidates)
      • methodInOutsToSchema

        public io.swagger.v3.oas.models.media.Schema<?> methodInOutsToSchema​(java.lang.Class<?> cls)
      • populatePathItems

        public void populatePathItems​(@NonNull
                                      @NonNull org.springframework.data.repository.core.RepositoryMetadata meta,
                                      java.util.Set<java.lang.reflect.Method> allQueryCandidates,
                                      @NonNull
                                      @NonNull io.swagger.v3.oas.models.media.Schema<?> idSchema,
                                      @NonNull
                                      @NonNull io.swagger.v3.oas.models.Paths paths)