Unable to view schema model in Developer Portal

hadleena
Participant III

I have created a spec which has schema definitions and extensions of existing schema as well.

I have used the "allOf" property to extend the existing schema.

I am able to see the schema model through swagger editor but the same when uploaded (in .yml format) in developer portal does not render properly.

8165-swaggereditor.jpg

8166-portal.jpg

PFB spec snippet:

definitions:
    
  Address:
    type: object
    properties:
      id:
        description: Unique identifier of the address
        type: string
      href:
        description: An URI used to access to the address resource
        type: string
     ...
     ...
    
  GeographicAddress:
    allOf: 
      - $ref: '#/definitions/Address'
      - type: object
        properties:
            Country:
                description: The country for the address
                type: string
0 3 270
3 REPLIES 3

hadleena
Participant III

Is anyone able to replicate this issue/could solve this?

Thanks for the question. Today there isn't support for allOf, but this is a story we're tracking in our backlog.

Thanks for confirming. Do let us know once this is available, as it would be of use in creating and rendering our specs.