-
Notifications
You must be signed in to change notification settings - Fork 63
feat: Ruby SDK client generation #678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
stevehobbsdev
wants to merge
30
commits into
main
Choose a base branch
from
generate-ruby-sdk-base
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,807
−0
Open
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
51917f1
generate ruby client
carlastabile 43597bd
reduce sdk generated files
carlastabile 3772903
chore: remove imports.rb
stevehobbsdev 1933849
chore: add gemspec.mustache (from template)
stevehobbsdev 6867e05
chore: include api_model_base.mustache in the files output
stevehobbsdev 380f0a6
chore: remove readme template so that it uses the base one
stevehobbsdev b9daa21
feat: add concurrent-ruby to gemspec
stevehobbsdev a373bbe
feat: installation instructions
stevehobbsdev b0aa01f
chore: remove changelog.md
stevehobbsdev d6eeda4
feat: populate models readme
stevehobbsdev ae6ebf9
initial api_endpoinds doc
carlastabile ccf50f3
README_initializing
carlastabile 2455172
add ENV
carlastabile a7838d7
first version of constants file
carlastabile 17aeaf8
add partial_header
carlastabile f68a96f
chore: add constants to gem main file
stevehobbsdev 8673130
Merge branch 'main' into generate-ruby-sdk-base
carlastabile db9855a
chore: update gem info
carlastabile 783f9de
chore: always use gemVersion as source of truth
carlastabile 6c866b7
chore: remove fix packageDescription
carlastabile e089160
chose: update gem homepage to Github repo
carlastabile 4d7613f
chore: fix trailing whitespace
stevehobbsdev 4052d4e
chore: remove unused http library templates
stevehobbsdev 18020c9
chore: update OpenSSL link
stevehobbsdev 561689d
chore: remove test_files entry in gemspec (deprecated)
stevehobbsdev 76ced07
chore: readme fixes
stevehobbsdev 9c65dd7
chore: remove some comments from makefile
stevehobbsdev d16c0d0
fix: move version up so contants can read from it
carlastabile fb07e83
bump version to 0.1.5
carlastabile 56f9ea9
Merge branch 'main' into generate-ruby-sdk-base
stevehobbsdev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| Gemfile | ||
| .gitignore | ||
| .rspec | ||
| .rubocop.yml | ||
| .travis.yml | ||
| .gitlab-ci.yml | ||
| git_push.sh | ||
| .github/CODEOWNERS | ||
| .github/ISSUE_TEMPLATE/bug_report.yaml | ||
| .github/ISSUE_TEMPLATE/feature_request.yaml | ||
| .github/ISSUE_TEMPLATE/config.yaml | ||
| Rakefile | ||
| spec/api/* | ||
| spec/models/* | ||
| spec/api_client_spec.rb | ||
| spec/spec_helper.rb | ||
| spec/configuration_spec.rb | ||
| .codecov.yml | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| { | ||
| "sdkId": "ruby", | ||
| "gitRepoId": "ruby-sdk", | ||
| "packageName": "openfga", | ||
| "packageVersion": "0.1.5", | ||
| "packageDescription": "Ruby SDK for OpenFGA", | ||
| "packageDetailedDescription": "This is community-driven Ruby SDK for OpenFGA. It provides a wrapper around the [OpenFGA API definition](https://openfga.dev/api).", | ||
| "allowUnicodeIdentifiers": false, | ||
| "disallowAdditionalPropertiesIfNotPresent": false, | ||
| "ensureUniqueParams": true, | ||
| "enumUnknownDefaultCase": false, | ||
| "gemAuthor": "Carla Urrea Stabile, Steven Hobbs", | ||
| "gemAuthorEmail": "hello@carlastabile.tech", | ||
| "gemHomepage": "https://github.com/carlastabile/openfga-ruby-sdk", | ||
| "gemLicense": "Apache-2.0", | ||
| "gemMetadata": {}, | ||
| "gemName": "openfga", | ||
| "gemRequiredRubyVersion": ">=3.2", | ||
| "gemSummary": "This is community-driven Ruby SDK for OpenFGA. It provides a wrapper around the [OpenFGA API definition](https://openfga.dev/api).", | ||
| "gemVersion": "0.1.5", | ||
| "hideGenerationTimestamp": true, | ||
| "library": "faraday", | ||
| "moduleName": "OpenFga", | ||
| "sortModelPropertiesByRequiredFlag": true, | ||
| "sortParamsByRequiredFlag": false, | ||
| "targetRubyVersion": "3.2", | ||
| "userAgent": "openfga-sdk ruby/$gemVersion", | ||
| "files": { | ||
| "api_model_base.mustache": { | ||
| "destinationFilename": "lib/openfga/api_model_base.rb", | ||
| "templateType": "SupportingFiles" | ||
| }, | ||
| "constants.mustache": { | ||
| "destinationFilename": "lib/openfga/constants.rb", | ||
| "templateType": "SupportingFiles" | ||
| } | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "generator": "ruby", | ||
| "repo": "https://github.com/OpenAPITools/openapi-generator", | ||
| "branch": "master", | ||
| "commit": "695f7076bf5db8b0a6a55bf0569385e3d63f18e8", | ||
| "url": "https://github.com/OpenAPITools/openapi-generator/tree/master/modules/openapi-generator/src/main/resources/ruby-client", | ||
| "docs": "https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/ruby.md" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| Class | Method | HTTP request | Description | ||
| ------------ | ------------- | ------------- | ------------- | ||
| {{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}*{{classname}}* | [**{{operationId}}**]({{apiDocPath}}{{classname}}.md#{{operationIdLowerCase}}) | **{{httpMethod}}** {{path}} | {{#summary}}{{summary}}{{/summary}} | ||
| {{/operation}}{{/operations}}{{/apis}}{{/apiInfo}} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.