Click "Create with Samples". The "apiarist" directory will be created and the content will be displayed as follows:
In the "apiarist" directory, you can find a file called "routes.yaml":
apiarist_version: 1 - this will help to render content correctly in the future when we have versions 2, 3, etc
title: Selector - you can write any title here
routes - here you can add your routes
name - any name
id - specify the path to the .yaml file here. For example example/create_message_as_seller
children - here you can add child elements
Next open example/create_message_as_seller.yaml
apiarist_version: 1 - the same as in the previous file
viewer - List of elements to render
call - ClassName.functionName which you want to display. If you don't have a class, just the name of the function. For different languages, the call may be different. E.g. for java it's ClassName.functionName(Type). You can figure this out in the 'Outline' tab of the vscode explorer:
In case of js the call should be Buyer.example1
regexp - instead of call you can specify a regexp. This can be useful for legacy code where you have very long functions with a lot of logic inside