Update object-inheritance.md
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user