Interface OpenApiGatewayProjectOptions

    • 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.
      • getDocumentationFormats

        @Stability(Experimental)
        @Nullable
        default List<DocumentationFormat> getDocumentationFormats()
        (experimental) Formats to generate documentation in.
      • 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"

      • getJavaClientOptions

        @Stability(Experimental)
        @Nullable
        default io.github.cdklabs.projen.java.JavaProjectOptions getJavaClientOptions()
        (experimental) Options for the generated java client (if specified in clientLanguages).

        These override the default inferred options.

      • 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.