joethaw
joethaw
``` var mongoose = require('mongoose'), Schema = mongoose.Schema; var ASchema = new Schema({ detail: { name: {type: String, required: 'Required field "{PATH}" is missing'}, optionalChild: { requiredField: {type: String, required:...
I want to supply the text values for `@ApiOperation`, `@ApiResponse`, `@ApiParam`, `@ApiModelProperty` from an external resource file, instead of hardcoding. For example, say I have a file swaggerDocs.xml ``` xml...
I have an `enum` defined as follows: ``` java package com.my.restapi; public class Common { public enum Roles { User, Admin } } ``` In `SwaggerConfig.java`, I want to define...