Releases: opensearch-project/opensearch-api-specification
Releases · opensearch-project/opensearch-api-specification
OpenSearch OpenAPI Spec (main)
[Unreleased]
Added
- Added API specs for query groups lifecycle APIs (#649)
- Added Python and Ruby spec validators (#646)
- Added verbose output of the story being evaluated (#646)
- Added
_search
withsort: direction
(#658) - Added
_common.mapping:FlatObjectProperty
(#661) - Added
HEAD /{index}/_doc/{id}
returning404
(#670) - Added
_common.mapping:IcuCollationKeywordProperty
(#666)
Removed
- Removed unsupported
_common.mapping:SourceField
'smode
field and associated_common.mapping:SourceFieldMode
enum (#652) - Removed unsupported
_common.mapping:DenseVectorProperty
,_common.mapping:SparseVectorProperty
, and_common.mapping:FlattenedProperty
(#666) - Removed unsupported time series dimension properties and types (#666)
- Removed unsupported runtime field properties (
script
/on_script_error
) onNumberPropertyBase
(#666)
Fixed
- Spec passes OpenAPI 3.1.0 validations (#646)
- Disallowed characters (
::
,@
, and:
) in key names are replaced with___
on merge (#646) - Added missing
required
topath
parameters (#646) - Added missing
schema
parent to response types (#646) - Removed invalid
externalDocs
fromflow_framework.create/update::query.use_case
(#646) - Fixed incorrect
style
inindices.get_mapping::query.index
(#646) - Removed invalid
required
fromppl
responses (#646) - Added schema for security API error responses (#646)
- Fixed
/{index}/_create/{id}
returning201
(#669)
Links
v0.1.0
Added
- Added CHANGELOG (#309)
- Added a spec test framework (#299)
- Added tests for the framework (#310)
- Added workflow to determine API changes (#297)
- Added link checking (#269)
- Added API coverage (#210)
- Added license headers to TypeScript code (#311)
- Added
npm run test:spec -- --dry-run --verbose
(#303) - Added
npm run test:unit
andtest:integ
(#320) - Added code coverage to tools' tests (#323)
- Added a YAML linter (#312)
- Added linter to validate order of spec operations (#325) (#326)
- Added support to read outputs from requests in tests(#324)
- Added
eslint-plugin-eslint-comments
(#333) - Added
distribution
field toOpenSearchVersionInfo
(#336) - Added
created_time
andlast_updated_time
toml.get_model_group@200
(#342) - Added spellcheck linter (#341)
- Added tests for response payload (#347)
- Added
cancel_after_time_interval
andphase_took
in_search
(#353) - Added support for testing
application/x-ndjson
payloads (#355) - Added TESTING_GUIDE.md (#359)
- Added StoryValidator to validate stories before running them (#354)
- Added support for
text/plain
responses in_cat
APIs (#360) - Added support for
application/yaml
responses (#363) - Added test for search with seq_no_primary_term (#367)
- Added a linter for parameter sorting (#369)
- Added AjvErrorsParser to print more informative error messages (#364)
- Added JsonSchemaValidator, a wrapper for AJV (#364)
- Added support for
application/cbor
responses (#371) - Added
/_plugins/_sql
,close
,explain
andstats
(#379) - Added support for
application/smile
responses (#386) - Added
doc_status
,remote_store
,segment_replication
andunreferenced_file_cleanups_performed
toSegmentStats
(#395) - Added
concurrent_query_*
andsearch_idle_reactivate_count_total
fields toSearchStats
(#395) - Added
remote_store
toTranslogStats
(#395) - Added
file
to/_cache/clear
and/{index}/_cache/clear
(#396) - Added
strict_allow_templates
option for the dynamic mapping parameter (#408) - Added a workflow to run tests against the next version of OpenSearch (#409)
- Added support for skipping tests using semver range (#410)
- Added
cluster_manager_timeout
toHEAD /{index}
(#421) - Added missing fields to
/_nodes/stats
(#415) - Added missing metrics options to
/_nodes/stats
(#422) - Added tests against OpenSearch 1.3 (#424)
- Added
is_hidden
to/{index}/_alias/{name}
and/{index}/_aliases/{name}
(#429) - Added
ignore_unmapped
toGeoDistanceQuery
(#427) - Added missing variants of
indices.put_alias
(#434) - Added
plugins
to NodeInfoSettings (#442) - Added test coverage (#443)
- Added
--opensearch-version
tomerger
that excludes schema elements per semver (#428) - Added
retry
totester
to support asynchronous tasks (#453) - Added passing OPENSEARCH_JAVA_OPTS into the docker container used for tests (#454)
- Added a warning on mulitple paths being tested in the same file (#452)
- Added validation of titles and descriptions in info and schema objects (#463)
- Added
/_plugins/_query/settings
(#456) - Added
/_plugins/_ppl
,explain
andstats
(#460) - Added tests against OpenSearch 3.0 (#459)
- Added support for request headers in tests #461
- Added metadata additionalProperties to
ErrorCause
(#462) - Added
creation_date
field toDanglingIndex
(#462) - Added doc on
cluster create-index blocked
workaround (#465) - Added
observability
namespace API specifications (#474) - Added support for reusing output variables as keys in payload expectations (#471)
- Added support for running tests against Amazon OpenSearch (#476)
- Added API spec for security plugin (#271)
- Added
/_plugins/_security/api/certificates/
(#439) - Added
/_plugins/_ml/models/{model_id}/_deploy
,_undeploy
andknn_vector
type inpassage_embedding
(#504) - Added
PersonalizeSearchRanking
,RetrievalAugmentedGeneration
,Rerank
,Collapse
,TruncateHits
,SortResponseProcessor
andSplitResponseProcessor
(#505) - Added
/_plugins/_security/api/certificates/
to API spec (#439) - Added support for annotating and testing the API spec against multiple OpenSearch distributions (#483)
- Added
read_time
,write_time
,queue_size
andio_time_in_millis
toIoStatDevice
(#483) - Added
total_rejections_breakup
toShardIndexingPressureStats
([#483](https://github.com/o...