{"id":27197675,"url":"https://github.com/preaction/alien-swaggerui","last_synced_at":"2026-02-23T15:01:34.146Z","repository":{"id":56835151,"uuid":"74862324","full_name":"preaction/Alien-SwaggerUI","owner":"preaction","description":"CPAN distribution of Swagger-UI JavaScript application","archived":false,"fork":false,"pushed_at":"2019-11-23T01:37:24.000Z","size":3424,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T20:43:01.636Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/preaction.png","metadata":{"files":{"readme":"README.mkdn","changelog":"CHANGES","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-27T02:20:40.000Z","updated_at":"2025-01-21T11:40:35.000Z","dependencies_parsed_at":"2022-09-02T03:50:58.697Z","dependency_job_id":null,"html_url":"https://github.com/preaction/Alien-SwaggerUI","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/preaction/Alien-SwaggerUI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preaction%2FAlien-SwaggerUI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preaction%2FAlien-SwaggerUI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preaction%2FAlien-SwaggerUI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preaction%2FAlien-SwaggerUI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/preaction","download_url":"https://codeload.github.com/preaction/Alien-SwaggerUI/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preaction%2FAlien-SwaggerUI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29746499,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-04-09T20:29:20.125Z","updated_at":"2026-02-23T15:01:34.099Z","avatar_url":"https://github.com/preaction.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nAlien::SwaggerUI - Render OpenAPI spec documentation with Swagger-UI\n\n# VERSION\n\nversion 0.002\n\n# STATUS\n\n\u003ca href=\"https://travis-ci.org/preaction/Alien-SwaggerUI\"\u003e\u003cimg src=\"https://travis-ci.org/preaction/Alien-SwaggerUI.svg?branch=master\"\u003e\u003c/a\u003e\u003ca href=\"https://coveralls.io/r/preaction/Alien-SwaggerUI\"\u003e\u003cimg src=\"https://coveralls.io/repos/preaction/Alien-SwaggerUI/badge.png\" alt=\"Coverage Status\" /\u003e\u003c/a\u003e\n\n# SYNOPSIS\n\n    use Alien::SwaggerUI;\n    my $app_dir = Alien::SwaggerUI-\u003eroot_dir;\n\n    #-- Serve Swagger-UI with Mojolicious::Lite\n    use File::Spec::Functions qw( catfile );\n    use Alien::SwaggerUI;\n    use Mojolicious::Lite;\n\n    get '/swagger/*path' =\u003e { path =\u003e 'index.html' }, sub {\n        my ( $c ) = @_;\n        my $path = catfile( Alien::SwaggerUI-\u003eroot_dir, $c-\u003estash( 'path' ) );\n        my $file = Mojo::Asset::File-\u003enew( path =\u003e $path );\n        $c-\u003ereply-\u003easset( $file );\n    };\n\n    app-\u003estart;\n\n# DESCRIPTION\n\nThis module contains [Swagger UI](http://swagger.io/swagger-ui/). This\npure-JavaScript application renders beautiful documentation for your\napplication's [OpenAPI specification](https://www.openapis.org).\n\nThe application is contained in a `share/` directory. You can get the path\nto this directory with the `root_dir` method.\n\nTo render your specific API documentation, pass it in with the\n`?url=/path/to/spec` query parameter.\n\n# SEE ALSO\n\n- [Swagger UI](http://swagger.io/swagger-ui/)\n- [OpenAPI specification](https://www.openapis.org)\n\n# AUTHOR\n\nDoug Bell \u003cpreaction@cpan.org\u003e\n\n# CONTRIBUTORS\n\n- Gaurav Rai \u003cgauravrai7860@gmail.com\u003e\n- Mohammad S Anwar \u003cmohammad.anwar@yahoo.com\u003e\n\n# COPYRIGHT AND LICENSE\n\nThis software is Copyright (c) 2016 by Doug Bell.\n\nThis is free software, licensed under:\n\n    The Apache License, Version 2.0, January 2004\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreaction%2Falien-swaggerui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpreaction%2Falien-swaggerui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreaction%2Falien-swaggerui/lists"}