You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 8, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: Parse Result.md
+11-13Lines changed: 11 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,10 @@ This document describes API Blueprint Serialized Parse Result Media Types – th
5
5
6
6
## Version
7
7
8
-
+**Version**: 2.1
8
+
+**Version**: 2.2
9
9
+**Created**: 2014-06-09
10
-
+**Updated**: 2014-11-27
11
-
+**AST Serialization Media Types**: 3.0
10
+
+**Updated**: 2015-09-07
11
+
+**AST Serialization Media Types**: 4.0
12
12
13
13
---
14
14
@@ -62,33 +62,31 @@ Description of a warning from the parser.
62
62
63
63
## Media Types
64
64
65
-
The base media type for API Blueprint Parsing result is `application/vnd.apiblueprint.parseresult`. A Parse Result with raw Markdown descriptions in API Blueprint AST has the `.raw` suffix whereas version with Markdown descriptions rendered into HTML has the `.html`.
66
-
67
-
The base media type serialization format is specified in the `+<serialization format>` appendix.
65
+
The media type for API Blueprint Parsing result is `application/vnd.apiblueprint.parseresult`. The media type serialization format is specified in the `+<serialization format>` appendix.
68
66
69
67
### Serialization formats
70
68
71
69
Two supported, feature-equal serialization formats are JSON and YAML:
72
70
73
-
+`application/vnd.apiblueprint.parseresult.raw+json` and `application/vnd.apiblueprint.parseresult.html+json`
74
-
+`application/vnd.apiblueprint.parseresult.raw+yaml` and `application/vnd.apiblueprint.parseresult.html+yaml`
71
+
+`application/vnd.apiblueprint.parseresult+json`
72
+
+`application/vnd.apiblueprint.parseresult+yaml`
75
73
76
74
Parser Result Media Types inherit from the respective [AST Serialization Type](README.md):
Copy file name to clipboardExpand all lines: README.md
+51-68Lines changed: 51 additions & 68 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,9 @@ Converting API Blueprint to AST and its serialization is the task of API Bluepri
14
14
If you are looking for a way to describe your Web API without using JSON or YAML see [API Blueprint](https://github.com/apiaryio/api-blueprint).
15
15
16
16
## Version
17
-
+**Version**: 3.0
17
+
+**Version**: 4.0
18
18
+**Created**: 2013-08-30
19
-
+**Updated**: 2015-01-29
19
+
+**Updated**: 2015-09-07
20
20
21
21
## Future Development
22
22
As of version 3.0 the API Blueprint AST is in the *interim* transition period
@@ -204,23 +204,17 @@ A reference object which is used whenever there is a reference to a [Resource Mo
204
204
#### Properties
205
205
+`id` (string) - The identifier (name) of the reference
206
206
207
-
### Data Structure ([Named Type][])
208
-
Definition of an [MSON][] data structure.
209
-
210
-
#### Properties
211
-
-`element`: `dataStructure` (fixed, required)
212
-
213
207
## Media Types
214
-
The `application/vnd.apiblueprint.ast` is the base media type for API Blueprint AST. An API Blueprint AST with raw Markdown descriptions has the `.raw` suffix whereas version with Markdown descriptions rendered into HTML has the `.html` suffix. The base media type serialization format is specified in the `+<serialization format>` appendix.
208
+
The `application/vnd.apiblueprint.ast` is the media type for API Blueprint AST. The media type serialization format is specified in the `+<serialization format>` appendix.
215
209
216
210
### Serialization formats
217
211
Two supported, feature-equal serialization formats are JSON and YAML:
218
212
219
-
+`application/vnd.apiblueprint.ast.raw+json` and `application/vnd.apiblueprint.ast.html+json`
220
-
+`application/vnd.apiblueprint.ast.raw+yaml` and `application/vnd.apiblueprint.ast.html+yaml`
0 commit comments