gojson icon indicating copy to clipboard operation
gojson copied to clipboard

Is there a way to compile ref schema into struct as well?

Open l1990790120 opened this issue 7 years ago • 2 comments

As title, seems like it'll only create a Ref field currently.

l1990790120 avatar Jan 26 '18 16:01 l1990790120

I'm not sure I understand. Could you give an example of the input/output pair you have in mind?

ChimeraCoder avatar Jan 29 '18 02:01 ChimeraCoder

For example, can it pick up local reference file and append the ref json schema in the file to the struct as well?

"ref_object": {
      "$ref": "file:some_ref_schema.json"
    },

l1990790120 avatar Jan 29 '18 16:01 l1990790120