Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Sterchi Daniel committed Jul 17, 2024
1 parent 2e65e2c commit 22e0ed3
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 282 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ public static String createValidationExpression(
}

/**
* TODO BUG this method does not respect optional/required properties
* Create validation expression using functions according to schema type and format.
*
* @param schema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@ public void getPetById() {
.get("/pet/1001")
.queryParam("verbose", "true")
.message()
// TODO BUG? - cannot check correlationId
// see: org/citrusframework/validation/DefaultMessageHeaderValidator.java:68
// see: org.citrusframework.message.MessageHeaderUtils.isSpringInternalHeader
.header("correlationIds", "1234abcd")
.accept("@contains('application/json')@")
);
Expand Down Expand Up @@ -109,10 +106,6 @@ public void getPetById_requiredParamsShouldBeGeneratedIfNotProvided() {
.receive()
.get("@matches('/pet/\\d+')@")
.message()
// TODO BUG? - cannot check correlationId
// see: org/citrusframework/validation/DefaultMessageHeaderValidator.java:68
// see: org.citrusframework.message.MessageHeaderUtils.isSpringInternalHeader
// .header("correlationId", "@matches('\\w+')@")
);

variable("petId", "1001");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,62 +267,6 @@ public void preprocessOpenAPI(OpenAPI openAPI) {
}
}

public void setApiPrefix(String apiPrefix) {
this.apiPrefix = apiPrefix;
}

public String getHttpClient() {
return httpClient;
}

public void setHttpClient(String httpClient) {
this.httpClient = httpClient;
}

public String getHttpPathPrefix() {
return httpPathPrefix;
}

public void setHttpPathPrefix(String httpPathPrefix) {
this.httpPathPrefix = httpPathPrefix;
}

public String getOpenapiSchema() {
return openapiSchema;
}

public void setOpenapiSchema(String openapiSchema) {
this.openapiSchema = openapiSchema;
}

public String getResourceFolder() {
return resourceFolder;
}

public void setResourceFolder(String resourceFolder) {
this.resourceFolder = resourceFolder;
}

public String getGeneratedSchemaFolder() {
return generatedSchemaFolder;
}

public void setGeneratedSchemaFolder(String generatedSchemaFolder) {
this.generatedSchemaFolder = generatedSchemaFolder;
}

public String getTargetXmlnsNamespace() {
return targetXmlnsNamespace;
}

public void setTargetXmlnsNamespace(String targetXmlnsNamespace) {
this.targetXmlnsNamespace = targetXmlnsNamespace;
}

public String getApiPrefix() {
return apiPrefix;
}

private void addRestSupportingFiles(final String citrusFolder, String schemaFolder) {
supportingFiles.add(new SupportingFile("schema.mustache", schemaFolder,
apiPrefix.toLowerCase() + "-api.xsd"));
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 22e0ed3

Please sign in to comment.