{"id":16096759,"url":"https://github.com/futtetennista/serverlessvalidator","last_synced_at":"2025-10-20T05:13:44.414Z","repository":{"id":141715862,"uuid":"75776993","full_name":"futtetennista/ServerlessValidator","owner":"futtetennista","description":"A validator for serverless.yml files written in Haskell","archived":false,"fork":false,"pushed_at":"2017-12-04T20:14:10.000Z","size":76,"stargazers_count":5,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T13:11:25.267Z","etag":null,"topics":["docker","haskell","serverless","validator","yml-files"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/futtetennista/serverless-validator/","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/futtetennista.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2016-12-06T22:24:51.000Z","updated_at":"2024-05-03T07:16:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"8fe5f61d-7b67-40eb-b31f-0571f00e7f66","html_url":"https://github.com/futtetennista/ServerlessValidator","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/futtetennista/ServerlessValidator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/futtetennista%2FServerlessValidator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/futtetennista%2FServerlessValidator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/futtetennista%2FServerlessValidator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/futtetennista%2FServerlessValidator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/futtetennista","download_url":"https://codeload.github.com/futtetennista/ServerlessValidator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/futtetennista%2FServerlessValidator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264780914,"owners_count":23662744,"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":["docker","haskell","serverless","validator","yml-files"],"created_at":"2024-10-09T17:24:53.354Z","updated_at":"2025-10-20T05:13:44.338Z","avatar_url":"https://github.com/futtetennista.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serverless Validator\n\nA command line utility to validate [Serverless](https://serverless.com/) YML files.\n\n## Usage\n\nIf haskell, stack are installed on you system simply clone this repo and type: `./src/Serverlessvalidator.hs path/to/serverless.yml`. The script leverages stack's [scripting](https://haskell-lang.org/tutorial/stack-script) capabilities that is Stack will take care of downloading all the necessary dependencies and run the validator, just sit back and wait for it to be finished (it might take a bit the first time). For example, if the `runtime` string in `serverless.yml` is not valid, the ouput will be something like:\n\n```\n$ ./src/Serverlessvalidator.hs path/to/serverless-wrong-runtime.yml\n'serverless-wrong-runtime.yml' is not valid\nAesonException \"Error in $.provider.runtime: failed to parse field provider: failed to parse field runtime: Unsupported runtime 'nodejs'. Choose one among: 'nodejs4.3', 'java8', 'python2.8'\"\n\n```\n\n## Usage with Docker\n\nA Docker executable image is available on Docker Hub, just download it and run it against you `serverless.yml` file: \n\n``` sh \ndocker pull futtetennista/serverless-validator\ndocker run --rm -v=$(pwd):/tmp -w=/tmp serveless-validator path/to/serverless.yml\n```\n\n## Licence\n\n```\nMIT License\n\nCopyright (c) 2017 Futtetennista\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuttetennista%2Fserverlessvalidator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuttetennista%2Fserverlessvalidator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuttetennista%2Fserverlessvalidator/lists"}