Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7853

Spring Boot autoconfiguration should automatically set OpenApiCustomizer if OpenApiFeature is configured

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.2.7, 3.3.0
    • None
    • None
    • Unknown

    Description

      Adding OpenApiAutoConfiguration to automatically provide instance of the OpenApiCustomizer (with dynamicBasePath set to true). This instance is being injected into every discovered OpenApiFeature bean (in case it has no customizer specified) by OpenApiFeatureBeanPostProcessor. For typical Spring Boot project, this is what you may need most of the time.

      In case there is an instance of the OpenApiCustomizer bean, it is going to be used for injection. If OpenApiFeature bean already has a customizer, the auto-cofiguration has no effect.

      Attachments

        Issue Links

          Activity

            People

              reta Andriy Redko
              reta Andriy Redko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: