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.
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
Is anyone able to replicate this issue/could solve this?
Answer by marshg@google.com · Feb 19, 2019 at 05:09 PM
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.
permissions/code where ability is given to download yaml file of api by app developer 1 Answer
Samples or videos for developer portal customization 4 Answers
How do I modify .hbr template and CSS files for SmartDocs? 2 Answers
Configure blocks that are not in the blocks overview page 2 Answers
Changing the email notification address in Edge Developer Portal 1 Answer