We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b7a07c commit 7c6f62fCopy full SHA for 7c6f62f
example/lib/example-stack.ts
@@ -22,7 +22,7 @@ export class ExampleStack extends Stack {
22
23
const documentationVersion = '0.0.1';
24
25
- const api = RestApiWithSpec.createRestApi(this, 'example-api', {
+ const api = new RestApiWithSpec(this, 'example-api', {
26
description: 'Example of RestApiWithSpec',
27
openApiInfo: {
28
version: documentationVersion,
0 commit comments