@@ -115,6 +115,11 @@ Feature: Generate API Blueprint documentation from test examples
115115 attribute :name, 'The order name', required: true, :example => 'a name'
116116 attribute :amount, required: false
117117 attribute :description, 'The order description', type: 'string', required: false, example: "a description"
118+ attribute :category, 'The order category', type: 'string', required: false, default: 'normal', enum: %w[normal priority]
119+ attribute :metadata, 'The order metadata', type: 'json', required: false, annotation: <<-MARKDOWN
120+ + instructions (optional, string)
121+ + notes (optional, string)
122+ MARKDOWN
118123
119124 get 'Returns a single order' do
120125 explanation "This is used to return orders."
@@ -360,6 +365,14 @@ Feature: Generate API Blueprint documentation from test examples
360365 + name: a name (required) - The order name
361366 + amount (optional)
362367 + description: a description (optional, string) - The order description
368+ + category (optional, string) - The order category
369+ + Default: `normal`
370+ + Members
371+ + `normal`
372+ + `priority`
373+ + metadata (optional, json) - The order metadata
374+ + instructions (optional, string)
375+ + notes (optional, string)
363376
364377 ### Deletes a specific order [DELETE]
365378
0 commit comments