File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/components/OpenAPI/operation/OperationExamples Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,8 @@ export default defineConfig({
124124 {
125125 base : "rest-api" ,
126126 label : "REST API" ,
127- schema : "./public/aptos-spec.json" ,
127+ schema :
128+ "https://raw.githubusercontent.com/aptos-labs/aptos-core/refs/heads/main/api/doc/spec.json" ,
128129 sidebarMethodBadges : true ,
129130 } ,
130131 ] ,
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ import "@scalar/api-client/style.css";
5656 const { open } = await createApiClientModal({
5757 el: scalarContainer,
5858 configuration: {
59- url: "/ aptos-spec.json",
59+ url: "https://raw.githubusercontent.com/ aptos-labs/aptos-core/refs/heads/main/api/doc/ spec.json",
6060 servers,
6161 showSidebar: false,
6262 hideClientButton: true,
You can’t perform that action at this time.
0 commit comments