You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juneau.apache.org by "Steve Blackmon (JIRA)" <ji...@apache.org> on 2018/01/10 23:19:00 UTC

[jira] [Updated] (JUNEAU-78) Is org.apache.juneau.dto.swagger.SchemaInfo missing a $ref field?

     [ https://issues.apache.org/jira/browse/JUNEAU-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Blackmon updated JUNEAU-78:
---------------------------------
    Description: 
According to
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#schema-object
we should be able to set $ref to another jsonschema.

Here's one example
https://github.com/OAI/OpenAPI-Specification/blob/master/examples/v2.0/json/petstore.json#L55

Do we need to add a String ref variable with appropriate serialization rules to preserve the $?

I just notices that using 

> Is org.apache.juneau.dto.swagger.SchemaInfo missing a $ref field?
> -----------------------------------------------------------------
>
>                 Key: JUNEAU-78
>                 URL: https://issues.apache.org/jira/browse/JUNEAU-78
>             Project: Juneau
>          Issue Type: Bug
>            Reporter: Steve Blackmon
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> According to
> https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#schema-object
> we should be able to set $ref to another jsonschema.
> Here's one example
> https://github.com/OAI/OpenAPI-Specification/blob/master/examples/v2.0/json/petstore.json#L55
> Do we need to add a String ref variable with appropriate serialization rules to preserve the $?
> I just notices that using 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)