Package | Description |
---|---|
org.cornutum.tcases.openapi | |
org.cornutum.tcases.openapi.io | |
org.cornutum.tcases.openapi.test | |
org.cornutum.tcases.openapi.testwriter |
Modifier and Type | Method and Description |
---|---|
static ResponsesDef |
OpenApiUtils.responsesDef(io.swagger.v3.oas.models.OpenAPI api)
Returns the responses definition defined for the given API.
|
Modifier and Type | Method and Description |
---|---|
static ResponsesDef |
TcasesOpenApiIO.getResponsesDef(File api)
Returns a
request responses definition for the given OpenAPI definition. |
static ResponsesDef |
TcasesOpenApiIO.getResponsesDef(File api,
String docType)
Returns a
request responses definition for the given OpenAPI definition. |
static ResponsesDef |
TcasesOpenApiIO.getResponsesDef(InputStream api)
Returns a
request responses definition for the given OpenAPI definition. |
static ResponsesDef |
TcasesOpenApiIO.getResponsesDef(InputStream api,
String docType)
Returns a
request responses definition for the given OpenAPI definition. |
Modifier and Type | Method and Description |
---|---|
ResponsesDef |
ResponsesDef.forOps(Collection<String> ops)
Returns a view of this ResponseDef that includes only the given API request operations.
|
ResponsesDef |
ResponsesDef.forOps(String... ops)
Returns a view of this ResponseDef that includes only the given API request operations.
|
ResponsesDef |
ResponsesDef.forPaths(Collection<String> paths)
Returns a view of this ResponseDef that includes only the given API request paths.
|
ResponsesDef |
ResponsesDef.forPaths(String... paths)
Returns a view of this ResponseDef that includes only the given API request paths.
|
static ResponsesDef |
ResponsesDef.read(Reader reader)
Reads a JSON representation of response definitions from the given input stream.
|
Modifier and Type | Method and Description |
---|---|
static void |
ResponsesDef.write(ResponsesDef responses,
Writer writer)
Writes a JSON representation of response definitions to the given output stream.
|
Modifier and Type | Method and Description |
---|---|
ResponsesDef |
TestSource.getResponses()
Returns the request response definitions for this source.
|
Modifier and Type | Method and Description |
---|---|
TestSource.Builder |
TestSource.Builder.responses(ResponsesDef responses) |
void |
TestSource.setResponses(ResponsesDef responses)
Changes the request response definitions for this source.
|
protected void |
TestWriter.writeResponsesDef(ResponsesDef responses,
File targetFile,
File resourceDir)
Writes the given responses definitions to a resource file associated with the test target file.
|
Copyright © 2024 The Cornutum Project. All rights reserved.