fixes all openapi spect issues, removes json-schema auto-generated moving to manual examples

This commit is contained in:
Agusti Fernandez Pardo committed 2022-04-29 01:38:40 +02:00
1 parent 2449d90bcb
commit bb28680413
37 files changed
+154 -386

No files matched your search

+1 -18
View File
@@ -20,26 +20,9 @@ const swaggerHandler = withSwagger({
},
components: {
securitySchemes: { ApiKeyAuth: { type: "apiKey", in: "query", name: "apiKey" } },
security: { ApiKeyAuth: [] },
schemas: { ...jsonSchema.definitions },
},
security: [{ apiKey: [] }],
},
apiFolder: "pages/api",
tags: [
"users",
"teams",
"memeberships",
"selected-calendars",
"schedules",
"payments",
"event-types",
"event-type-custom-inputs",
"destination-calendars",
"daily-event-references",
"booking-references",
"availabilities",
"attendees",
],
sort: true,
});
export default swaggerHandler();