Skip to content

Commit b5e8cdb

Browse files
committed
[doc] Fix typos
Signed-off-by: Axel RICHARD <axel.richard@obeo.fr>
1 parent ce2df17 commit b5e8cdb

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

doc/content/modules/developer-guide/partials/download_sysml_file_recipe.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ include::example$download_sysml_file.py[]
4848
* `document_id`: The UUID of the document to download.
4949
* `output_path`: The local path of the `.sysml` file to create.
5050
51-
<4> *Sends a `GET` request* to `/api/editingcontexts/{editingContextId}/documents/{documentId}` with the `Accept: text/html` header so the server returns the textual SysML export.
51+
<4> *Sends a `GET` request* to `/api/editingcontexts/\{editingContextId\}/documents/\{documentId\}` with the `Accept: text/html` header so the server returns the textual SysML export.
5252

5353
<5> *Streams the response body* into the output file so large models do not need to be buffered entirely in memory.
5454

doc/content/modules/developer-guide/partials/retrieve_project_documents_recipe.adoc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ include::example$retrieve_project_documents.py[]
4040
* `url`: The {product} server URL.
4141
* `project_id`: The UUID of the project whose documents should be retrieved.
4242
43-
<3> *Sends a `GET` request* to `/api/projects/{projectId}` so the server returns the project archive as a ZIP file.
43+
<3> *Sends a `GET` request* to `/api/projects/\{projectId\}` so the server returns the project archive as a ZIP file.
4444

4545
<4> *Reads the `manifest.json` file* from the downloaded archive and extracts the `documentIdsToName` mapping.
4646

@@ -68,5 +68,3 @@ Document Name: Requirements.sysml, Document ID: 7f4b9d33-0f4d-4b79-a6f8-8bc12edb
6868

6969
Then you can reuse the retrieved document ids in recipes such as xref:developer-guide:api/api-cookbook.adoc#download_sysml_file[download a SysML file].
7070

71-
include::developer-guide:partial$download_sysml_file_recipe.adoc[leveloffset=+2]
72-

0 commit comments

Comments
 (0)