Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Response model definition ignored when importing Swagger 2.0 document

Not applicable

In our Swagger 2.0 document our response model is documented in the response definition like this:

"responses": {
    "200": {
        "description": "OK",
        "schema": {
            "$ref": "#/definitions/MyResponseModel"
        }
    }

[...]

"definitions": {
    "MyResponseModel": {
        "description": "Some model description here.",
        "type": "object",
        "properties": {
            "firstProperty": {
                "format": "date-time",
                "description": "Some property description here.",
                "type": "string"
            },

Is this supported by SmartDocs? If so, any thoughts on why this could be ignored during import?

Thanks!

6 2 705
2 REPLIES 2