{"id":14980264,"url":"https://github.com/madebynavi/swaggerpdfgeneration","last_synced_at":"2026-01-03T22:32:06.253Z","repository":{"id":240403714,"uuid":"797357402","full_name":"madebynavi/SwaggerPDFGeneration","owner":"madebynavi","description":"Script designed to generate PDF files from provided JSON files.","archived":false,"fork":false,"pushed_at":"2024-05-18T14:32:51.000Z","size":43,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T16:38:50.635Z","etag":null,"topics":["json-to-pdf","openapi-specification","powershell-script","script-automation","swagger-documentation"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/madebynavi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-07T17:13:46.000Z","updated_at":"2024-05-18T14:34:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"7eac8dd7-2884-4068-ae1a-181f5e0f6c84","html_url":"https://github.com/madebynavi/SwaggerPDFGeneration","commit_stats":null,"previous_names":["madebynavi/swaggerpdfgeneration"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madebynavi%2FSwaggerPDFGeneration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madebynavi%2FSwaggerPDFGeneration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madebynavi%2FSwaggerPDFGeneration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madebynavi%2FSwaggerPDFGeneration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madebynavi","download_url":"https://codeload.github.com/madebynavi/SwaggerPDFGeneration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243989711,"owners_count":20379648,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["json-to-pdf","openapi-specification","powershell-script","script-automation","swagger-documentation"],"created_at":"2024-09-24T14:01:31.808Z","updated_at":"2026-01-03T22:32:06.211Z","avatar_url":"https://github.com/madebynavi.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenAPI2PDF / RapiPDF - Extension\r\nThis is an extension of the work done by : https://github.com/iravikumar0403/openapi2pdf-cli and https://github.com/mrin9/RapiPdf\r\n\r\n## About\r\nThis is a script with the purpose of automate PDF generation for documentation based on Swagger 2.0 / OpenAPI 3.0 standard.\r\nIt can be attached to an automated process or used as is for manual execution when needed.\r\n\r\nThis is for everyone to use, feel free to fork it, modify it for your usecases.\r\n\r\n## Instructions\r\n### Parameters\r\n```powershell\r\n[-Root / -R]\r\n```\r\nExecutes the script with asumption that the \"json\" files are located in the root of script.\r\nWill create an output folder in same folder where script is located.\r\n\r\n```powershell\r\n[-Base / -B]\r\n```\r\nExecutes the script with asumption that the folder structure of repository has been downloaded and is in use.\r\n\r\n```powershell\r\n[-In / -I / -Input]\r\n```\r\nExecutes the script with a custom path to where the \"json\" files are located.\r\nIf no \"Out\" param is provided, an output folder in script root will be created.\r\n\r\n```powershell\r\n[-Out / -O / -Output]\r\n```\r\nExecutes the script with a custom path to where to store the \"pdf\" files.\r\nIf no \"In\" param is provided, asumes \"InputDirectory\" from repo or manually created as location of \"json\" files.\r\n\r\n```powershell\r\n[-C / -Compress]\r\n```\r\nWill ZIP/Compress the output folder. Can be conmbined with all other param except [-Help / -H]\r\n\r\n```powershell\r\n[-Help / -H]\r\n```\r\nOnly executes the script to show the built-in help message.\r\n\r\n### Examples\r\n```powershell\r\n    .\\Run.ps1 [-Help / -H]\r\n\r\n    .\\Run.ps1 [-Root / -R]\r\n\r\n    .\\Run.ps1 [-Base / -B]\r\n\r\n    .\\Run.ps1 [-In / -I / -Input] \u003cPath\u003e\r\n\r\n    .\\Run.ps1 [-Out / -O / -Output] \u003cPath\u003e\r\n\r\n    .\\Run.ps1 [-In / -I / -Input] \u003cPath\u003e [-Out / -O / -Output] \u003cPath\u003e\r\n    \r\n    .\\Run.ps1 [-Root / -R] [-Compress / -C / -Comp]\r\n\r\n    .\\Run.ps1 [-Base / -B] [-Compress / -C / -Comp]\r\n\r\n    .\\Run.ps1 [-In / -I / -Input] \u003cPath\u003e [-Compress / -C / -Comp]\r\n\r\n    .\\Run.ps1 [-Out / -O / -Output] \u003cPath\u003e [-Compress / -C / -Comp]\r\n\r\n    .\\Run.ps1 [-In / -I / -Input] \u003cPath\u003e [-Out / -O / -Output] \u003cPath\u003e [-Compress / -C / -Comp]\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadebynavi%2Fswaggerpdfgeneration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadebynavi%2Fswaggerpdfgeneration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadebynavi%2Fswaggerpdfgeneration/lists"}