Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
1 line
605 B
Plaintext
1 line
605 B
Plaintext
{"version":3,"file":"openapi.cjs","names":[],"sources":["../../../../src/rest/commands/server/openapi.ts"],"sourcesContent":["import type { RestCommand } from '../../types.js';\n\n// TODO can we type this?\nexport type OpenApiSpecOutput = Record<string, any>;\n\n/**\n * Retrieve the OpenAPI spec for the current project.\n * @returns Object conforming to the OpenAPI Specification\n */\nexport const readOpenApiSpec =\n\t<Schema>(): RestCommand<OpenApiSpecOutput, Schema> =>\n\t() => ({\n\t\tmethod: 'GET',\n\t\tpath: '/server/specs/oas',\n\t});\n"],"mappings":"AASA,MAAa,WAEL,CACN,OAAQ,MACR,KAAM,oBACN"} |