Class AutoServerFilter

java.lang.Object
io.quarkus.smallrye.openapi.deployment.filter.AutoServerFilter
All Implemented Interfaces:
org.eclipse.microprofile.openapi.OASFilter

public class AutoServerFilter extends Object implements org.eclipse.microprofile.openapi.OASFilter
Automatically add default server if none is provided
  • Constructor Summary

    Constructors
    Constructor
    Description
    AutoServerFilter(String defaultScheme, String defaultHost, int defaultPort, String description)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    filterOpenAPI(org.eclipse.microprofile.openapi.models.OpenAPI openAPI)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclipse.microprofile.openapi.OASFilter

    filterAPIResponse, filterCallback, filterHeader, filterLink, filterOperation, filterParameter, filterPathItem, filterRequestBody, filterSchema, filterSecurityScheme, filterServer, filterTag
  • Constructor Details

    • AutoServerFilter

      public AutoServerFilter(String defaultScheme, String defaultHost, int defaultPort, String description)
  • Method Details

    • filterOpenAPI

      public void filterOpenAPI(org.eclipse.microprofile.openapi.models.OpenAPI openAPI)
      Specified by:
      filterOpenAPI in interface org.eclipse.microprofile.openapi.OASFilter