- private String apiVersion;
- private String swaggerVersion;
- private String basePath;
- private String resourcePath;
- private List<String> produces;
- private List<Api> apis;
- private JSONObject models;
-
- public JSONObject getModels() {
- return models;
- }
-
- public void setModels(JSONObject models) {
- this.models = models;
- }
-
- public String getApiVersion() {
- return apiVersion;
- }
-
- public void setApiVersion(String apiVersion) {
- this.apiVersion = apiVersion;
- }
-
- public String getSwaggerVersion() {
- return swaggerVersion;
- }
-
- public void setSwaggerVersion(String swaggerVersion) {
- this.swaggerVersion = swaggerVersion;
- }
-
- public String getBasePath() {
- return basePath;
- }
-
- public void setBasePath(String basePath) {
- this.basePath = basePath;
- }
-
- public String getResourcePath() {
- return resourcePath;
- }
-
- public void setResourcePath(String resourcePath) {
- this.resourcePath = resourcePath;
- }
-
- public List<String> getProduces() {
- return produces;
- }
-
- public void setProduces(List<String> produces) {
- this.produces = produces;
- }
-
- public List<Api> getApis() {
- return apis;
- }
-
- public void setApis(List<Api> apis) {
- this.apis = apis;
- }
-
- public boolean hasApi(){
- return (apis != null && !apis.isEmpty());
- }
-
- public boolean hasModel(){
- return (models != null && models.length() > 0);
- }
+ private String apiVersion;
+ private String swaggerVersion;
+ private String basePath;
+ private String resourcePath;
+ private List<String> produces;
+ private List<Api> apis;
+ private JSONObject models;
+
+ public JSONObject getModels() {
+ return models;
+ }
+
+ public void setModels(JSONObject models) {
+ this.models = models;
+ }
+
+ public String getApiVersion() {
+ return apiVersion;
+ }
+
+ public void setApiVersion(String apiVersion) {
+ this.apiVersion = apiVersion;
+ }
+
+ public String getSwaggerVersion() {
+ return swaggerVersion;
+ }
+
+ public void setSwaggerVersion(String swaggerVersion) {
+ this.swaggerVersion = swaggerVersion;
+ }
+
+ public String getBasePath() {
+ return basePath;
+ }
+
+ public void setBasePath(String basePath) {
+ this.basePath = basePath;
+ }
+
+ public String getResourcePath() {
+ return resourcePath;
+ }
+
+ public void setResourcePath(String resourcePath) {
+ this.resourcePath = resourcePath;
+ }
+
+ public List<String> getProduces() {
+ return produces;
+ }
+
+ public void setProduces(List<String> produces) {
+ this.produces = produces;
+ }
+
+ public List<Api> getApis() {
+ return apis;
+ }
+
+ public void setApis(List<Api> apis) {
+ this.apis = apis;
+ }
+
+ public boolean hasApi() {
+ return (apis != null && !apis.isEmpty());
+ }
+
+ public boolean hasModel() {
+ return (models != null && models.length() > 0);
+ }