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
Copy file name to clipboardExpand all lines: readme.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,11 +47,11 @@ Notes:
47
47
48
48
### Parsing a text content
49
49
50
-
This endpoints creates a task to parse the content. It does not wait for the parsing result. Instead iut returns the location of the endpoint to query for the parsing result.
50
+
This endpoint creates a task to parse the content. It does not wait for the parsing result. Instead it returns the location of the endpoint to query for the parsing result.
51
51
52
-
The `x-api-vendor` is required and it describes API vendor. It is one of the API vendors supported by the AMF parser: `RAML 0.8`, `RAML 1.0`, `OAS 2.0`, `OAS 3.0`, `AMF Graph`, `JSON Schema`,`ASYNC 2.0`.
52
+
The `x-api-vendor` is required and it is the API vendor to use. It is one of the API vendors supported by the AMF parser: `RAML 0.8`, `RAML 1.0`, `OAS 2.0`, `OAS 3.0`, and`ASYNC 2.0`.
53
53
54
-
The content type is optional and is ignored.
54
+
The content type is optional and is ignored by the server. However, it is a good practice to keep it and set the correct value.
55
55
56
56
#### Plain text request
57
57
@@ -91,11 +91,11 @@ Keep-Alive: timeout=5
91
91
92
92
### Parsing an API project in a zip file
93
93
94
-
To parse an entire project with multiple files send the zip file as the request body.
94
+
To parse an entire API project with multiple files send a zip file in the request body.
95
95
96
-
You can set optional `x-entrypoint` header with the name of the API's main file (the entry point). When the header is not set then the server application tries to determine the best candidate using some heuristics.
96
+
You can set an optional `x-entrypoint` header with the name of the API's main file (the entry point). When the header is not set then the server application tries to determine the best candidate using some built-in heuristics.
97
97
98
-
When multiple entrypoints are found in the project then the job status endpoint returns the list of files and the client should pick one (probably involving the user). After the pick is ready the client sends the PUT request to the job status endpoint (see below).
98
+
When multiple entrypoints are found in the project then the job status endpoint returns the list of files with the 300 status code. The client should pick one (probably involving the user). After the pick is ready the client sends the PUT request to the job status endpoint (see below).
99
99
100
100
When a single endpoint is found in the API project then it is used automatically as the entrypoint. When no files are found then the process ends with an error.
0 commit comments