Skip to content

Commit

Permalink
fix(APIv2): RHINENG-14418 correct use of 'require' attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
romanblanco authored and skateman committed Nov 20, 2024
1 parent 741ca4d commit 8097df3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/api/v2/schemas/tailoring.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ module Tailoring

TAILORING_CREATE = {
type: :object,
required: %w[os_minor_version],
properties: {
os_minor_version: {
type: :number,
examples: [1],
required: true,
description: 'Minor version of the Operating System that the Tailoring covers'
}
}
Expand Down
4 changes: 3 additions & 1 deletion swagger/v2/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -17042,13 +17042,15 @@
},
"tailoring_create": {
"type": "object",
"required": [
"os_minor_version"
],
"properties": {
"os_minor_version": {
"type": "number",
"examples": [
1
],
"required": true,
"description": "Minor version of the Operating System that the Tailoring covers"
}
}
Expand Down

0 comments on commit 8097df3

Please sign in to comment.