x-codeSamples extension to add code samples to your OpenAPI document. Mintlify displays the samples on your OpenAPI pages.
Add this property to any request method. It has the following schema.
string
required
The language of the code sample.
string
The label for the sample. This is useful when providing multiple examples for a single endpoint.
string
required
The source code of the sample.