{%- include 'blocks/head.html.twig' with { title: pageTitle, cssFolderPath: cssFolderPath } %}
{{ pageTitle }}
{%- include 'blocks/main-menu.html.twig' with { mainMenu: mainMenu } %}
{%- include 'blocks/header.html.twig' with { imagesFolderPath: imagesFolderPath, methodsPath: methodsPath, relativeToRootPath: relativeToRootPath } %}

Содержание

  1. Общие принципы построения API

    1. {%- include 'blocks/main-concepts.html.twig' with { responseClass: responseClass, useAnchors: true } %}
  2. {% if versioningEnabled %}
  3. Версионирование API

    1. {%- include 'blocks/versioning-info.html.twig' with { errorType: errorType, errorsPagePath: errorsPagePath } %}
  4. {% endif %} {% if methodGroups is not null %}
  5. Методы

      {% for methodGroup in methodGroups %}
    1. {{ methodGroup.title }}

      {% if methodGroup.description is not null %}

      {{ methodGroup.description }}

      {% endif %} {% if methodGroup.baseUrl is not empty %}

      BaseUrl: {{ methodGroup.baseUrl }}

      {% endif %}
        {% for method in methodGroup.methods %}
      1. {%- include 'blocks/method-body.html.twig' with { method: method, objectsLinks: objectsLinks, showSandbox: false, useAnchors: true } %}
      2. {% endfor %}
    2. {% endfor %}
  6. {% endif %} {% if classes is not null %}
  7. Классы

      {% for class in classes %}
    1. {%- include 'blocks/class-body.html.twig' with { structure: class, objectsLinks: objectsLinks, useAnchors: true } %}
    2. {% endfor %}
  8. {% endif %} {% if enums is not null %}
  9. Перечисления

      {% for enum in enums %}
    1. {%- include 'blocks/enum-body.html.twig' with { structure: enum, objectsLinks: objectsLinks, useAnchors: true } %}
    2. {% endfor %}
  10. {% endif %}
{%- include 'blocks/scripts.html.twig' with { jsFolderPath: jsFolderPath } %}