Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions tools/apis/cds-import.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ It accepts a list of namespaces whose attributes are to be retained in the CSN /

<br>

## cds.import.from.edmx() {.method #from-edmx}
## cds.import.from.edmx() {.method}
###### from-edmx

This API can be used to convert the OData specification file (EDMX / XML) into CSN.
The API signature looks like this:
Expand All @@ -58,7 +59,8 @@ const csn = await cds.import.from.edmx(ODATA_EDMX_file, options)

<br>

## cds.import.from.openapi() {.method #from-openapi}
## cds.import.from.openapi() {.method}
###### from-openapi

This API can be used to convert the OpenAPI specification file (JSON) into CSN.
The API signature looks like this:
Expand All @@ -69,7 +71,8 @@ const csn = await cds.import.from.openapi(OpenAPI_JSON_file)

[Learn more about OpenAPI to OData Mapping.](#openapi-to-cds-odata-csn-conversion-mapping){.learn-more}

## cds.import.from.asyncapi() {.method #from-asyncapi}
## cds.import.from.asyncapi() {.method}
###### from-asyncapi

This API can be used to convert the AsyncAPI specification file (JSON) into CSN.
The API signature looks like this:
Expand Down
Loading