API Reference Settings

Along with code generation, each API Reference includes a set of configurable settings that you can manage. To access these settings, simply click on the Settings icon located in the sidebar under the Reference section.

Allow Download

The "Allow Download" setting enables users to download the API Reference conveniently by displaying a button at the top of the page. This feature enhances accessibility, allowing users to easily obtain and reference the documentation offline.

Show Try It Out

Enables API Playground, allowing you to seamlessly test APIs directly from the API Reference.

Show Content-Type Header

For operations that require a request body in OAS3 (OpenAPI Specification 3.0), enabling this option will automatically display a header in the example that specifies the content type. For instance:

Bash
Copy

Show Accept Header

For operations exclusive to OAS3, enabling this option will display a header in the example that specifies the accepted response media type. For instance:

Bash
Copy

Allow Tags to be Expand

If your API Reference contains a large number of items, loading them all at once may result in slower performance. To enhance efficiency, you can enable the option to allow tags to expand. By activating this feature, you can seamlessly load an API Reference of any size without experiencing any performance degradation. This optimization allows for a smoother and more responsive user experience.

When tags are permitted to expand, the corresponding tag will be displayed along with its description. Additionally, a comprehensive table listing all operations available under this tag will be presented. A button labeled "Show" will also appear, allowing users to reveal the operations conveniently.

Allow Index to Collapse

When this option is enabled, the tags in the index become collapsible, allowing for a more organized and streamlined view.

Auto-Capitalize Tags

When this option is enabled (default setting), tags will automatically be capitalized, ensuring that the first letter of each word is in uppercase.

Show Request Example Code Samples

When checked by default, it enables the option for users to select a code library and view a corresponding code sample. However, when unchecked, the interface will only display an example URL or request body, limiting the ability to explore code samples in various libraries.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated