diff --git a/spec/namespaces/_core.yaml b/spec/namespaces/_core.yaml index 7e8bcc884..e96c1ff15 100644 --- a/spec/namespaces/_core.yaml +++ b/spec/namespaces/_core.yaml @@ -3191,6 +3191,7 @@ components: result: oneOf: - type: number + format: double - type: string - type: boolean required: @@ -3286,6 +3287,7 @@ components: type: boolean status: type: number + format: double required: - _shards - hits diff --git a/spec/namespaces/cluster.yaml b/spec/namespaces/cluster.yaml index 566cf3176..f4b7ba275 100644 --- a/spec/namespaces/cluster.yaml +++ b/spec/namespaces/cluster.yaml @@ -1137,6 +1137,7 @@ components: oneOf: - type: string - type: number + format: double style: form cluster.health::query.wait_for_status: in: query diff --git a/spec/namespaces/indices.yaml b/spec/namespaces/indices.yaml index 2ccebc4fb..9d3f07022 100644 --- a/spec/namespaces/indices.yaml +++ b/spec/namespaces/indices.yaml @@ -2047,6 +2047,7 @@ components: If no priority is specified the template is treated as though it is of priority 0 (lowest priority). This number is not automatically generated by OpenSearch. type: integer + format: int32 version: $ref: '../schemas/_common.yaml#/components/schemas/VersionNumber' _meta: @@ -2222,6 +2223,7 @@ components: If no priority is specified the template is treated as though it is of priority 0 (lowest priority). This number is not automatically generated by OpenSearch. type: integer + format: int32 version: $ref: '../schemas/_common.yaml#/components/schemas/VersionNumber' _meta: diff --git a/spec/namespaces/ism.yaml b/spec/namespaces/ism.yaml index c97b3e917..3677c3947 100644 --- a/spec/namespaces/ism.yaml +++ b/spec/namespaces/ism.yaml @@ -394,6 +394,7 @@ components: description: Only perform the operation if the document has this primary term. schema: type: number + format: double style: form ism.add_policy::query.index: name: index @@ -504,6 +505,7 @@ components: description: Only perform the operation if the document has this primary term. schema: type: number + format: double style: form ism.put_policies::query.if_seq_no: name: if_seq_no diff --git a/spec/namespaces/ml.yaml b/spec/namespaces/ml.yaml index 5307dec64..5f255b07f 100644 --- a/spec/namespaces/ml.yaml +++ b/spec/namespaces/ml.yaml @@ -1219,6 +1219,7 @@ components: type: string version: type: integer + format: int32 protocol: type: string enum: @@ -1291,6 +1292,7 @@ components: $ref: '../schemas/ml._common.yaml#/components/schemas/Query' size: type: integer + format: int32 description: The number of connectors to return. sort: type: array @@ -1347,6 +1349,7 @@ components: $ref: '../schemas/ml._common.yaml#/components/schemas/Query' size: type: integer + format: int32 description: The number of agents to return. sort: type: array diff --git a/spec/namespaces/rollups.yaml b/spec/namespaces/rollups.yaml index 5a5a70416..4094f2f55 100644 --- a/spec/namespaces/rollups.yaml +++ b/spec/namespaces/rollups.yaml @@ -184,4 +184,5 @@ components: description: Only perform the operation if the document has this primary term. schema: type: number + format: double style: form diff --git a/spec/namespaces/sm.yaml b/spec/namespaces/sm.yaml index 1a7ed1654..0a525e2c8 100644 --- a/spec/namespaces/sm.yaml +++ b/spec/namespaces/sm.yaml @@ -236,6 +236,7 @@ components: description: 'The starting index (default: 0)' schema: type: integer + format: int32 sm.update_policy::path.policy_name: name: policy_name @@ -252,6 +253,7 @@ components: required: true schema: type: integer + format: int32 sm.update_policy::query.if_primary_term: name: if_primary_term @@ -260,6 +262,7 @@ components: required: true schema: type: integer + format: int32 sm.delete_policy::path.policy_name: name: policy_name @@ -300,6 +303,7 @@ components: The number of policies to return. schema: type: integer + format: int32 sm.get_policies::query.queryString: name: queryString diff --git a/spec/namespaces/transforms.yaml b/spec/namespaces/transforms.yaml index b67a31e2b..915a78645 100644 --- a/spec/namespaces/transforms.yaml +++ b/spec/namespaces/transforms.yaml @@ -238,6 +238,7 @@ components: required: false schema: type: number + format: double style: form transforms.search::query.size: name: size @@ -246,6 +247,7 @@ components: required: false schema: type: number + format: double style: form transforms.search::query.from: name: from @@ -254,6 +256,7 @@ components: required: false schema: type: number + format: double style: form transforms.search::query.search: name: search diff --git a/spec/schemas/_common.aggregations.yaml b/spec/schemas/_common.aggregations.yaml index fa9d027c0..0278b60a0 100644 --- a/spec/schemas/_common.aggregations.yaml +++ b/spec/schemas/_common.aggregations.yaml @@ -81,6 +81,7 @@ components: properties: value: type: number + format: double required: - value AggregateBase: @@ -192,6 +193,7 @@ components: properties: normalized_value: type: number + format: double normalized_value_as_string: type: string BucketMetricValueAggregate: @@ -212,6 +214,7 @@ components: properties: count: type: number + format: double min: type: ['null', number, string] max: @@ -220,6 +223,7 @@ components: type: ['null', number, string] sum: type: number + format: double min_as_string: type: string max_as_string: @@ -341,6 +345,7 @@ components: properties: count: type: number + format: double location: $ref: '_common.yaml#/components/schemas/GeoLocation' required: @@ -378,6 +383,7 @@ components: type: string key: type: number + format: double required: - key MultiBucketBase: @@ -385,6 +391,7 @@ components: properties: doc_count: type: number + format: double required: - doc_count DateHistogramAggregate: @@ -462,10 +469,13 @@ components: properties: min: type: number + format: double key: type: number + format: double max: type: number + format: double min_as_string: type: string key_as_string: @@ -487,8 +497,10 @@ components: properties: doc_count_error_upper_bound: type: number + format: double sum_other_doc_count: type: number + format: double MultiBucketAggregateBaseStringTermsBucket: allOf: - $ref: '#/components/schemas/AggregateBase' @@ -525,6 +537,7 @@ components: properties: doc_count_error: type: number + format: double LongTermsAggregate: allOf: - $ref: '#/components/schemas/TermsAggregateBaseLongTermsBucket' @@ -536,8 +549,10 @@ components: properties: doc_count_error_upper_bound: type: number + format: double sum_other_doc_count: type: number + format: double MultiBucketAggregateBaseLongTermsBucket: allOf: - $ref: '#/components/schemas/AggregateBase' @@ -565,6 +580,7 @@ components: properties: key: type: number + format: double key_as_string: type: string required: @@ -580,8 +596,10 @@ components: properties: doc_count_error_upper_bound: type: number + format: double sum_other_doc_count: type: number + format: double MultiBucketAggregateBaseDoubleTermsBucket: allOf: - $ref: '#/components/schemas/AggregateBase' @@ -609,6 +627,7 @@ components: properties: key: type: number + format: double key_as_string: type: string required: @@ -624,8 +643,10 @@ components: properties: doc_count_error_upper_bound: type: number + format: double sum_other_doc_count: type: number + format: double MultiBucketAggregateBaseVoid: allOf: - $ref: '#/components/schemas/AggregateBase' @@ -677,6 +698,7 @@ components: properties: key: type: number + format: double key_as_string: type: string required: @@ -729,8 +751,10 @@ components: properties: doc_count_error_upper_bound: type: number + format: double sum_other_doc_count: type: number + format: double MultiBucketAggregateBaseMultiTermsBucket: allOf: - $ref: '#/components/schemas/AggregateBase' @@ -764,6 +788,7 @@ components: type: string doc_count_error_upper_bound: type: number + format: double required: - key MissingAggregate: @@ -777,6 +802,7 @@ components: properties: doc_count: type: number + format: double required: - doc_count NestedAggregate: @@ -786,6 +812,7 @@ components: properties: doc_count: type: number + format: double ReverseNestedAggregate: allOf: - $ref: '#/components/schemas/SingleBucketAggregateBase' @@ -911,8 +938,10 @@ components: properties: from: type: number + format: double to: type: number + format: double from_as_string: type: string to_as_string: @@ -1035,8 +1064,10 @@ components: properties: bg_count: type: number + format: double doc_count: type: number + format: double MultiBucketAggregateBaseSignificantLongTermsBucket: allOf: - $ref: '#/components/schemas/AggregateBase' @@ -1064,6 +1095,7 @@ components: properties: key: type: number + format: double key_as_string: type: string required: @@ -1075,8 +1107,10 @@ components: properties: score: type: number + format: double bg_count: type: number + format: double required: - bg_count - score @@ -1091,8 +1125,10 @@ components: properties: bg_count: type: number + format: double doc_count: type: number + format: double MultiBucketAggregateBaseSignificantStringTermsBucket: allOf: - $ref: '#/components/schemas/AggregateBase' @@ -1133,8 +1169,10 @@ components: properties: bg_count: type: number + format: double doc_count: type: number + format: double CompositeAggregate: allOf: - $ref: '#/components/schemas/MultiBucketAggregateBaseCompositeBucket' @@ -1217,6 +1255,7 @@ components: type: string importance: type: number + format: double classes: type: array items: @@ -1230,6 +1269,7 @@ components: type: string importance: type: number + format: double required: - class_name - importance @@ -1240,8 +1280,10 @@ components: $ref: '_common.yaml#/components/schemas/FieldValue' class_probability: type: number + format: double class_score: type: number + format: double required: - class_name - class_probability @@ -1253,6 +1295,7 @@ components: properties: count: type: number + format: double min_length: type: ['null', number, string] max_length: @@ -1267,6 +1310,7 @@ components: - type: object additionalProperties: type: number + format: double - type: string min_length_as_string: type: string @@ -1287,18 +1331,25 @@ components: properties: min: type: number + format: double max: type: number + format: double q1: type: number + format: double q2: type: number + format: double q3: type: number + format: double lower: type: number + format: double upper: type: number + format: double min_as_string: type: string max_as_string: @@ -1364,6 +1415,7 @@ components: properties: value: type: number + format: double value_as_string: type: string required: @@ -1375,6 +1427,7 @@ components: properties: value: type: number + format: double value_as_string: type: string required: @@ -1386,6 +1439,7 @@ components: properties: doc_count: type: number + format: double fields: type: array items: @@ -1399,22 +1453,29 @@ components: $ref: '_common.yaml#/components/schemas/Field' count: type: number + format: double mean: type: number + format: double variance: type: number + format: double skewness: type: number + format: double kurtosis: type: number + format: double covariance: type: object additionalProperties: type: number + format: double correlation: type: object additionalProperties: type: number + format: double required: - correlation - count @@ -2357,9 +2418,11 @@ components: max: description: Maximum value for the bound. type: number + format: double min: description: Minimum value for the bound. type: number + format: double required: - max - min diff --git a/spec/schemas/_common.analysis.yaml b/spec/schemas/_common.analysis.yaml index 73b2ec4b8..b65f6c8a6 100644 --- a/spec/schemas/_common.analysis.yaml +++ b/spec/schemas/_common.analysis.yaml @@ -45,8 +45,10 @@ components: type: string position_increment_gap: type: integer + format: int32 position_offset_gap: type: integer + format: int32 tokenizer: type: string required: @@ -63,6 +65,7 @@ components: $ref: '_common.yaml#/components/schemas/VersionString' max_output_size: type: integer + format: int32 preserve_original: type: boolean separator: @@ -218,6 +221,7 @@ components: - standard max_token_length: type: integer + format: int32 stopwords: $ref: '#/components/schemas/StopWords' required: @@ -625,8 +629,10 @@ components: - edge_ngram max_gram: type: integer + format: int32 min_gram: type: integer + format: int32 side: $ref: '#/components/schemas/EdgeNGramSide' preserve_original: @@ -668,6 +674,7 @@ components: - fingerprint max_output_size: type: integer + format: int32 separator: type: string required: @@ -712,10 +719,13 @@ components: type: string max_subword_size: type: integer + format: int32 min_subword_size: type: integer + format: int32 min_word_size: type: integer + format: int32 only_longest_match: type: boolean word_list: @@ -808,8 +818,10 @@ components: - length max: type: integer + format: int32 min: type: integer + format: int32 required: - type LimitTokenCountTokenFilter: @@ -869,8 +881,10 @@ components: - ngram max_gram: type: integer + format: int32 min_gram: type: integer + format: int32 preserve_original: $ref: '_common.yaml#/components/schemas/StringifiedBoolean' required: @@ -1000,10 +1014,12 @@ components: max_shingle_size: oneOf: - type: number + format: double - type: string min_shingle_size: oneOf: - type: number + format: double - type: string output_unigrams: type: boolean @@ -1157,6 +1173,7 @@ components: - truncate length: type: integer + format: int32 required: - type UniqueTokenFilter: @@ -1280,6 +1297,7 @@ components: - kuromoji_stemmer minimum_length: type: integer + format: int32 required: - minimum_length - type @@ -1456,6 +1474,7 @@ components: $ref: '#/components/schemas/PhoneticLanguage' max_code_len: type: integer + format: int32 name_type: $ref: '#/components/schemas/PhoneticNameType' replace: @@ -1605,6 +1624,7 @@ components: type: string max_token_length: type: integer + format: int32 required: - tokenize_on_chars - type @@ -1621,8 +1641,10 @@ components: type: string max_gram: type: integer + format: int32 min_gram: type: integer + format: int32 token_chars: type: array items: @@ -1652,6 +1674,7 @@ components: - keyword buffer_size: type: integer + format: int32 required: - buffer_size - type @@ -1690,8 +1713,10 @@ components: type: string max_gram: type: integer + format: int32 min_gram: type: integer + format: int32 token_chars: type: array items: @@ -1758,6 +1783,7 @@ components: - standard max_token_length: type: integer + format: int32 required: - type UaxEmailUrlTokenizer: @@ -1771,6 +1797,7 @@ components: - uax_url_email max_token_length: type: integer + format: int32 required: - type WhitespaceTokenizer: @@ -1784,6 +1811,7 @@ components: - whitespace max_token_length: type: integer + format: int32 required: - type KuromojiTokenizer: @@ -1801,6 +1829,7 @@ components: $ref: '#/components/schemas/KuromojiTokenizationMode' nbest_cost: type: integer + format: int32 nbest_examples: type: string user_dictionary: @@ -1827,6 +1856,7 @@ components: type: string group: type: integer + format: int32 pattern: type: string required: diff --git a/spec/schemas/_common.mapping.yaml b/spec/schemas/_common.mapping.yaml index 201fb9cf9..b2a59b694 100644 --- a/spec/schemas/_common.mapping.yaml +++ b/spec/schemas/_common.mapping.yaml @@ -249,6 +249,7 @@ components: $ref: '#/components/schemas/Property' ignore_above: type: integer + format: int32 dynamic: $ref: '#/components/schemas/DynamicMapping' fields: @@ -287,8 +288,10 @@ components: properties: max_chars: type: integer + format: int32 min_chars: type: integer + format: int32 required: - max_chars - min_chars @@ -422,6 +425,7 @@ components: $ref: '#/components/schemas/IndexOptions' max_shingle_size: type: integer + format: int32 norms: type: boolean search_analyzer: @@ -464,6 +468,7 @@ components: type: boolean position_increment_gap: type: integer + format: int32 search_analyzer: type: string search_quote_analyzer: @@ -518,6 +523,7 @@ components: $ref: '_common.yaml#/components/schemas/DateTime' precision_step: type: integer + format: int32 type: type: string enum: @@ -544,6 +550,7 @@ components: $ref: '_common.yaml#/components/schemas/DateTime' precision_step: type: integer + format: int32 locale: type: string type: @@ -627,6 +634,7 @@ components: $ref: '#/components/schemas/SuggestContext' max_input_length: type: integer + format: int32 preserve_position_increments: type: boolean preserve_separators: @@ -651,6 +659,7 @@ components: precision: oneOf: - type: number + format: double - type: string required: - name @@ -931,6 +940,7 @@ components: - integer null_value: type: integer + format: int32 required: - type LongNumberProperty: @@ -1095,6 +1105,7 @@ components: - knn_vector dimension: type: integer + format: int32 space_type: type: string data_type: diff --git a/spec/schemas/_common.query_dsl.yaml b/spec/schemas/_common.query_dsl.yaml index a2910c42e..e242f94a4 100644 --- a/spec/schemas/_common.query_dsl.yaml +++ b/spec/schemas/_common.query_dsl.yaml @@ -1405,6 +1405,7 @@ components: type: string k: type: integer + format: int32 min_score: type: number format: float @@ -1646,15 +1647,19 @@ components: gt: description: Greater than. type: number + format: double gte: description: Greater than or equal to. type: number + format: double lt: description: Less than. type: number + format: double lte: description: Less than or equal to. type: number + format: double from: type: ['null', number, string] to: diff --git a/spec/schemas/_common.yaml b/spec/schemas/_common.yaml index 8b737ccd1..6e52d0c4a 100644 --- a/spec/schemas/_common.yaml +++ b/spec/schemas/_common.yaml @@ -332,6 +332,7 @@ components: - total uint: type: integer + format: int32 ShardFailure: type: object properties: @@ -343,6 +344,7 @@ components: $ref: '#/components/schemas/ErrorCause' shard: type: integer + format: int32 status: type: string required: @@ -747,6 +749,7 @@ components: type: string GeoTilePrecision: type: number + format: double EmptyObject: type: object SlicedScroll: @@ -777,6 +780,7 @@ components: oneOf: - title: count type: integer + format: int32 - title: option $ref: '#/components/schemas/WaitForActiveShardOptions' WaitForActiveShardOptions: @@ -959,6 +963,7 @@ components: strings to the target type. oneOf: - type: integer + format: int32 - type: string StringifiedLong: oneOf: @@ -1034,10 +1039,13 @@ components: - ttf byte: type: number + format: double short: type: number + format: double ulong: type: number + format: double Level: type: string enum: @@ -1521,12 +1529,15 @@ components: total: description: The total number of nodes selected by the request. type: integer + format: int32 successful: description: The number of nodes that responded successfully to the request. type: integer + format: int32 failed: description: The number of nodes that rejected the request or failed to respond. If this value is not 0, then a reason for the rejection or failure is included in the response. type: integer + format: int32 required: - failed - successful @@ -1602,11 +1613,13 @@ components: oneOf: - type: string - type: number + format: double TaskFailure: type: object properties: task_id: type: integer + format: int32 node_id: $ref: '#/components/schemas/NodeId' status: @@ -1631,6 +1644,7 @@ components: $ref: '#/components/schemas/SequenceNumber' _primary_term: type: number + format: double _routing: $ref: '#/components/schemas/Routing' _source: @@ -1646,6 +1660,7 @@ components: $ref: '#/components/schemas/ErrorCause' status: type: number + format: double required: - error - status @@ -2210,9 +2225,11 @@ components: rank_constant: description: To what degree documents found in individual result sets per query influence the final ranked result set. type: number + format: double window_size: description: The size of the individual result sets per query. type: number + format: double RankBase: type: object NodeShard: @@ -2470,8 +2487,10 @@ components: properties: thread_executions: type: number + format: double active_threads: type: number + format: double required: - active_threads - thread_executions \ No newline at end of file diff --git a/spec/schemas/_core.get.yaml b/spec/schemas/_core.get.yaml index 616b6f42f..bbc9b1cf6 100644 --- a/spec/schemas/_core.get.yaml +++ b/spec/schemas/_core.get.yaml @@ -23,6 +23,7 @@ components: $ref: '_common.yaml#/components/schemas/Id' _primary_term: type: number + format: double _routing: type: string _seq_no: diff --git a/spec/schemas/_core.msearch.yaml b/spec/schemas/_core.msearch.yaml index f6a370454..efe696d3d 100644 --- a/spec/schemas/_core.msearch.yaml +++ b/spec/schemas/_core.msearch.yaml @@ -76,6 +76,7 @@ components: hits using the `from` and `size` parameters. To page through more than 10,000 hits, use the `search_after` parameter. type: number + format: double highlight: $ref: '_core.search.yaml#/components/schemas/Highlight' indices_boost: @@ -85,11 +86,13 @@ components: type: object additionalProperties: type: number + format: double min_score: description: |- The minimum `_score` for document matching. Documents with a lower `_score` than the minimum are not included in the search results. type: number + format: double post_filter: $ref: '_common.query_dsl.yaml#/components/schemas/QueryContainer' profile: @@ -113,6 +116,7 @@ components: than 10,000 hits using the `from` and `size` parameters. To page through more hits, use the `search_after` parameter. type: number + format: double sort: $ref: '_common.yaml#/components/schemas/Sort' _source: @@ -130,6 +134,7 @@ components: limit, OpenSearch stops the query early. OpenSearch collects documents before sorting. Default is `0`, which does not terminate query execution early. type: number + format: double stats: description: |- The statistics groups to associate with the search. Each group maintains a statistics @@ -172,11 +177,13 @@ components: properties: status: type: number + format: double MultiSearchResult: type: object properties: took: type: number + format: double responses: type: array items: diff --git a/spec/schemas/_core.search.yaml b/spec/schemas/_core.search.yaml index 5183f28c8..6028450a9 100644 --- a/spec/schemas/_core.search.yaml +++ b/spec/schemas/_core.search.yaml @@ -475,8 +475,10 @@ components: properties: load_source: type: number + format: double load_source_count: type: number + format: double load_stored_fields: type: integer format: int32 @@ -713,6 +715,7 @@ components: max_concurrent_group_searches: description: The number of concurrent requests that are allowed to be retrieved by the `inner_hits` parameter per group. type: integer + format: int32 required: - field Highlight: diff --git a/spec/schemas/asynchronous_search._common.yaml b/spec/schemas/asynchronous_search._common.yaml index dea304c3f..db4ae34a5 100644 --- a/spec/schemas/asynchronous_search._common.yaml +++ b/spec/schemas/asynchronous_search._common.yaml @@ -15,10 +15,13 @@ components: type: string start_time_in_millis: type: number + format: double expiration_time_in_millis: type: number + format: double took: type: number + format: double response: $ref: '_core.search.yaml#/components/schemas/ResponseBody' StatsResponse: @@ -62,6 +65,7 @@ components: By default, you cannot page through more than 10,000 hits using the `from` and `size` parameters. To page through more hits, use the `search_after` parameter. type: number + format: double highlight: $ref: '_core.search.yaml#/components/schemas/Highlight' track_total_hits: @@ -73,6 +77,7 @@ components: type: object additionalProperties: type: number + format: double docvalue_fields: description: |- Array of wildcard (`*`) patterns. @@ -87,6 +92,7 @@ components: Minimum `_score` for matching documents. Documents with a lower `_score` are not included in the search results. type: number + format: double post_filter: $ref: '_common.query_dsl.yaml#/components/schemas/QueryContainer' profile: @@ -109,6 +115,7 @@ components: By default, you cannot page through more than 10,000 hits using the `from` and `size` parameters. To page through more hits, use the `search_after` parameter. type: number + format: double slice: $ref: '_common.yaml#/components/schemas/SlicedScroll' sort: @@ -169,19 +176,28 @@ components: properties: submitted: type: integer + format: int32 initialized: type: integer + format: int32 search_failed: type: integer + format: int32 search_completed: type: integer + format: int32 rejected: type: integer + format: int32 persist_failed: type: integer + format: int32 cancelled: type: integer + format: int32 running_current: type: integer + format: int32 persisted: - type: integer \ No newline at end of file + type: integer + format: int32 \ No newline at end of file diff --git a/spec/schemas/cluster.stats.yaml b/spec/schemas/cluster.stats.yaml index 669dc85d6..91f52349f 100644 --- a/spec/schemas/cluster.stats.yaml +++ b/spec/schemas/cluster.stats.yaml @@ -363,14 +363,17 @@ components: $ref: '_common.yaml#/components/schemas/ByteCount' coordinating_rejections: type: number + format: double primary_in_bytes: $ref: '_common.yaml#/components/schemas/ByteCount' primary_rejections: type: number + format: double replica_in_bytes: $ref: '_common.yaml#/components/schemas/ByteCount' replica_rejections: type: number + format: double required: - all_in_bytes - combined_coordinating_and_primary_in_bytes diff --git a/spec/schemas/flow_framework.common.yaml b/spec/schemas/flow_framework.common.yaml index d31caa059..e03f65094 100644 --- a/spec/schemas/flow_framework.common.yaml +++ b/spec/schemas/flow_framework.common.yaml @@ -87,6 +87,7 @@ components: description: The unique identifier of the deleted document. _version: type: integer + format: int32 description: The version of the document after the deletion. result: type: string @@ -96,9 +97,11 @@ components: $ref: '#/components/schemas/shards' _seq_no: type: integer + format: int32 description: The sequence number assigned to the document after the deletion. _primary_term: type: integer + format: int32 description: The primary term assigned to the document after the deletion. FlowFrameworkGetResponse: type: object @@ -117,10 +120,13 @@ components: $ref: '#/components/schemas/user' created_time: type: integer + format: int32 last_updated_time: type: integer + format: int32 last_provisioned_time: type: number + format: double version: type: object description: A key-value map with two fields, template, which identifies the template version, and compatibility, which identifies a list of minimum required OpenSearch versions. @@ -138,15 +144,19 @@ components: properties: total: type: integer + format: int32 description: The total number of shards involved in the deletion. successful: type: integer + format: int32 description: The number of shards where the deletion was successful. failed: type: integer + format: int32 description: The number of shards where the deletion failed. skipped: type: integer + format: int32 description: The number of shards where the deletion was skipped. query: type: object @@ -161,6 +171,7 @@ components: properties: value: type: integer + format: int32 description: Total number of matching documents. relation: type: string @@ -176,12 +187,15 @@ components: description: The document ID. _version: type: integer + format: int32 description: The version of the document. _seq_no: type: integer + format: int32 description: The sequence number of the document. _primary_term: type: integer + format: int32 description: The primary term of the document. _score: type: number @@ -200,12 +214,15 @@ components: description: The document ID. _version: type: integer + format: int32 description: The version of the document. _seq_no: type: integer + format: int32 description: The sequence number of the document. _primary_term: type: integer + format: int32 description: The primary term of the document. _score: type: number @@ -373,6 +390,7 @@ components: properties: took: type: integer + format: int32 description: Time in milliseconds that the request took to complete. timed_out: type: boolean @@ -386,6 +404,7 @@ components: properties: took: type: integer + format: int32 description: Time in milliseconds that the request took to complete. timed_out: type: boolean diff --git a/spec/schemas/flow_framework.errors.yaml b/spec/schemas/flow_framework.errors.yaml index 1ca8965af..227b9aa85 100644 --- a/spec/schemas/flow_framework.errors.yaml +++ b/spec/schemas/flow_framework.errors.yaml @@ -14,6 +14,7 @@ components: # example: This API is disabled. To enable it, set [flow_framework.enabled] to true. status: type: integer + format: int32 InvalidParameterError: type: object properties: @@ -22,6 +23,7 @@ components: # example: Only the parameters [param1, param2] are permitted unless the provision parameter is set to true. status: type: integer + format: int32 ConflictError: type: object properties: @@ -30,6 +32,7 @@ components: # example: You cannot use both the 'provision_workflow' and 'update_workflow_fields' parameters in the same request. status: type: integer + format: int32 MissingParameterError: type: object properties: @@ -38,6 +41,7 @@ components: # example: You cannot use the 'reprovision_workflow' parameter to create a new template. status: type: integer + format: int32 ParameterConflictError: type: object properties: @@ -46,6 +50,7 @@ components: # example: You cannot use the 'reprovision_workflow' and 'use_case' parameters in the same request. status: type: integer + format: int32 WorkFlowIdNullError: type: object properties: @@ -54,6 +59,7 @@ components: # example: Workflow ID can not be null status: type: integer + format: int32 DuplicateKeyError: type: object properties: @@ -62,6 +68,7 @@ components: description: Error message when a duplicate key is found in the request. status: type: integer + format: int32 description: HTTP status code for the error. # example: 400 InvalidRequestBodyFieldError: @@ -72,6 +79,7 @@ components: description: Error message when a request body field is not a string. status: type: integer + format: int32 description: HTTP status code for the error. RequestBodyParsingFailedError: type: object @@ -81,6 +89,7 @@ components: description: Error message when request body parsing fails. status: type: integer + format: int32 description: HTTP status code for the error. # example: 400 WorkflowSaveError: @@ -91,6 +100,7 @@ components: # example: Failed to save workflow state status: type: integer + format: int32 MaxWorkflowsLimitError: type: object properties: @@ -99,6 +109,7 @@ components: # example: Maximum workflows limit reached 50 code: type: integer + format: int32 TemplateNameRequiredError: type: object properties: @@ -113,6 +124,7 @@ components: # example: Failed to retrieve template (12345) from global context. code: type: integer + format: int32 InvalidTemplateVersionError: type: object properties: @@ -142,6 +154,7 @@ components: # example: Failed to retrieve workflow step json. code: type: integer + format: int32 DeprovisioningError: type: object properties: @@ -168,6 +181,7 @@ components: description: Error message when the request times out. status: type: integer + format: int32 description: HTTP status code for the error. # example: 408 BadRequestError: @@ -179,5 +193,6 @@ components: # example: Invalid request body or query parameters. status: type: integer + format: int32 description: HTTP status code for the error. # example: 400 \ No newline at end of file diff --git a/spec/schemas/indices._common.yaml b/spec/schemas/indices._common.yaml index e9f9db55b..fa4aec883 100644 --- a/spec/schemas/indices._common.yaml +++ b/spec/schemas/indices._common.yaml @@ -118,6 +118,7 @@ components: oneOf: - type: string - type: number + format: double max_slices_per_scroll: $ref: '_common.yaml#/components/schemas/StringifiedInteger' translog: @@ -133,6 +134,7 @@ components: priority: oneOf: - type: number + format: double - type: string top_metrics_max_size: $ref: '_common.yaml#/components/schemas/StringifiedInteger' @@ -910,6 +912,7 @@ components: format: double min_segment_size: type: integer + format: int32 required: - max - min @@ -1177,6 +1180,7 @@ components: $ref: '#/components/schemas/IndexErrorCause' status: type: number + format: double IndexErrorCause: type: object properties: diff --git a/spec/schemas/indices.segments.yaml b/spec/schemas/indices.segments.yaml index b86a63a93..99a9ed2a8 100644 --- a/spec/schemas/indices.segments.yaml +++ b/spec/schemas/indices.segments.yaml @@ -57,10 +57,13 @@ components: properties: generation: type: integer + format: int32 num_docs: type: integer + format: int32 deleted_docs: type: integer + format: int32 size: $ref: '_common.yaml#/components/schemas/HumanReadableByteCount' size_in_bytes: diff --git a/spec/schemas/insights._common.yaml b/spec/schemas/insights._common.yaml index 26907f160..67e639353 100644 --- a/spec/schemas/insights._common.yaml +++ b/spec/schemas/insights._common.yaml @@ -21,9 +21,11 @@ components: properties: timestamp: type: integer + format: int32 description: The timestamp of the query execution. total_shards: type: integer + format: int32 description: The total number of shards involved in the query. task_resource_usages: type: array @@ -64,9 +66,11 @@ components: description: The action type of the task. taskId: type: integer + format: int32 description: The task ID. parentTaskId: type: integer + format: int32 description: The parent task ID. nodeId: type: string @@ -79,9 +83,11 @@ components: properties: cpu_time_in_nanos: type: integer + format: int32 description: The CPU time used in nanoseconds. memory_in_bytes: type: integer + format: int32 description: The memory usage in bytes. Source: type: object @@ -106,6 +112,7 @@ components: By default, you cannot page through more than 10,000 hits using the `from` and `size` parameters. To page through more hits, use the `search_after` parameter. type: number + format: double highlight: $ref: '_core.search.yaml#/components/schemas/Highlight' track_total_hits: @@ -117,6 +124,7 @@ components: type: object additionalProperties: type: number + format: double docvalue_fields: description: |- Array of wildcard (`*`) patterns. @@ -129,6 +137,7 @@ components: Minimum `_score` for matching documents. Documents with a lower `_score` are not included in the search results. type: number + format: double post_filter: $ref: '_common.query_dsl.yaml#/components/schemas/QueryContainer' profile: @@ -151,6 +160,7 @@ components: By default, you cannot page through more than 10,000 hits using the `from` and `size` parameters. To page through more hits, use the `search_after` parameter. type: number + format: double slice: $ref: '_common.yaml#/components/schemas/SlicedScroll' sort: @@ -210,8 +220,10 @@ components: properties: number: type: integer + format: int32 count: type: integer + format: int32 aggregationType: type: string Measurements: diff --git a/spec/schemas/ism._common.yaml b/spec/schemas/ism._common.yaml index 9c59ff375..b608b0d26 100644 --- a/spec/schemas/ism._common.yaml +++ b/spec/schemas/ism._common.yaml @@ -13,6 +13,7 @@ components: $ref: '_common.yaml#/components/schemas/Id' _primary_term: type: number + format: double _seq_no: $ref: '_common.yaml#/components/schemas/SequenceNumber' _version: @@ -28,8 +29,10 @@ components: type: string last_updated_time: type: integer # TODO: field is strict_date_time||epoch_millis + format: int32 schema_version: type: number + format: double error_notification: oneOf: - $ref: '#/components/schemas/ErrorNotification' @@ -127,6 +130,7 @@ components: properties: count: type: integer + format: int32 backoff: type: string delay: @@ -144,6 +148,7 @@ components: properties: max_num_segments: type: integer + format: int32 ActionReadOnly: type: object ActionReadWrite: @@ -153,11 +158,13 @@ components: properties: number_of_replicas: type: number + format: double ActionIndexPriority: type: object properties: priority: type: number + format: double ActionClose: type: object ActionOpen: @@ -176,12 +183,16 @@ components: properties: min_size: type: number + format: double min_index_age: type: number + format: double min_doc_count: type: number + format: double min_primary_shard_size: type: number + format: double copy_alias: type: boolean ActionNotification: @@ -227,6 +238,7 @@ components: properties: total_policies: type: number + format: double policies: type: array items: @@ -247,6 +259,7 @@ components: properties: updated_indices: type: number + format: double failures: type: boolean failed_indices: @@ -305,6 +318,7 @@ components: properties: total_managed_indices: type: number + format: double additionalProperties: $ref: '#/components/schemas/ExplainPolicy' ExplainPolicy: @@ -338,6 +352,7 @@ components: type: string last_update_time: type: integer + format: int32 additionalProperties: anyOf: - $ref: '#/components/schemas/ErrorNotificationChime' @@ -365,6 +380,7 @@ components: type: string port: type: integer + format: int32 path: type: string query_params: @@ -386,8 +402,10 @@ components: type: string priority: type: number + format: double last_updated_time: type: integer + format: int32 RetryIndexRequest: type: object properties: diff --git a/spec/schemas/knn._common.yaml b/spec/schemas/knn._common.yaml index 3efddc192..d48e06a5c 100644 --- a/spec/schemas/knn._common.yaml +++ b/spec/schemas/knn._common.yaml @@ -47,71 +47,95 @@ components: properties: max_distance_query_with_filter_requests: type: number + format: double graph_memory_usage_percentage: $ref: '_common.yaml#/components/schemas/PercentageNumber' graph_query_requests: type: number + format: double graph_memory_usage: type: number + format: double cache_capacity_reached: type: boolean load_success_count: type: number + format: double training_memory_usage: type: number + format: double indices_in_cache: type: object additionalProperties: true script_query_errors: type: number + format: double hit_count: type: number + format: double knn_query_requests: type: number + format: double total_load_time: type: number + format: double miss_count: type: number + format: double min_score_query_requests: type: number + format: double knn_query_with_filter_requests: type: number + format: double training_memory_usage_percentage: $ref: '_common.yaml#/components/schemas/PercentageNumber' max_distance_query_requests: type: number + format: double lucene_initialized: type: boolean graph_index_requests: type: number + format: double faiss_initialized: type: boolean load_exception_count: type: number + format: double training_errors: type: number + format: double min_score_query_with_filter_requests: type: number + format: double eviction_count: type: number + format: double nmslib_initialized: type: boolean script_compilations: type: number + format: double script_query_requests: type: number + format: double graph_stats: $ref: '#/components/schemas/GraphStats' graph_query_errors: type: number + format: double indexing_from_model_degraded: type: boolean graph_index_errors: type: number + format: double training_requests: type: number + format: double script_compilation_errors: type: number + format: double GraphStats: type: object properties: @@ -124,6 +148,7 @@ components: properties: total: type: number + format: double total_time_in_millis: $ref: '_common.yaml#/components/schemas/DurationValueUnitMillis' GraphMergeStats: @@ -131,14 +156,18 @@ components: properties: current: type: number + format: double total: type: number + format: double total_time_in_millis: $ref: '_common.yaml#/components/schemas/DurationValueUnitMillis' current_docs: type: number + format: double total_docs: type: number + format: double total_size_in_bytes: $ref: '_common.yaml#/components/schemas/ByteCount' current_size_in_bytes: diff --git a/spec/schemas/ml._common.yaml b/spec/schemas/ml._common.yaml index 9348d2eeb..fbf49526e 100644 --- a/spec/schemas/ml._common.yaml +++ b/spec/schemas/ml._common.yaml @@ -15,6 +15,7 @@ components: properties: took: type: integer + format: int32 description: The time taken to execute the search. timed_out: type: boolean @@ -62,6 +63,7 @@ components: $ref: '_common.yaml#/components/schemas/SequenceNumber' _primary_term: type: integer + format: int32 description: The primary term. _index: $ref: '_common.yaml#/components/schemas/IndexName' @@ -133,6 +135,7 @@ components: description: The model content hash value. planning_worker_node_count: type: number + format: double description: The planning worker node count. model_config: $ref: '#/components/schemas/ModelConfig' @@ -164,6 +167,7 @@ components: description: The connector ID. current_worker_node_count: type: number + format: double description: The current worker node count. model_group_id: type: string @@ -198,6 +202,7 @@ components: - restricted latest_version: type: integer + format: int32 description: The latest version. protocol: type: string @@ -441,6 +446,7 @@ components: - STRING value: type: number + format: double description: The value. InputQuery: type: object @@ -527,15 +533,19 @@ components: properties: gte: type: number + format: double description: Greater than or equal to. lte: type: number + format: double description: Less than or equal to. gt: type: number + format: double description: Greater than. lt: type: number + format: double description: Less than. Term: type: object @@ -594,6 +604,7 @@ components: $ref: '_common.yaml#/components/schemas/FieldValue' boost: type: number + format: double description: Adjust the relevance score of a match. Type: type: object @@ -628,6 +639,7 @@ components: - sum boost: type: number + format: double description: Adjust the relevance score of a match. Exists: type: object @@ -827,6 +839,7 @@ components: description: The model group name. latest_version: type: integer + format: int32 description: The latest version. description: type: string @@ -1144,18 +1157,24 @@ components: properties: max_connection: type: integer + format: int32 connection_timeout: type: integer + format: int32 read_timeout: type: integer + format: int32 retry_backoff_policy: type: string max_retry_times: type: integer + format: int32 retry_backoff_millis: type: integer + format: int32 retry_timeout_seconds: type: integer + format: int32 Action: type: object properties: diff --git a/spec/schemas/observability._common.yaml b/spec/schemas/observability._common.yaml index bc7c56d87..6b7902502 100644 --- a/spec/schemas/observability._common.yaml +++ b/spec/schemas/observability._common.yaml @@ -11,8 +11,10 @@ components: properties: startIndex: type: integer + format: int32 totalHits: type: integer + format: int32 totalHitRelation: type: string observabilityObjectList: @@ -32,8 +34,10 @@ components: type: string lastUpdatedTimeMs: type: integer + format: int32 createdTimeMs: type: integer + format: int32 tenant: type: string operationalPanel: @@ -76,12 +80,16 @@ components: type: string x: type: integer + format: int32 y: type: integer + format: int32 w: type: integer + format: int32 h: type: integer + format: int32 required: - h - id @@ -217,6 +225,7 @@ components: $ref: '#/components/schemas/ErrorResponse' status: type: integer + format: int32 # example: 404 required: - error diff --git a/spec/schemas/query._common.yaml b/spec/schemas/query._common.yaml index e6511cc8f..1a314845f 100644 --- a/spec/schemas/query._common.yaml +++ b/spec/schemas/query._common.yaml @@ -77,6 +77,7 @@ components: $ref: '#/components/schemas/Error' status: type: number + format: double Error: type: object diff --git a/spec/schemas/replication._common.yaml b/spec/schemas/replication._common.yaml index 49f5f6402..07a50172d 100644 --- a/spec/schemas/replication._common.yaml +++ b/spec/schemas/replication._common.yaml @@ -48,8 +48,10 @@ components: properties: leader_checkpoint: type: integer + format: int32 follower_checkpoint: type: integer + format: int32 seq_no: $ref: '_common.yaml#/components/schemas/SequenceNumber' LeaderStatus: @@ -57,14 +59,18 @@ components: properties: num_replicated_indices: type: number + format: double operations_read: type: number + format: double translog_size_bytes: $ref: '_common.yaml#/components/schemas/ByteCount' operations_read_lucene: type: number + format: double operations_read_translog: type: number + format: double total_read_time_lucene_millis: $ref: '_common.yaml#/components/schemas/StringifiedEpochTimeUnitMillis' total_read_time_translog_millis: @@ -80,12 +86,15 @@ components: properties: operations_read: type: number + format: double translog_size_bytes: $ref: '_common.yaml#/components/schemas/ByteCount' operations_read_lucene: type: number + format: double operations_read_translog: type: number + format: double total_read_time_lucene_millis: $ref: '_common.yaml#/components/schemas/StringifiedEpochTimeUnitMillis' total_read_time_translog_millis: @@ -97,32 +106,46 @@ components: properties: num_syncing_indices: type: number + format: double num_bootstrapping_indices: type: number + format: double num_paused_indices: type: number + format: double num_failed_indices: type: number + format: double num_shard_tasks: type: number + format: double num_index_tasks: type: number + format: double operations_written: type: number + format: double operations_read: type: number + format: double failed_read_requests: type: number + format: double throttled_read_requests: type: number + format: double failed_write_requests: type: number + format: double throttled_write_requests: type: number + format: double follower_checkpoint: type: number + format: double leader_checkpoint: type: number + format: double total_write_time_millis: $ref: '_common.yaml#/components/schemas/StringifiedEpochTimeUnitMillis' index_stats: @@ -134,20 +157,28 @@ components: properties: operations_written: type: number + format: double operations_read: type: number + format: double failed_read_requests: type: number + format: double throttled_read_requests: type: number + format: double failed_write_requests: type: number + format: double throttled_write_requests: type: number + format: double follower_checkpoint: type: number + format: double leader_checkpoint: type: number + format: double total_write_time_millis: $ref: '_common.yaml#/components/schemas/StringifiedEpochTimeUnitMillis' AutoFollowStatus: @@ -155,10 +186,13 @@ components: properties: num_success_start_replication: type: number + format: double num_failed_start_replication: type: number + format: double num_failed_leader_calls: type: number + format: double failed_indices: type: array items: @@ -176,16 +210,20 @@ components: type: string num_success_start_replication: type: number + format: double num_failed_start_replication: type: number + format: double num_failed_leader_calls: type: number + format: double failed_indices: type: array items: type: string last_execution_time: type: number + format: double SettingsBody: type: object properties: @@ -200,16 +238,20 @@ components: properties: index.number_of_shards: type: integer + format: int32 index.number_of_replicas: type: integer + format: int32 - $ref: '#/components/schemas/SettingsBody' IndexSchema: type: object properties: number_of_shards: type: integer + format: int32 number_of_replicas: type: integer + format: int32 CreateReplicationRule: type: object properties: diff --git a/spec/schemas/rollups._common.yaml b/spec/schemas/rollups._common.yaml index b67cc0938..9847a31dc 100644 --- a/spec/schemas/rollups._common.yaml +++ b/spec/schemas/rollups._common.yaml @@ -31,12 +31,15 @@ components: $ref: '#/components/schemas/Schedule' last_updated_time: type: number + format: double enabled_time: type: number + format: double description: type: string schema_version: type: number + format: double source_index: type: string target_index: @@ -45,8 +48,10 @@ components: type: ['null', string] page_size: type: number + format: double delay: type: number + format: double continuous: type: boolean dimensions: @@ -156,8 +161,10 @@ components: properties: start_time: type: number + format: double period: type: number + format: double unit: type: string cron: @@ -168,3 +175,4 @@ components: - $ref: '#/components/schemas/Cron' schedule_delay: type: number + format: double diff --git a/spec/schemas/security._common.yaml b/spec/schemas/security._common.yaml index ac53b2be7..776607cd0 100644 --- a/spec/schemas/security._common.yaml +++ b/spec/schemas/security._common.yaml @@ -183,12 +183,15 @@ components: properties: total: type: number + format: double description: Total number of nodes. successful: type: number + format: double description: Number of nodes for which certificates could be fetched. failed: type: number + format: double description: Number of nodes for which certificates could not be fetched. CertificatesDetail: diff --git a/spec/schemas/sm._common.yaml b/spec/schemas/sm._common.yaml index 5b2c85daf..1bb5c19b2 100644 --- a/spec/schemas/sm._common.yaml +++ b/spec/schemas/sm._common.yaml @@ -35,10 +35,13 @@ components: type: string _version: type: integer + format: int32 _seq_no: type: integer + format: int32 _primary_term: type: integer + format: int32 sm_policy: $ref: '#/components/schemas/SMPolicy' required: @@ -58,6 +61,7 @@ components: type: string schema_version: type: integer + format: int32 creation: $ref: '#/components/schemas/CreationConfig' deletion: @@ -74,8 +78,10 @@ components: type: boolean last_updated_time: type: integer + format: int32 enabled_time: type: integer + format: int32 required: - creation - description @@ -87,6 +93,7 @@ components: properties: total_policies: type: integer + format: int32 policies: type: array items: @@ -102,8 +109,10 @@ components: type: string _seq_no: type: integer + format: int32 _primary_term: type: integer + format: int32 sm_policy: $ref: '#/components/schemas/SMPolicy' required: @@ -140,8 +149,10 @@ components: type: string max_count: type: integer + format: int32 min_count: type: integer + format: int32 # Not all are mandatory according to the doc, min_count default 1 # To align strictly with doc, remove required: # required: @@ -207,8 +218,10 @@ components: properties: start_time: type: integer + format: int32 period: type: integer + format: int32 unit: type: string enum: [Days, Hours, Minutes] @@ -266,8 +279,10 @@ components: $ref: '#/components/schemas/StateMetadata' policy_seq_no: type: integer + format: int32 policy_primary_term: type: integer + format: int32 enabled: type: boolean @@ -288,6 +303,7 @@ components: properties: time: type: integer + format: int32 ExecutionInfo: type: object @@ -308,16 +324,20 @@ components: properties: count: type: integer + format: int32 ShardsInfo: type: object properties: total: type: integer + format: int32 successful: type: integer + format: int32 failed: type: integer + format: int32 DeletePolicyResponse: type: object @@ -328,6 +348,7 @@ components: type: string _version: type: integer + format: int32 result: type: string forced_refresh: @@ -336,8 +357,10 @@ components: $ref: '#/components/schemas/ShardsInfo' _seq_no: type: integer + format: int32 _primary_term: type: integer + format: int32 required: - _id - _index @@ -378,6 +401,7 @@ components: $ref: '#/components/schemas/NotFoundError' status: type: integer + format: int32 required: - error - status @@ -389,3 +413,4 @@ components: type: string status: type: integer + format: int32 diff --git a/spec/schemas/sql._common.yaml b/spec/schemas/sql._common.yaml index fbb153c44..404755648 100644 --- a/spec/schemas/sql._common.yaml +++ b/spec/schemas/sql._common.yaml @@ -15,6 +15,7 @@ components: type: object fetch_size: type: integer + format: int32 QueryResponse: type: object properties: @@ -30,10 +31,13 @@ components: type: string total: type: integer + format: int32 size: type: integer + format: int32 status: type: integer + format: int32 Explain: type: object properties: @@ -43,6 +47,7 @@ components: type: object fetch_size: type: integer + format: int32 ExplainResponse: type: object properties: @@ -135,6 +140,7 @@ components: anyOf: - type: string - type: integer + format: int32 Sql: type: object properties: @@ -145,6 +151,7 @@ components: slowlog: anyOf: - type: integer + format: int32 - type: string cursor: $ref: '#/components/schemas/Cursor' @@ -162,9 +169,11 @@ components: type: boolean plugins.sql.slowlog: type: integer + format: int32 plugins.sql.cursor.keep_alive: type: string plugins.query.memory_limit: type: string plugins.query.size_limit: type: integer + format: int32 diff --git a/spec/schemas/transforms._common.yaml b/spec/schemas/transforms._common.yaml index b51793236..82757240d 100644 --- a/spec/schemas/transforms._common.yaml +++ b/spec/schemas/transforms._common.yaml @@ -31,6 +31,7 @@ components: properties: total_transforms: type: number + format: double transforms: type: array items: @@ -76,6 +77,7 @@ components: $ref: '_common.yaml#/components/schemas/SequenceNumber' status: type: number + format: double required: - _id - _index @@ -93,6 +95,7 @@ components: type: string schema_version: type: number + format: double continuous: type: boolean schedule: @@ -101,6 +104,7 @@ components: type: ['null', string] updated_at: type: number + format: double enabled: type: boolean enabled_at: @@ -119,6 +123,7 @@ components: type: string page_size: type: number + format: double groups: type: array items: @@ -159,8 +164,10 @@ components: properties: start_time: type: number + format: double period: type: number + format: double unit: type: string GroupsConfigItem: @@ -208,23 +215,30 @@ components: properties: last_timestamp: type: number + format: double documents_behind: type: object additionalProperties: type: number + format: double ExplainStats: type: object properties: pages_processed: type: number + format: double documents_processed: type: number + format: double documents_indexed: type: number + format: double index_time_in_millis: type: number + format: double search_time_in_millis: type: number + format: double TransformMetadata: type: object properties: @@ -234,6 +248,7 @@ components: type: string last_updated_at: type: number + format: double status: type: string failure_reason: diff --git a/tools/tests/linter/fixtures/inline_object_schema_validator/namespaces/ops.yaml b/tools/tests/linter/fixtures/inline_object_schema_validator/namespaces/ops.yaml index 62a749f6f..7332f2ffc 100644 --- a/tools/tests/linter/fixtures/inline_object_schema_validator/namespaces/ops.yaml +++ b/tools/tests/linter/fixtures/inline_object_schema_validator/namespaces/ops.yaml @@ -60,6 +60,7 @@ components: type: integer bytes: type: number + format: double requestBodies: obj: content: diff --git a/tools/tests/linter/fixtures/schemas_validator/anonymous_schemas/namespaces/shelter.yaml b/tools/tests/linter/fixtures/schemas_validator/anonymous_schemas/namespaces/shelter.yaml index 8b40f025a..8045540df 100644 --- a/tools/tests/linter/fixtures/schemas_validator/anonymous_schemas/namespaces/shelter.yaml +++ b/tools/tests/linter/fixtures/schemas_validator/anonymous_schemas/namespaces/shelter.yaml @@ -42,7 +42,8 @@ components: name: docket in: path schema: - type: number2 + type: number + format: double responses: adopt@200: content: diff --git a/tools/tests/linter/fixtures/schemas_validator/named_schemas/namespaces/shelter.yaml b/tools/tests/linter/fixtures/schemas_validator/named_schemas/namespaces/shelter.yaml index 85398b8ff..1dceb3a68 100644 --- a/tools/tests/linter/fixtures/schemas_validator/named_schemas/namespaces/shelter.yaml +++ b/tools/tests/linter/fixtures/schemas_validator/named_schemas/namespaces/shelter.yaml @@ -37,6 +37,7 @@ components: in: path schema: type: number + format: double responses: adopt@200: application/json: diff --git a/tools/tests/merger/fixtures/merger/animals/expected.yaml b/tools/tests/merger/fixtures/merger/animals/expected.yaml index a28b20af2..34e74b85d 100644 --- a/tools/tests/merger/fixtures/merger/animals/expected.yaml +++ b/tools/tests/merger/fixtures/merger/animals/expected.yaml @@ -72,6 +72,7 @@ components: in: path schema: type: number + format: double indices.create___path.index: name: index in: path diff --git a/tools/tests/merger/fixtures/specs/animals/namespaces/shelter.yaml b/tools/tests/merger/fixtures/specs/animals/namespaces/shelter.yaml index 85398b8ff..1dceb3a68 100644 --- a/tools/tests/merger/fixtures/specs/animals/namespaces/shelter.yaml +++ b/tools/tests/merger/fixtures/specs/animals/namespaces/shelter.yaml @@ -37,6 +37,7 @@ components: in: path schema: type: number + format: double responses: adopt@200: application/json: diff --git a/tools/tests/tester/fixtures/specs/excerpt.yaml b/tools/tests/tester/fixtures/specs/excerpt.yaml index fcc19a666..4db60e62a 100644 --- a/tools/tests/tester/fixtures/specs/excerpt.yaml +++ b/tools/tests/tester/fixtures/specs/excerpt.yaml @@ -249,6 +249,7 @@ components: schemas: _common:uint: type: number + format: double _common:ShardStatistics: type: object properties: