feat: add Postman/Bruno collection generation#82
Merged
Conversation
- generate-llms.ts: добавлен generatePostmanCollection(), генерирует public/pachca.postman_collection.json со всеми endpoint'ами, разбитыми по тегам, с примерами тел запросов - turbo.json: добавлен pachca.postman_collection.json в outputs generate-llms - next.config.ts: CORS-заголовки для /openapi.yaml и /pachca.postman_collection.json - .prettierignore: исключён public/pachca.postman_collection.json - requests-responses.mdx: секция "Тестирование API" с карточками Postman/Bruno - home.mdx: ссылка на коллекцию в секции API - README.md: раздел Тестирование с Postman/Bruno
- cards.tsx: поддержка download-пропа в Card (скачивание вместо открытия, иконка ArrowDownToLine анимируется вниз) - requests-responses.mdx: список совместимых инструментов → блок кода с URL → карточка скачивания - home.mdx: убран блок Info о коллекции из секции API - updates.mdx: добавлена запись о коллекции от 2026-02-22 - markdown-content.tsx: em — убрана курсивность (not-italic)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pachca.postman_collection.jsonиз OpenAPI-спеки вgenerate-llms.ts— все endpoint'ы разбиты по тегам-папкам, с примерами тел запросов и Bearer-авторизациейnext.config.tsдля/openapi.yamlи/pachca.postman_collection.jsonturbo.json(outputs) и.prettierignoreTest plan
npx turbo check— зелёныйGET /pachca.postman_collection.jsonвозвращает валидный JSON с коллекцией