Class OpenApiGatewayTsProject
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.Project
-
- io.github.cdklabs.projen.github.GitHubProject
-
- io.github.cdklabs.projen.javascript.NodeProject
-
- io.github.cdklabs.projen.typescript.TypeScriptProject
-
- software.aws.awsprototypingsdk.openapigateway.OpenApiGatewayTsProject
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.61.0 (build abf4039)", date="2022-07-07T06:39:53.761Z") @Stability(Experimental) public class OpenApiGatewayTsProject extends io.github.cdklabs.projen.typescript.TypeScriptProject
(experimental) Synthesizes a Typescript Project with an OpenAPI spec, generated clients, a CDK construct for deploying the API with API Gateway, and generated lambda handler wrappers for type-safe handling of requests.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenApiGatewayTsProject.Builder(experimental) A fluent builder forOpenApiGatewayTsProject.
-
Constructor Summary
Constructors Modifier Constructor Description protectedOpenApiGatewayTsProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedOpenApiGatewayTsProject(software.amazon.jsii.JsiiObjectRef objRef)OpenApiGatewayTsProject(OpenApiGatewayTsProjectOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetApiSrcDir()(experimental) The directory in which the api generated code will reside, relative to the project srcdir.Map<String,io.github.cdklabs.projen.Project>getGeneratedClients()(experimental) References to the client projects that were generated, keyed by language.StringgetGeneratedCodeDir()(experimental) The directory in which generated client code will be generated, relative to the outdir of this project.io.github.cdklabs.projen.typescript.TypeScriptProjectgetGeneratedTypescriptClient()(experimental) A reference to the generated typescript client.io.github.cdklabs.projen.YamlFilegetPnpmWorkspace()(experimental) Reference to the PNPM workspace yaml file which adds the dependency between this project and the generated typescript client when this project is used in a monorepo, and the package manager is PNPM.StringgetSpecDir()(experimental) The directory in which the OpenAPI spec file(s) reside, relative to the project srcdir.StringgetSpecFileName()(experimental) The name of the spec file.voidpostSynthesize()(experimental) Called after all components are synthesized.-
Methods inherited from class io.github.cdklabs.projen.typescript.TypeScriptProject
getDocgen, getDocsDirectory, getEslint, getLibdir, getSrcdir, getTestdir, getTsconfig, getTsconfigDev, getTsconfigEslint, getWatchTask
-
Methods inherited from class io.github.cdklabs.projen.javascript.NodeProject
addBins, addBundledDeps, addCompileCommand, addDeps, addDevDeps, addFields, addKeywords, addPackageIgnore, addPeerDeps, addTestCommand, getAllowLibraryDependencies, getArtifactsDirectory, getArtifactsJavascriptDirectory, getAutoMerge, getBuildWorkflow, getBuildWorkflowJobId, getBundler, getEntrypoint, getJest, getManifest, getMaxNodeVersion, getMinNodeVersion, getNpmignore, getPackageManager, getPackageValue, getPrettier, getPublisher, getRelease, getRunScriptCommand, getUpgradeWorkflow, hasScript, removeScript, renderWorkflowSetup, renderWorkflowSetup, runTaskCommand, setScript
-
Methods inherited from class io.github.cdklabs.projen.github.GitHubProject
annotateGenerated, getAutoApprove, getDevContainer, getGithub, getGitpod, getProjectType, getVscode
-
Methods inherited from class io.github.cdklabs.projen.Project
addExcludeFromCleanup, addGitIgnore, addTask, addTask, addTip, getBuildTask, getCompileTask, getComponents, getDefaultTask, getDeps, getEjected, getFiles, getGitattributes, getGitignore, getInitProject, getLogger, getName, getOutdir, getPackageTask, getParent, getPostCompileTask, getPreCompileTask, getProjectBuild, getProjenCommand, getRoot, getTasks, getTestTask, preSynthesize, removeTask, synth, tryFindFile, tryFindJsonFile, tryFindObjectFile, tryRemoveFile
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
OpenApiGatewayTsProject
protected OpenApiGatewayTsProject(software.amazon.jsii.JsiiObjectRef objRef)
-
OpenApiGatewayTsProject
protected OpenApiGatewayTsProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
OpenApiGatewayTsProject
@Stability(Experimental) public OpenApiGatewayTsProject(@NotNull OpenApiGatewayTsProjectOptions options)- Parameters:
options- This parameter is required.
-
-
Method Detail
-
postSynthesize
@Stability(Experimental) public void postSynthesize()
(experimental) Called after all components are synthesized.Order is not guaranteed.
- Overrides:
postSynthesizein classio.github.cdklabs.projen.Project
-
getApiSrcDir
@Stability(Experimental) @NotNull public String getApiSrcDir()
(experimental) The directory in which the api generated code will reside, relative to the project srcdir.
-
getGeneratedClients
@Stability(Experimental) @NotNull public Map<String,io.github.cdklabs.projen.Project> getGeneratedClients()
(experimental) References to the client projects that were generated, keyed by language.
-
getGeneratedCodeDir
@Stability(Experimental) @NotNull public String getGeneratedCodeDir()
(experimental) The directory in which generated client code will be generated, relative to the outdir of this project.
-
getGeneratedTypescriptClient
@Stability(Experimental) @NotNull public io.github.cdklabs.projen.typescript.TypeScriptProject getGeneratedTypescriptClient()
(experimental) A reference to the generated typescript client.
-
getSpecDir
@Stability(Experimental) @NotNull public String getSpecDir()
(experimental) The directory in which the OpenAPI spec file(s) reside, relative to the project srcdir.
-
getSpecFileName
@Stability(Experimental) @NotNull public String getSpecFileName()
(experimental) The name of the spec file.
-
getPnpmWorkspace
@Stability(Experimental) @Nullable public io.github.cdklabs.projen.YamlFile getPnpmWorkspace()
(experimental) Reference to the PNPM workspace yaml file which adds the dependency between this project and the generated typescript client when this project is used in a monorepo, and the package manager is PNPM.
-
-