# x-codeSamples Variations API

Version: `1.0.0`

Exercises every supported shape of the `x-codeSamples` vendor extension
so each path can be inspected in isolation in the demo.

Tracks:
  - https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/issues/1204
  - https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/issues/1036

## Operations

- [Control — no x-codeSamples](/tests/control-no-x-code-samples.md): `GET /no-samples`
- [Single sample, no label](/tests/single-sample-no-label.md): `GET /single-sample-no-label`
- [Single sample, with label](/tests/single-sample-with-label.md): `GET /single-sample-with-label`
- [Multiple samples per language with distinct labels (#1204)](/tests/multiple-samples-per-language-with-distinct-labels-1204.md): `POST /multiple-samples-with-labels`
- [Multiple samples per language, no labels](/tests/multiple-samples-per-language-no-labels.md): `POST /multiple-samples-no-labels`
- [Duplicate lang+label (defensive collision suffix)](/tests/duplicate-lang-label-defensive-collision-suffix.md): `POST /duplicate-label-collision`
- [Mixed languages, some with multiple samples](/tests/mixed-languages-some-with-multiple-samples.md): `POST /mixed-languages`
- [Sample for a language not in languageTabs](/tests/sample-for-a-language-not-in-language-tabs.md): `GET /unmatched-language`
