Add mediaType
attribute to Reference Object
#31
Labels
🏁 Accepted (RFC 3)
RFC Stage 3 (See CONTRIBUTING.md)
👻 Needs Champion
RFC Needs a champion to progress (See CONTRIBUTING.md)
📙 RFC
Milestone
Add
mediaType
attribute toReference Object
Champion: @andrea-gioia
Summary
Add
mediaType
attribute toReference Object
Motivation
We need the
mediaType
attribute to referentiating external resources with an encoding different from the one of the root entity of the descriptor fileDesign and examples
string
description
field, then this field has no effect.string
string:uri-reference
Alternatives
Add
mediaType
attribute toReference Object
and at the same time removeExternal Reference Object
.Reference Object
can then be used to resolve all the references, internal end external as well.Decision
We decided to add
mediaType
attribute toReference Object
and keepExternal Reference Object
to differentiate clearly internal references that should be evaluated by external tools from external references that can be ignored.Consequences
NA
References
NA
The text was updated successfully, but these errors were encountered: