Skip to content
This repository was archived by the owner on Sep 13, 2023. It is now read-only.

Commit d445d2c

Browse files
Merge pull request #17 from neotoolkit/feat/requestbody-ref
feat(openapi): add support requestBody ref
2 parents d91824b + 5720ead commit d445d2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

requestbody.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ type RequestBody struct {
55
Description string `json:"description,omitempty" yaml:"description,omitempty"`
66
Required bool `json:"required,omitempty" yaml:"required,omitempty"`
77
Content Content `json:"content,omitempty" yaml:"content,omitempty"`
8+
Ref string `json:"$ref,omitempty" yaml:"$ref,omitempty"`
89
}

0 commit comments

Comments
 (0)