Skip to content

Commit

Permalink
Add an example to make optional build_flavor parameter optional.
Browse files Browse the repository at this point in the history
See apiaryio/dredd#1430

Signed-off-by: dblock <dblock@amazon.com>
  • Loading branch information
dblock committed May 10, 2024
1 parent 4c3fda9 commit dbbd1a4
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
17 changes: 17 additions & 0 deletions min/namespaces/_core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,20 @@ components:
- name
- tagline
- version
examples:
application/json:
value:
name: 2c8264d2ffb3
cluster_name: docker-cluster
cluster_uuid: grah_e-CRTii2hv1unQ1bg
tagline: "The OpenSearch Project: https://opensearch.org/"
version:
distribution: opensearch
number: 2.9.0
build_type: tar
build_hash: 1164221ee2b8ba3560f0ff492309867beea28433
build_date: 2023-07-18T21:22:48.164885046Z
build_snapshot: false
lucene_version: 9.7.0
minimum_wire_compatibility_version: 7.10.0
minimum_index_compatibility_version: 7.0.0
2 changes: 2 additions & 0 deletions min/schemas/_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ components:
properties:
build_date:
$ref: '#/components/schemas/DateTime'
build_flavor:
type: string
build_hash:
type: string
build_snapshot:
Expand Down
17 changes: 17 additions & 0 deletions spec/namespaces/_core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2898,6 +2898,23 @@ components:
- name
- tagline
- version
examples:
application/json:
value:
name: 2c8264d2ffb3
cluster_name: docker-cluster
cluster_uuid: grah_e-CRTii2hv1unQ1bg
tagline: "The OpenSearch Project: https://opensearch.org/"
version:
distribution: opensearch
number: 2.9.0
build_type: tar
build_hash: 1164221ee2b8ba3560f0ff492309867beea28433
build_date: 2023-07-18T21:22:48.164885046Z
build_snapshot: false
lucene_version: 9.7.0
minimum_wire_compatibility_version: 7.10.0
minimum_index_compatibility_version: 7.0.0
mget@200:
description: ''
content:
Expand Down

0 comments on commit dbbd1a4

Please sign in to comment.