{"id":22144857,"url":"https://github.com/gas-buddy/configured-swaggerize-express","last_synced_at":"2025-07-14T12:43:19.974Z","repository":{"id":44741261,"uuid":"73957926","full_name":"gas-buddy/configured-swaggerize-express","owner":"gas-buddy","description":"A configuration driven swaggerize-express middleware","archived":false,"fork":false,"pushed_at":"2022-01-27T15:11:57.000Z","size":530,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T17:24:16.599Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/gas-buddy.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}},"created_at":"2016-11-16T20:23:43.000Z","updated_at":"2020-05-27T20:57:34.000Z","dependencies_parsed_at":"2022-08-26T03:25:05.743Z","dependency_job_id":null,"html_url":"https://github.com/gas-buddy/configured-swaggerize-express","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gas-buddy%2Fconfigured-swaggerize-express","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gas-buddy%2Fconfigured-swaggerize-express/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gas-buddy%2Fconfigured-swaggerize-express/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gas-buddy%2Fconfigured-swaggerize-express/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gas-buddy","download_url":"https://codeload.github.com/gas-buddy/configured-swaggerize-express/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245267567,"owners_count":20587459,"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":[],"created_at":"2024-12-01T22:34:26.167Z","updated_at":"2025-03-24T12:19:30.823Z","avatar_url":"https://github.com/gas-buddy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"configured-swaggerize-express\n=============================\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/gas-buddy/configured-swaggerize-express.svg)](https://greenkeeper.io/)\nA small wrapper around swaggerize-express to allow runtime security\nhandling and config-based instantiation. Please note that if you\ninstantiate the module in configuration, you must resolve the promise\nthat the factory function returns before passing to meddleware. For example:\n\n**config.json**\n```\n{\n  \"meddleware\": {\n    \"myService\": {\n      \"module\": {\n        \"factory\": \"require:@gasbuddy/configured-swaggerize-express\",\n        \"arguments\": [{\n          \"spec\": \"require:some-swagger-module\"\n        }]\n      }\n    }\n  }\n}\n```\n\n**server.js**\n```\nimport * as configSwagger from '@gasbuddy/configured-swaggerize-express';\n\n// Load confit first into a variable called config\napp.use(meddleware(await configSwagger.resolveFactories(config.get('middleware')));\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgas-buddy%2Fconfigured-swaggerize-express","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgas-buddy%2Fconfigured-swaggerize-express","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgas-buddy%2Fconfigured-swaggerize-express/lists"}