)]}'
{"doc/api_samples/attributes/attributes-post-req.json":[{"author":{"_account_id":28006,"name":"teim-ci","display_name":"teim-ci","email":"ci@seanmooney.info","username":"ci-sean-mooney","status":"this is a third-party ci account run by sean-k-mooney on irc\nhosted at zuul.teim.app"},"tag":"autogenerated:zuul:automatic-ci","change_message_id":"ec1e0395d190fe2fc1934e40a1ffa472787a32b8","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"    \"deployable_id\": \"1\","},{"line_number":3,"context_line":"    \"key\": \"rc\","},{"line_number":4,"context_line":"    \"value\": \"FPGA\""},{"line_number":5,"context_line":"}"}],"source_content_type":"application/json","patch_set":2,"id":"996594eb_30b27317","line":2,"updated":"2026-06-24 20:01:06.000000000","message":"deployable_id is a string \"1\" but the API model declares wtypes.IntegerType(). The corresponding response sample (attributes-create-resp.json) uses integer 1 for the same field. The request sample should match the declared type.\n\n**Severity**: WARNING | **Confidence**: 0.8\n\n**Impact**: Users copying this sample as a template may send a string where an integer is expected. While wsme may coerce the value at runtime, the documentation sample should demonstrate the correct type to avoid confusion and set a proper example for API consumers.\n\n**Suggestion**:\nChange \"deployable_id\": \"1\" to \"deployable_id\": 1 to match the wtypes.IntegerType() declaration in cyborg/api/controllers/v2/attributes.py:47 and the integer value used in the create response sample.","commit_id":"e1db68f194ce9c9a47a99fe53ea7cecc4e240a30"}]}
