@aws/pdk
Version:
All documentation is located at: https://aws.github.io/aws-pdk
29 lines (28 loc) • 888 B
TypeScript
/*! Copyright [Amazon.com](http://amazon.com/), Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0 */
import { Component, Project } from "projen";
import { Language } from "../../languages";
import { OpenApiModelOptions } from "../../types";
/**
* Options for the OpenAPI Spec
*/
export interface OpenApiProjectDefinitionOptions {
/**
* Options for the openapi model
*/
readonly openApiOptions: OpenApiModelOptions;
/**
* The languages users have specified for handler projects (if any)
*/
readonly handlerLanguages?: Language[];
}
/**
* The OpenAPI Spec
*/
export declare class OpenApiProjectDefinition extends Component {
/**
* Path to the root OpenAPI specification file
*/
readonly openApiSpecificationPath: string;
constructor(project: Project, _options: OpenApiProjectDefinitionOptions);
}