- Start Date: 2015-08-10
- RFC PR: #10
Clarify API description namespace and iron out issues which rose during API Blueprint serialization to API description namespace.
The purpose of this document is to clear inconsistencies in the format and make it easier to build tools around it.
Correct the Data Structure
in API description namespace to the following:
# Data Structure (Element)
+ element: dataStructure (string, fixed)
+ content (Data Structure Element)
Value of content
should be changed to []
instead of null
.
Remove the "reserved" word from the description of scenario
since it can be used as category semantics.
The relation between copy elements in content
and description
in attributes
should be clarified. Unless specified otherwise, a copy element's content represents the description of it's parent element and SHOULD be used instead of parent element's description metadata. Copy Element
should be added to content
of the following elements in API description namespace:
- Category Element
- Resource Element
- Transition Element
- HTTP Transaction Element
- HTTP Message Payload Element
Value of content
should be changed to []
instead of null
.
The content
should be corrected to be an array[Member Element]
.