Skip to content

Commit 3d4e062

Browse files
committed
docs: rename codegen output directory
1 parent 9b65021 commit 3d4e062

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,11 @@ Since version 2.0.0 this client supports general OData models hosted by FROST se
138138

139139
For this purpose the client provides a command line interface for generating a service module containing the URL of the FROST server in use as well as source code for the Python classes corresponding to the data model contained in the server. It is called like this:
140140
```bash
141-
frost-codegen --url http://localhost:8080/FROST-Server/ODATA_4.01 --output-dir my_service_module
141+
frost-codegen --url http://localhost:8080/FROST-Server/ODATA_4.01 --output-dir my_data_model
142142
```
143143
or
144144
```bash
145-
frost-codegen --url http://localhost:8080/FROST-Server/ODATA_4.0 --output-dir my_service_module
145+
frost-codegen --url http://localhost:8080/FROST-Server/ODATA_4.0 --output-dir my_data_model
146146
```
147147
making use of the OData 4.01 or OData 4.0 endpoint of the FROST server, respectively.
148148

@@ -168,7 +168,7 @@ service.create(thing)
168168
Variant II:
169169
```
170170
import frost_sta_client as fsc
171-
import my_model as model
171+
import my_data_model as model
172172
from geojson import Point
173173
174174
odata_url = "http://localhost:8080/FROST-Server/ODATA_4.01"

0 commit comments

Comments
 (0)