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 buildCurrenciesCrudOpenApi = createCrudOpenApiFactory({
  defaultTag: "Currencies",
  defaultCreateResponseSchema,
  defaultOkResponseSchema,
  makeListDescription: ({ pluralLower }) => `Returns a paginated collection of ${pluralLower} scoped to the authenticated organization.`
});
function createCurrenciesCrudOpenApi(options) {
  return buildCurrenciesCrudOpenApi(options);
}
export {
  createCurrenciesCrudOpenApi,
  createPagedListResponseSchema,
  defaultCreateResponseSchema,
  defaultOkResponseSchema
};
//# sourceMappingURL=openapi.js.map
