Class ApiRegistrar


  • public class ApiRegistrar
    extends Object
    Registers annotation-based V2 APIs with an ApiBag

    Historically these APIs were registered directly by code in CoreContainer, but as the number of annotation-based v2 APIs grew this became increasingly unwieldy. So ApiRegistrar serves as a single place where all APIs under a particular path can be registered together.

    • Constructor Detail

      • ApiRegistrar

        public ApiRegistrar()
    • Method Detail

      • registerCollectionApis

        public static void registerCollectionApis​(ApiBag apiBag,
                                                  CollectionsHandler collectionsHandler)