Modifier and Type | Field and Description |
---|---|
static String |
CONSTRAINT_ANNOTATIONS |
static String |
EXTENSION_VAADIN_CONNECT_PARAMETERS_DESCRIPTION |
static String |
EXTENSION_VAADIN_FILE_PATH |
Constructor and Description |
---|
OpenApiObjectGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
addSourcePath(Path sourcePath)
Adds the source path to the generator to process.
|
io.swagger.v3.oas.models.OpenAPI |
getOpenApi()
Gets the Open API, generates it if necessary.
|
void |
setOpenApiConfiguration(OpenApiConfiguration configuration)
Sets the configuration to be used when generating an Open API spec.
|
public static final String EXTENSION_VAADIN_CONNECT_PARAMETERS_DESCRIPTION
public static final String EXTENSION_VAADIN_FILE_PATH
public static final String CONSTRAINT_ANNOTATIONS
public void addSourcePath(Path sourcePath)
sourcePath
- the source path to generate the metadata frompublic void setOpenApiConfiguration(OpenApiConfiguration configuration)
configuration
- the generator configurationpublic io.swagger.v3.oas.models.OpenAPI getOpenApi()
Copyright © 2021. All rights reserved.