Skip to content
This repository was archived by the owner on Dec 10, 2021. It is now read-only.

Commit 8a19881

Browse files
committed
Fix test
1 parent 51ae0e0 commit 8a19881

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/__tests__/DefinitionGenerator.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ describe("OpenAPI Documentation Generator", () => {
6262
docGen.readFunctions(funcConfigs);
6363

6464
// get the parameters from the `/create POST' endpoint
65-
const actual = docGen.definition.paths["/create"].post.parameters;
65+
const actual =
66+
docGen.definition.paths["/create/{username}"].post.parameters;
6667
const expected = [
6768
{
6869
description: "The username for a user to create",

0 commit comments

Comments
 (0)