[Fleet] Various OAS fleet request fields are incorrectly nullable #197155
Labels
APIDocs
bug
Fixes for quality problems that affect the customer experience
Team:Fleet
Team label for Observability Data Collection Fleet team
Describe the bug:
As part of upgrading the Terraform elasticstack provider to use the generated OAS docs, various fields were discovered in fleet that are described as nullable, but are in-fact not. These were discovered by running the TF acceptance tests locally. This is probably due to re-use of the response schema as the request schema (or vice-versa, with some minimal changes).
There are likely more, these are just what the acceptance tests caught.
Steps to reproduce:
Expected behavior:
If truly nullable, no errors. Otherwise OAS should show optional, not nullable for each POST/PUT request.
-- edit
Some more details
The text was updated successfully, but these errors were encountered: