Announcements
The Google Cloud Community will be in read-only from July 16 - July 22 as we migrate to a new platform; refer to this community post for more details.
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 710
2 REPLIES 2

anilsr
Former Googler

@jonas.butt, Welcome to Apigee Community ๐Ÿ™‚

As far as I know, SmartDocs currently doesn't display static response. Response can be seen once API call is made using "Send This Request" button.

Yes, I agree it's a great feature to have & show sample response in SmartDocs. We will let out team know about this.

1335-screen-shot-2015-10-15-at-100127-am.png

Not applicable

Upvoting this feature request ๐Ÿ™‚