MCPcopy Create free account
hub / github.com/BrasilAPI/BrasilAPI / getServerSideProps

Function getServerSideProps

pages/docs/index.js:5–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import { getJsonDoc } from '../../services/getJsonDoc';
4
5export async function getServerSideProps() {
6 const spec = getJsonDoc();
7 return {
8 props: {
9 spec,
10 },
11 };
12}
13
14export default function index({ spec }) {
15 return (

Callers

nothing calls this directly

Calls 1

getJsonDocFunction · 0.90

Tested by

no test coverage detected