Skip to content

Commit

Permalink
Merge pull request #264 from asraa/add-max-on-content
Browse files Browse the repository at this point in the history
[api] Add max 32 mb on content data
  • Loading branch information
dlorenc authored Apr 13, 2021
2 parents 236a872 + 85075cd commit d04da99
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 6 deletions.
17 changes: 17 additions & 0 deletions pkg/generated/models/rekord_v001_schema.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions pkg/generated/models/rpm_v001_schema.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 8 additions & 4 deletions pkg/generated/restapi/embedded_spec.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pkg/types/rekord/v0.0.1/rekord_v0_0_1_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@
"content": {
"description": "Specifies the content inline within the document",
"type": "string",
"format": "byte"
"format": "byte",
"maxLength" : 32000000
}
},
"oneOf": [
Expand Down
3 changes: 2 additions & 1 deletion pkg/types/rpm/v0.0.1/rpm_v0_0_1_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
"content": {
"description": "Specifies the package inline within the document",
"type": "string",
"format": "byte"
"format": "byte",
"maxLength" : 32000000
}
},
"oneOf": [
Expand Down

0 comments on commit d04da99

Please sign in to comment.