Update object-inheritance.md

This commit is contained in:
Robert Wallach
2018-03-19 18:22:16 -05:00
committed by GitHub
parent d0d4119a57
commit a7e86b8d2b

View File

@@ -5,7 +5,7 @@
* A **model** contains properties that can be reused and referenced by endpoint
definitions, shared objects, and other models. For more information on what
models are and how they can be used, please see the API model overview
[here](./api-models.md).
[here](/modeling/modeling-with-openapi/api-models).
* **Inheritance** is when a model derives its properties from another model.
@@ -32,8 +32,6 @@
## Best Practices
<!-- theme: info -->
> Avoid using contradictory declarations such as declaring properties with the
> same name but dissimilar data type in your base model and derived model.