Skip to content

Commit 177c2b0

Browse files
authored
Merge pull request #92 from bavix/delay-support
refactor: remove required fields from StubOutput in API specification
2 parents e83a32d + f48e725 commit 177c2b0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

api.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -484,9 +484,6 @@ components:
484484
x-go-type-skip-optional-pointer: true
485485
StubOutput:
486486
type: object
487-
required:
488-
- data
489-
- error
490487
properties:
491488
data:
492489
type: object
@@ -519,5 +516,6 @@ components:
519516
x-go-type-import:
520517
name: time
521518
path: time
519+
x-go-type-skip-optional-pointer: true
522520
description: Delay before sending the response
523521
example: "1s"

0 commit comments

Comments
 (0)