Adapt colorpalette.yaml to Qt colorpalette RESTful API Server


- Cleanup: Remove the unnecessary "testOperation".
- Path correction: Replace /colors with /unknown to be compatible with
the colorpalette server.
- Change the return type of the '200' response in the "updateColorById"
operation from an array of Color to a single Color object, matching the
server's response.
- Change some property names to match the names on the server.
- Create a "Credentials" object to be used as the schema of Credentials
request body for a better generated code.
- Authentication related changes:
 - Return "TokenResponse" object on succesful register and login
   operations. This allows users to extract and utilize the session
   token for authorized requests such as the "logout" operation in
   UserApi and certain operations in ColorApi.
 - Add "token" apiKey security scheme under "components/securitySchemes/
   token".
 - Require the new token security scheme in the "addColor",
   "deleteColor" and "updateColorById" operations. Add:
        security:
          - token: []

Task-number: QTBUG-134959
Change-Id: Idf7c77b59185da1bc78a1b7f42bc157fb9a832c0
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commit6f865584b7c0a79240338dfc36914ece32562648
parentc994bb118b13e1478a4ac4866336180db92cc497
authorRym Bouabid <rym.bouabid@qt.io>
committerRym Bouabid <rym.bouabid@qt.io>
commit timeWed, 26 Nov 2025 18:28:39 +0100