All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.smallrye.openapi.api.OpenApiConfig Maven / Gradle / Ivy

/**
 * Copyright 2018 Red Hat, Inc, and individual contributors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package io.smallrye.openapi.api;

import java.util.Set;

/**
 * Accessor to OpenAPI configuration options.
 *
 * Reference:
 * https://github.com/eclipse/microprofile-open-api/blob/master/spec/src/main/asciidoc/microprofile-openapi-spec.adoc#31-list-of-configurable-items
 *
 * @author [email protected]
 */
public interface OpenApiConfig {

    public String modelReader();

    public String filter();

    public boolean scanDisable();

    public Set scanPackages();

    public Set scanClasses();

    public Set scanExcludePackages();

    public Set scanExcludeClasses();

    public Set servers();

    public Set pathServers(String path);

    public Set operationServers(String operationId);

    public boolean scanDependenciesDisable();

    public Set scanDependenciesJars();

    public boolean schemaReferencesEnable();

    public String customSchemaRegistryClass();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy