Tabnine Logo
JaxrsOpenApiContextBuilder.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
io.swagger.v3.jaxrs2.integration.JaxrsOpenApiContextBuilder
constructor

Best Java code snippets using io.swagger.v3.jaxrs2.integration.JaxrsOpenApiContextBuilder.<init> (Showing top 9 results out of 315)

origin: swagger-api/swagger-core

public void onStartup(Set<Class<?>> classes, ServletContext servletContext) throws ServletException {
  if (classes != null && classes.size() != 0) {
    Set<Class<?>> resources = new LinkedHashSet();
    classes.stream()
        .filter(c -> ignored.stream().noneMatch(i -> c.getName().startsWith(i)))
        .forEach(resources::add);
    if (!resources.isEmpty()) {
      // init context
      try {
        SwaggerConfiguration oasConfig = new SwaggerConfiguration()
            .resourceClasses(resources.stream().map(c -> c.getName()).collect(Collectors.toSet()));
        new JaxrsOpenApiContextBuilder()
            .openApiConfiguration(oasConfig)
            .buildContext(true);
      } catch (OpenApiConfigurationException e) {
        throw new RuntimeException(e.getMessage(), e);
      }
    }
  }
}
origin: swagger-api/swagger-core

    .modelConverterClasses(modelConverterSet);
try {
  GenericOpenApiContextBuilder builder = new JaxrsOpenApiContextBuilder()
      .openApiConfiguration(config);
  if (StringUtils.isNotBlank(contextId)) {
origin: swagger-api/swagger-core

OpenApiContext ctx = new JaxrsOpenApiContextBuilder()
    .servletConfig(config)
    .application(app)
origin: swagger-api/swagger-core

    .modelConverterClasses(modelConverterClasses);
try {
  GenericOpenApiContextBuilder builder = new JaxrsOpenApiContextBuilder()
      .openApiConfiguration(config);
  if (StringUtils.isNotBlank(contextId)) {
origin: io.swagger.core.v3/swagger-jaxrs2

    .modelConverterClasses(modelConverterSet);
try {
  GenericOpenApiContextBuilder builder = new JaxrsOpenApiContextBuilder()
      .openApiConfiguration(config);
  if (StringUtils.isNotBlank(contextId)) {
origin: io.swagger.core.v3/swagger-jaxrs2

OpenApiContext ctx = new JaxrsOpenApiContextBuilder()
    .servletConfig(config)
    .application(app)
origin: org.mycore/mycore-restapi

  .prettyPrint(true);
try {
  new JaxrsOpenApiContextBuilder()
    .application(getApplication())
    .openApiConfiguration(oasConfig)
origin: apache/cxf

  .resourcePackages(getOrFallback(packages, swaggerProps, RESOURCE_PACKAGE_PROPERTY));
openApiConfiguration = new JaxrsOpenApiContextBuilder<>()
  .application(application)
  .openApiConfiguration(config)
openApiConfiguration = new JaxrsOpenApiContextBuilder<>()
  .application(application)
  .configLocation(defaultConfigLocation)
origin: org.apache.cxf/cxf-rt-rs-service-description-openapi-v3

  .resourcePackages(getOrFallback(packages, swaggerProps, RESOURCE_PACKAGE_PROPERTY));
openApiConfiguration = new JaxrsOpenApiContextBuilder<>()
  .application(application)
  .openApiConfiguration(config)
openApiConfiguration = new JaxrsOpenApiContextBuilder<>()
  .application(application)
  .configLocation(defaultConfigLocation)
io.swagger.v3.jaxrs2.integrationJaxrsOpenApiContextBuilder<init>

Popular methods of JaxrsOpenApiContextBuilder

  • openApiConfiguration
  • application
  • configLocation
  • resourcePackages
  • servletConfig

Popular in Java

  • Making http requests using okhttp
  • runOnUiThread (Activity)
  • requestLocationUpdates (LocationManager)
  • onCreateOptionsMenu (Activity)
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now