chore: move and extend AsyncAPI docs - #2819
Open
swaldmann wants to merge 7 commits into
Open
Conversation
1 task
swaldmann
commented
Aug 13, 2026
| [Learn more about OpenAPI to OData Mapping.](#openapi-to-cds-odata-csn-conversion-mapping){.learn-more} | ||
|
|
||
| ## cds.import.from.asyncapi() {.method} | ||
| ## cds.import.from.asyncapi() {.method #from-asyncapi} |
Contributor
Author
There was a problem hiding this comment.
reads nicer: cap.cloud.sap/docs/tools/apis/cds-import#from-asyncapi
daogrady
reviewed
Aug 14, 2026
| Use `cds import` to convert an AsyncAPI document into a CDS service definition: | ||
|
|
||
| ```sh | ||
| cds import --asyncapi ~/Downloads/BookStore_AsyncAPI.json |
Contributor
There was a problem hiding this comment.
this made me realise that we have this weird pairing of cds compile + cds import to do one roundtrip, whereas cds export is also a thing. :/
daogrady
approved these changes
Aug 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cds import --asyncapiusagecds.import.from.asyncapiguide in design time CLIs (tbd if we should move this to central AsyncAPI guide)cds.compile.to.asyncapidocumentation to AsyncAPI guide.cdssamples