{"id":20023384,"url":"https://github.com/niku/swagger-codegen-for-elixirclient","last_synced_at":"2026-06-08T03:32:38.338Z","repository":{"id":66601546,"uuid":"77889255","full_name":"niku/swagger-codegen-for-elixirclient","owner":"niku","description":"[WIP]Swagger Codegen for the ElixirClient library","archived":false,"fork":false,"pushed_at":"2017-02-03T03:52:50.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-02T04:17:11.107Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":false,"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/niku.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":"2017-01-03T06:14:51.000Z","updated_at":"2017-02-03T03:53:02.000Z","dependencies_parsed_at":"2023-07-20T05:30:17.080Z","dependency_job_id":null,"html_url":"https://github.com/niku/swagger-codegen-for-elixirclient","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/niku/swagger-codegen-for-elixirclient","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Fswagger-codegen-for-elixirclient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Fswagger-codegen-for-elixirclient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Fswagger-codegen-for-elixirclient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Fswagger-codegen-for-elixirclient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niku","download_url":"https://codeload.github.com/niku/swagger-codegen-for-elixirclient/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Fswagger-codegen-for-elixirclient/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34047266,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-11-13T08:46:16.596Z","updated_at":"2026-06-08T03:32:38.324Z","avatar_url":"https://github.com/niku.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":":warning: **This repository has been no longer maintained, due to contribute back to [Swagger Codegen](https://github.com/swagger-api/swagger-codegen). Please use it.** :warning:\n\n\n# Swagger Codegen for the ElixirClient library\n\n## Overview\nThis is a boiler-plate project to generate your own client library with Swagger.  Its goal is\nto get you started with the basic plumbing so you can put in your own logic.  It won't work without\nyour changes applied.\n\n## What's Swagger?\nThe goal of Swagger™ is to define a standard, language-agnostic interface to REST APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection. When properly defined via Swagger, a consumer can understand and interact with the remote service with a minimal amount of implementation logic. Similar to what interfaces have done for lower-level programming, Swagger removes the guesswork in calling the service.\n\n\nCheck out [OpenAPI-Spec](https://github.com/OAI/OpenAPI-Specification) for additional information about the Swagger project, including additional libraries with support for other languages and more. \n\n## How do I use this?\nAt this point, you've likely generated a client setup.  It will include something along these lines:\n\n```\n.\n|- README.md    // this file\n|- pom.xml      // build script\n|-- src\n|--- main\n|---- java\n|----- io.swagger.codegen.ElixirclientGenerator.java // generator file\n|---- resources\n|----- ElixirClient // template files\n|----- META-INF\n|------ services\n|------- io.swagger.codegen.CodegenConfig\n```\n\nYou _will_ need to make changes in at least the following:\n\n`ElixirclientGenerator.java`\n\nTemplates in this folder:\n\n`src/main/resources/ElixirClient`\n\nOnce modified, you can run this:\n\n```\nmvn package\n```\n\nIn your generator project.  A single jar file will be produced in `target`.  You can now use that with codegen:\n\n```\njava -cp /path/to/swagger-codegen-distribution:/path/to/your/jar io.swagger.codegen.Codegen -l ElixirClient -o ./test\n```\n\nNow your templates are available to the client generator and you can write output values\n\n## But how do I modify this?\nThe `ElixirclientGenerator.java` has comments in it--lots of comments.  There is no good substitute\nfor reading the code more, though.  See how the `ElixirclientGenerator` implements `CodegenConfig`.\nThat class has the signature of all values that can be overridden.\n\nFor the templates themselves, you have a number of values available to you for generation.\nYou can execute the `java` command from above while passing different debug flags to show\nthe object you have available during client generation:\n\n```\n# The following additional debug options are available for all codegen targets:\n# -DdebugSwagger prints the OpenAPI Specification as interpreted by the codegen\n# -DdebugModels prints models passed to the template engine\n# -DdebugOperations prints operations passed to the template engine\n# -DdebugSupportingFiles prints additional data passed to the template engine\n\njava -DdebugOperations -cp /path/to/swagger-codegen-distribution:/path/to/your/jar io.swagger.codegen.Codegen -l ElixirClient -o ./test\n```\n\nWill, for example, output the debug info for operations.  You can use this info\nin the `api.mustache` file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniku%2Fswagger-codegen-for-elixirclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniku%2Fswagger-codegen-for-elixirclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniku%2Fswagger-codegen-for-elixirclient/lists"}