Add security create user 201 response to OpenAPI spec#810
Add security create user 201 response to OpenAPI spec#810dblock merged 4 commits intoopensearch-project:mainfrom
Conversation
Signed-off-by: Zelin Hao <zelinhao@amazon.com>
Changes AnalysisCommit SHA: da8c29f API ChangesSummary
ReportThe full API changes report is available at: https://github.com/opensearch-project/opensearch-api-specification/actions/runs/13059401053/artifacts/2512712828 API Coverage
|
Spec Test Coverage Analysis
|
dblock
left a comment
There was a problem hiding this comment.
This needs a test, please? Something into https://github.com/opensearch-project/opensearch-api-specification/tree/main/tests/default/security.
Was thinking about tests. Yeah let me take a look. Thanks. |
1e02a11 to
90e8a74
Compare
|
@dblock After investigation, I think we already have such test to cover the 201 response here. Such response might be missed in the spec file. |
Signed-off-by: Zelin Hao <zelinhao@amazon.com>
|
Updated the test cases for creating user repetitively to receive different response status. |
Signed-off-by: Zelin Hao <zelinhao@amazon.com>
CHANGELOG.md
Outdated
| - Added a warning for test file names that don't match the API being tested ([#793](https://github.com/opensearch-project/opensearch-api-specification/pull/793)) | ||
| - Added `time` field to the `GetStats` schema in `_common.yml` ([#803](https://github.com/opensearch-project/opensearch-api-specification/pull/803)) | ||
| - Added version for `POST /_plugins/_ml/_train/{algorithm_name}`, `_predict/{algorithm_name}/{model_id}`, and `_train_predict/{algorithm_name}` ([#763](https://github.com/opensearch-project/opensearch-api-specification/pull/763)) | ||
| - Added `POST _plugins/_security/api/internalusers/{username}` response `201` [#810](https://github.com/opensearch-project/opensearch-api-specification/pull/810) |
There was a problem hiding this comment.
Match the format of other lines.
| - Added `POST _plugins/_security/api/internalusers/{username}` response `201` [#810](https://github.com/opensearch-project/opensearch-api-specification/pull/810) | |
| - Added `POST _plugins/_security/api/internalusers/{username}` response `201` ([#810](https://github.com/opensearch-project/opensearch-api-specification/pull/810)) |
There was a problem hiding this comment.
Sure thanks! Just updated.
Signed-off-by: Zelin Hao <zelinhao@amazon.com>
Description
Add security create user 201 response to OpenAPI spec
Issues Resolved
Closes #809
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.