Skip to content

Commit

Permalink
fixes OAS 3.1 dereferencing
Browse files Browse the repository at this point in the history
  • Loading branch information
frantuma committed Oct 28, 2024
1 parent 3f51a62 commit d85f0fd
Show file tree
Hide file tree
Showing 5 changed files with 743 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public class DereferencerContext {
protected SwaggerParseResult swaggerParseResult;
protected boolean addParametersToEachOperation = true;
protected String currentUri;
protected Map<String, String> idsCache = new LinkedHashMap<>();

private Map<String, Reference> referenceSet = new LinkedHashMap<>();

Expand Down Expand Up @@ -115,6 +116,19 @@ public DereferencerContext referenceSet(Map<String, Reference> referenceSet) {
return this;
}

public Map<String, String> getIdsCache() {
return idsCache;
}

public void setIdsCache(Map<String, String> idsCache) {
this.idsCache = idsCache;
}

public DereferencerContext idsCache(Map<String, String> idsCache) {
this.idsCache = idsCache;
return this;
}

public DereferencerContext rootUri(String rootUri) {
this.rootUri = rootUri;
return this;
Expand Down
Loading

0 comments on commit d85f0fd

Please sign in to comment.