Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide csv param #1279

Merged
merged 5 commits into from
Feb 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -34,6 +34,8 @@ RELEASING:
-->

## [Unreleased]
### Fixed
- visibility of csv_factor and csv_column API parameters ([PR #1279](https://github.com/GIScience/openrouteservice/pull/1279))

## [6.8.1] - 2023-02-08
### Added
Original file line number Diff line number Diff line change
@@ -52,13 +52,13 @@ public class RequestProfileParamsWeightings {
@JsonIgnore
private boolean hasQuietIndex = false;

@ApiModelProperty(name = PARAM_CSV_FACTOR, value="Specifies the factor of csv-column (range 0 to 1)")
@ApiModelProperty(name = PARAM_CSV_FACTOR, value="Specifies the factor of csv-column (range 0 to 1)", hidden = true)
@JsonProperty(PARAM_CSV_FACTOR)
private Float csvFactor;

@ApiModelProperty(name = PARAM_CSV_COLUMN, value="Specifies the csv column name")
@ApiModelProperty(name = PARAM_CSV_COLUMN, value="Specifies the csv column name", hidden = true)
@JsonProperty(PARAM_CSV_COLUMN)
private String csvColumnName;
private String csvColumn;
@JsonIgnore
private boolean hasCsv = false;

@@ -103,10 +103,10 @@ public void setCsvFactor(Float csvFactor) {
hasCsv = true;
}

public String getCsvColumn() { return csvColumnName; }
public String getCsvColumn() { return csvColumn; }

public void setCsvColumn(String csvColumnName) {
this.csvColumnName = csvColumnName;
this.csvColumn = csvColumnName;
}

public Float getShadowIndex() {