import {
  createCrudOpenApiFactory,
  createPagedListResponseSchema as createSharedPagedListResponseSchema,
  defaultCreateResponseSchema as sharedDefaultCreateResponseSchema,
  defaultOkResponseSchema as sharedDefaultOkResponseSchema
} from "@open-mercato/shared/lib/openapi/crud";
const defaultCreateResponseSchema = sharedDefaultCreateResponseSchema;
const defaultOkResponseSchema = sharedDefaultOkResponseSchema;
function createPagedListResponseSchema(itemSchema) {
  return createSharedPagedListResponseSchema(itemSchema, { paginationMetaOptional: true });
}
const buildPlannerCrudOpenApi = createCrudOpenApiFactory({
  defaultTag: "Planner",
  defaultCreateResponseSchema,
  defaultOkResponseSchema,
  makeListDescription: ({ pluralLower }) => `Returns a paginated collection of ${pluralLower} scoped to the authenticated organization.`
});
function createPlannerCrudOpenApi(options) {
  return buildPlannerCrudOpenApi(options);
}
export {
  createPagedListResponseSchema,
  createPlannerCrudOpenApi,
  defaultCreateResponseSchema,
  defaultOkResponseSchema
};
//# sourceMappingURL=openapi.js.map
