Dillon Redding

Results 19 comments of Dillon Redding

I think this behavior is fine for local circular references. The issue is when there's a local circular reference in an externally referenced document. As seen in my example, the...

Reading back over the example I gave, I preemptively resolved the reference in `foo.yaml`. That should be: ```yaml Foo: type: object properties: bar: $ref: bar.yaml#/Bar ```

Just curious, is there an ETA on this?

Not quite. Here's what I get: foo.yaml: ```yaml Foo: type: object properties: bar: $ref: 'bar.yaml#/Bar' ``` bar.yaml: ```yaml Bar: type: object properties: foo: $ref: '#/Bar' ``` Command: ```sh json-refs resolve...

Yeah, what I'm asking for _might_ be pretty specific. Specifically, I'm wanting to remove the references outside the file and have it be completely self-contained. I have no issues with...

On a related note, for [invoking control elements](https://github.com/JornWildt/Mason/blob/master/Documentation/Mason-draft-2.md#invoking-control-elements), merging the `template` and the arguments object (step 4) happens _after_ URI templates are expanded (step 2). Does this mean templates can't...

One thing I noticed with Mason is a lack of specifying the link relation type for embedded resources. That's where something like this would come in handy. However, when it...

I'm reading it from a file. I tried removing any intermediary processing with the following example, but still get the same result. var resource = this.getClass().getResource("/api-spec.yaml"); var file = new...

I get the same parsing as a string var resource = this.getClass().getResource("/api-spec.yaml"); val contents = Files.readString(Paths.get(resource.toURI())); var model = new OpenApi3Parser().parse(contents); // ... a URI var resource = this.getClass().getResource("/api-spec.yaml"); var...

This issue appears to be in `Overlay#getReference(String)`: public Reference getReference(String key) { if (overlay instanceof PropertiesOverlay) { return getPropertyReference(key); } else if (overlay instanceof MapOverlay) { return getMapReference(key); } else...