{"id":15348174,"url":"https://github.com/ironcore864/light-4j-openapi-server-example","last_synced_at":"2026-01-28T15:02:32.753Z","repository":{"id":73865942,"uuid":"395171402","full_name":"IronCore864/light-4j-openapi-server-example","owner":"IronCore864","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-12T02:29:03.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-01T02:44:34.987Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IronCore864.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":"2021-08-12T02:28:28.000Z","updated_at":"2021-08-12T02:29:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"5250f8d5-25cb-4f48-8bd8-5556a22c469d","html_url":"https://github.com/IronCore864/light-4j-openapi-server-example","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"aa11512ddf6b94469bc04b500fd758e706e5c7f4"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/IronCore864/light-4j-openapi-server-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronCore864%2Flight-4j-openapi-server-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronCore864%2Flight-4j-openapi-server-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronCore864%2Flight-4j-openapi-server-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronCore864%2Flight-4j-openapi-server-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IronCore864","download_url":"https://codeload.github.com/IronCore864/light-4j-openapi-server-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronCore864%2Flight-4j-openapi-server-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28846087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T13:02:32.985Z","status":"ssl_error","status_checked_at":"2026-01-28T13:02:04.945Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":"2024-10-01T11:45:14.186Z","updated_at":"2026-01-28T15:02:32.738Z","avatar_url":"https://github.com/IronCore864.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Light-4J OpenAPI Server Example\n\n## Dependencies\n\n- JDK 8 or JDK 11\n- codegen-cli (https://github.com/networknt/light-codegen, download the jar is the simplest way)\n- mvn (optional, continue reading)\n\n## Generate Code\n\njava -jar YOUR/PATH/TO/codegen-cli.jar --framework openapi --output . --model ./openapi.json --config ./config.json\n\n## Install and Run\n\nIf you have mvn installed:\n\n```bash\nmvn install exec:exec\n```\n\nelse:\n\n```bash\n./mvnw install exec:exec\n```\n\nFollowing commands are the same.\n\n## More on Build and Start\n\nThe scaffolded project contains a single module. A fat jar will be generated in target directory after running the build command below.\n\n```bash\nmvn clean install -Prelease\n```\n\nWith the fat jar in the target directory, you can start the server with the following command:\n\n```bash\njava -jar target/server.jar\n```\n\nTo speed up the test, you can avoid the fat jar generation and start the server from Maven:\n\n```bash\nmvn clean install exec:exec\n```\n\n## Test\n\nBy default, the OAuth2 JWT security verification is disabled, so you can use Curl or Postman to test your service right after the server is started. For example, the petstore API has the following endpoint.\n\n```bash\ncurl -k https://localhost:8443/v1/pets\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironcore864%2Flight-4j-openapi-server-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fironcore864%2Flight-4j-openapi-server-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironcore864%2Flight-4j-openapi-server-example/lists"}