Skip to content

Missing Introduction, API Categories, and Operations in RapiDoc Rendering #1140

@preetikas2511

Description

@preetikas2511

When rendering with RapiDoc, the expected sections are not appearing. Specifically:

The word “Introduction” is missing.

The API Categories section is not displayed.

The API Operations section is also not visible.

My rapidoc code snippet:-


I have tried with the spec from Rapidoc pet store and also the below spec:-
The spec I am using:-
openapi: 3.0.0
info:
title: IncidentTest
version: 1.0.0
description: |
Welcome to the Sample API.
This API allows developers to manage resources and integrate with our platform.
It provides endpoints for authentication, data retrieval, and updates.

servers:

paths:
/pets:
get:
tags:
- Animals
summary: List all pets
description: Returns all pets currently available in the system.
x-code-samples:
- lang: curl
source: |
curl -X GET "https://api.example.com/v1/pets" -H "accept: application/json"
- lang: Python
source: |
import requests
r = requests.get("https://api.example.com/v1/pets")
print(r.json())
- lang: JavaScript
source: |
fetch("https://api.example.com/v1/pets")
.then(res => res.json())
.then(data => console.log(data));
responses:
'200':
description: A list of pets.
content:
application/json:
schema:
type: array
items:
type: string

/users:
post:
tags:
- Pets
summary: Create a new user
description: Registers a new user in the system.
x-code-samples:
- lang: curl
source: |
curl -X POST "https://api.example.com/v1/users"
-H "Content-Type: application/json"
-d '{"username":"john","email":"john@example.com"}'
- lang: Python
source: |
import requests
r = requests.post("https://api.example.com/v1/users",
json={"username":"john","email":"john@example.com"})
print(r.status_code)
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
username:
type: string
email:
type: string
responses:
'201':
description: User created successfully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions