Skip to content
Snippets Groups Projects

Event feature completed

Merged Jorge Echevarria Uribarri requested to merge develop into main
2 files
+ 3
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -337,9 +337,10 @@ This schema could be obtained by applying this code.
import opencapif_sdk
translator = opencapif_sdk.api_schema_translator("./path/to/openapi.yaml")
translator.build("api_description_name",ip="0.0.0.0",port=9090)
translator.build("api_description_name",ip="0.0.0.0",port=9090,supported_features="0",api_supp_features="0")
```
This code will read `openapi.yaml`, ensure the structure of it and translate the content into ServiceAPIDescription schema, then will create a .json named `api_description_name`. Also it is necessary to fill the ip and port fields to create correctly the schema.
The supported_features and api_supp_features fields corresponds to the capabilities of the provider and the service that the user is sharing.
### CAPIF Registration and Login
Loading