Home / Function/ getSpecSections() — supabase Function Reference

getSpecSections() — supabase Function Reference

Architecture documentation for the getSpecSections() function in reference-doc.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  5d0aea85_78ea_8cee_ee43_add6bcd0d55b["getSpecSections()"]
  ed861eff_c31c_7ffc_754a_851706ec4946["gen_v3()"]
  5d0aea85_78ea_8cee_ee43_add6bcd0d55b -->|calls| ed861eff_c31c_7ffc_754a_851706ec4946
  3a3c3396_0460_18ca_95af_61ba11409e1e["getSpecSections()"]
  5d0aea85_78ea_8cee_ee43_add6bcd0d55b -->|calls| 3a3c3396_0460_18ca_95af_61ba11409e1e
  style 5d0aea85_78ea_8cee_ee43_add6bcd0d55b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/scripts/search/sources/reference-doc.ts lines 135–143

  getSpecSections(specContents: string): enrichedOperation[] {
    const spec: OpenAPIV3.Document<{}> = JSON.parse(specContents)

    const generatedSpec = gen_v3(spec, '', {
      apiUrl: 'apiv0',
    })

    return generatedSpec.operations
  }

Subdomains

Frequently Asked Questions

What does getSpecSections() do?
getSpecSections() is a function in the supabase codebase.
What does getSpecSections() call?
getSpecSections() calls 2 function(s): gen_v3, getSpecSections.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free