Skip to content

Commit e6083a3

Browse files
committed
Fix snapshots
1 parent 4c9d206 commit e6083a3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

tests/TypeScriptGeneratorTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,9 @@ class StudentNotesUpdateInput {}
694694
#[Dto]
695695
class StudentNotesInput {}
696696
#[Dto]
697-
class StudentNotesOutput {}
697+
class StudentNotesOutput {
698+
public string $id;
699+
}
698700
699701
#[ApiResource(
700702
collectionOperations: [

tests/__snapshots__/TypeScriptGeneratorTest__testApiClientGenerationWithApiPlatformResource__1.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export type StudentNotesInput = {
2626
};
2727

2828
export type StudentNotesOutput = {
29+
id: string;
2930
};
3031

3132
export type StudentNotesUpdateInput = {

0 commit comments

Comments
 (0)