public class PathsProcessor extends Object
| Constructor and Description |
|---|
PathsProcessor(ResolverCache cache,
io.swagger.v3.oas.models.OpenAPI openAPI) |
PathsProcessor(ResolverCache cache,
io.swagger.v3.oas.models.OpenAPI openAPI,
OpenAPIResolver.Settings settings) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
computeLocalRef(String ref,
String prefix) |
protected String |
computeRef(String ref,
String prefix) |
protected String |
computeRelativeRef(String ref,
String prefix) |
protected boolean |
isAbsoluteRef(String ref) |
protected boolean |
isLocalRef(String ref) |
void |
processPaths() |
io.swagger.v3.oas.models.PathItem |
processReferencePath(io.swagger.v3.oas.models.PathItem pathItem) |
protected void |
updateRefs(io.swagger.v3.oas.models.responses.ApiResponse response,
String pathRef) |
protected void |
updateRefs(io.swagger.v3.oas.models.examples.Example example,
String pathRef) |
protected void |
updateRefs(io.swagger.v3.oas.models.parameters.Parameter param,
String pathRef) |
protected void |
updateRefs(io.swagger.v3.oas.models.PathItem path,
String pathRef) |
protected void |
updateRefs(io.swagger.v3.oas.models.parameters.RequestBody body,
String pathRef) |
protected void |
updateRefs(io.swagger.v3.oas.models.media.Schema model,
String pathRef) |
public PathsProcessor(ResolverCache cache, io.swagger.v3.oas.models.OpenAPI openAPI)
public PathsProcessor(ResolverCache cache, io.swagger.v3.oas.models.OpenAPI openAPI, OpenAPIResolver.Settings settings)
public void processPaths()
protected void updateRefs(io.swagger.v3.oas.models.PathItem path,
String pathRef)
protected void updateRefs(io.swagger.v3.oas.models.responses.ApiResponse response,
String pathRef)
protected void updateRefs(io.swagger.v3.oas.models.examples.Example example,
String pathRef)
protected void updateRefs(io.swagger.v3.oas.models.parameters.Parameter param,
String pathRef)
protected void updateRefs(io.swagger.v3.oas.models.parameters.RequestBody body,
String pathRef)
protected void updateRefs(io.swagger.v3.oas.models.media.Schema model,
String pathRef)
protected boolean isLocalRef(String ref)
protected boolean isAbsoluteRef(String ref)
public io.swagger.v3.oas.models.PathItem processReferencePath(io.swagger.v3.oas.models.PathItem pathItem)
Copyright © 2021. All rights reserved.