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

Spring Boot autoconfiguration should automatically set OpenApiCustomizer if OpenApiFeature is configured

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.7, 3.3.0
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: