You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "David Griffon (Jira)" <ji...@apache.org> on 2022/05/12 13:55:00 UTC

[jira] [Created] (UNOMI-570) Update the add schema "schema"

David Griffon created UNOMI-570:
-----------------------------------

             Summary: Update the add schema "schema"
                 Key: UNOMI-570
                 URL: https://issues.apache.org/jira/browse/UNOMI-570
             Project: Apache Unomi
          Issue Type: Improvement
            Reporter: David Griffon
             Fix For: 2.0.0


When creating a new schema using the outcome of this ticket: https://jira.jahia.org/browse/DMF-5268

We're submitting the schema directly at a payload, instead we should be submitting a JSON object using this format

Going from:
{code:java}
THE_SCHEMA
{code}

To: 
{code:java}
{
  "schema": THE_SCHEMA
}
{code}

The goal is to change the signature of the endpoint to accept JSON that will be mapped to JSONSchemaWrapper (Unomi Item) 




--
This message was sent by Atlassian Jira
(v8.20.7#820007)