We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.fusion.generator.
Class OpenApiObjectGenerator
- java.lang.Object
-
- com.vaadin.fusion.generator.OpenApiObjectGenerator
-
-
Field Summary
Fields Modifier and Type Field and Description static String
CONSTRAINT_ANNOTATIONS
static String
EXTENSION_VAADIN_CONNECT_PARAMETERS_DESCRIPTION
static String
EXTENSION_VAADIN_FILE_PATH
-
Constructor Summary
Constructors Constructor and Description OpenApiObjectGenerator()
-
Method Summary
All Methods 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.
-
-
-
Field Detail
-
EXTENSION_VAADIN_CONNECT_PARAMETERS_DESCRIPTION
public static final String EXTENSION_VAADIN_CONNECT_PARAMETERS_DESCRIPTION
See Also:
-
EXTENSION_VAADIN_FILE_PATH
public static final String EXTENSION_VAADIN_FILE_PATH
See Also:
-
CONSTRAINT_ANNOTATIONS
public static final String CONSTRAINT_ANNOTATIONS
See Also:
-
-
Method Detail
-
addSourcePath
public void addSourcePath(Path sourcePath)
Adds the source path to the generator to process.
Parameters:
sourcePath
- the source path to generate the metadata from
-
setOpenApiConfiguration
public void setOpenApiConfiguration(OpenApiConfiguration configuration)
Sets the configuration to be used when generating an Open API spec.
Parameters:
configuration
- the generator configuration
-
getOpenApi
public io.swagger.v3.oas.models.OpenAPI getOpenApi()
Gets the Open API, generates it if necessary.
Returns:
the Open API data
-
-