com.smartbear.swagger4j
Interface ErrorResponse

All Known Implementing Classes:
ErrorResponseImpl

public interface ErrorResponse

Holds a Swagger Error Responses that can be defined for an API Operation - see https://github.com/wordnik/swagger-core/wiki/Errors


Method Summary
 int getCode()
           
 String getReason()
           
 void setCode(int code)
           
 void setReason(String reason)
           
 

Method Detail

getCode

int getCode()

setCode

void setCode(int code)

getReason

String getReason()

setReason

void setReason(String reason)


Copyright © 2013. All Rights Reserved.