Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Commit 4b2d59d

Browse files
authored
Update app.ts
1 parent e2f65a8 commit 4b2d59d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

examples/fastify/src/app.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,14 @@ import { Static, Type } from "@sinclair/typebox";
55
export const setupApp = async () => {
66
const app = Fastify();
77

8-
// Create an API and get an optic-url from https://app.useoptic.com
9-
const opticUrl = {'x-optic-url': 'https://app.useoptic.com/[placeholder]'} as any;
10-
118
await app.register(fastifySwagger, {
129
// Opt into OpenAPIV3 generation
1310
openapi: {
1411
openapi: '3.1.3',
1512
info: {
1613
title: "My api spec",
1714
version: "1.0.0",
18-
},
19-
...opticUrl
15+
}
2016
},
2117
});
2218

0 commit comments

Comments
 (0)