Interface OpenApiGatewayProjectOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
OpenApiGatewayTsProjectOptions
- All Known Implementing Classes:
OpenApiGatewayProjectOptions.Jsii$Proxy,OpenApiGatewayTsProjectOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.61.0 (build abf4039)", date="2022-06-21T01:14:52.553Z") @Stability(Experimental) public interface OpenApiGatewayProjectOptions extends software.amazon.jsii.JsiiSerializable
(experimental) Options common to all open api gateway projects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOpenApiGatewayProjectOptions.BuilderA builder forOpenApiGatewayProjectOptionsstatic classOpenApiGatewayProjectOptions.Jsii$ProxyAn implementation forOpenApiGatewayProjectOptions
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static OpenApiGatewayProjectOptions.Builderbuilder()default StringgetApiSrcDir()(experimental) The directory in which the api generated code will reside, relative to the project srcdir.List<ClientLanguage>getClientLanguages()(experimental) The list of languages for which clients will be generated.default StringgetGeneratedCodeDir()(experimental) The directory in which generated client code will be generated, relative to the outdir of this project.default StringgetParsedSpecFileName()(experimental) The name of the output parsed OpenAPI specification file.default io.github.cdklabs.projen.python.PythonProjectOptionsgetPythonClientOptions()(experimental) Options for the generated python client (if specified in clientLanguages).default StringgetSpecFile()(experimental) The path to the OpenAPI specification file, relative to the project source directory (srcdir).default io.github.cdklabs.projen.typescript.TypeScriptProjectOptionsgetTypescriptClientOptions()(experimental) Options for the generated typescript client.
-
-
-
Method Detail
-
getClientLanguages
@Stability(Experimental) @NotNull List<ClientLanguage> getClientLanguages()
(experimental) The list of languages for which clients will be generated.A typescript client will always be generated.
-
getApiSrcDir
@Stability(Experimental) @Nullable default String getApiSrcDir()
(experimental) The directory in which the api generated code will reside, relative to the project srcdir.
-
getGeneratedCodeDir
@Stability(Experimental) @Nullable default String getGeneratedCodeDir()
(experimental) The directory in which generated client code will be generated, relative to the outdir of this project.Default: "generated"
-
getParsedSpecFileName
@Stability(Experimental) @Nullable default String getParsedSpecFileName()
(experimental) The name of the output parsed OpenAPI specification file.Must end with .json.
Default: ".parsed-spec.json"
-
getPythonClientOptions
@Stability(Experimental) @Nullable default io.github.cdklabs.projen.python.PythonProjectOptions getPythonClientOptions()
(experimental) Options for the generated python client (if specified in clientLanguages).These override the default inferred options.
-
getSpecFile
@Stability(Experimental) @Nullable default String getSpecFile()
(experimental) The path to the OpenAPI specification file, relative to the project source directory (srcdir).Default: "spec/spec.yaml"
-
getTypescriptClientOptions
@Stability(Experimental) @Nullable default io.github.cdklabs.projen.typescript.TypeScriptProjectOptions getTypescriptClientOptions()
(experimental) Options for the generated typescript client.These override the default inferred options.
-
builder
@Stability(Experimental) static OpenApiGatewayProjectOptions.Builder builder()
-
-