Fix contract violation for User resource

When trying to use the io.murano.user resource, you get the error:
io.murano.User.extra['options'] Value {} violates string() contract
because the output is dict, not a string.

This commit changes the contract type to become $ rather than $.string()
which matches what the Project resource has.

Change-Id: If6ef0e2e3750a39aaa022a7b12f4c130a692d691
This commit is contained in:
Andy Botting 2019-01-16 16:04:53 +11:00
parent c43283f67c
commit 241607ebba
1 changed files with 1 additions and 1 deletions

View File

@ -11,4 +11,4 @@ Properties:
Contract: $.string()
extra:
Contract:
$.string().notNull(): $.string()
$.string().notNull(): $