Skip to content
Snippets Groups Projects
Commit a9310064 authored by Charly Maeder's avatar Charly Maeder
Browse files

Rename defaultValue to default and description to summary

parent b6fd5f36
No related branches found
No related tags found
1 merge request!3Describe repository api
......@@ -5,17 +5,17 @@ import java.util.Map;
public class OpenApiPathItem {
String description;
String summary;
List<String> tags;
List <OpenApiPathItemParameter> parameters;
Map<String,OpenApiResponse> responses;
public String getDescription() {
return description;
public String getSummary() {
return summary;
}
public void setDescription(String description) {
this.description = description;
public void setSummary(String summary) {
this.summary = summary;
}
public List<OpenApiPathItemParameter> getParameters() {
......
package com.smartharvester.model.openapi;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.springframework.data.mongodb.core.mapping.Field;
public class OpenApiSchema {
......@@ -16,6 +18,7 @@ public class OpenApiSchema {
this.type = type;
}
@JsonProperty("default")
public String getDefaultValue() {
return defaultValue;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment