IBM-Cloud / IBM-Cloud/ibm-cloud-sdk-ruby
IBM Cloud API Grouping
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 5
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
The upstream openapi-generator builds an entire gem per openapi spec file. This leads to a huge number of gems but there wasn't much choice.
The new/downstream IBM openapi-sdkgen builds an API class per openapi specification which allows for logical grouping of API classes per gem.
As we move towards the newer style of autogenerated gem we should re-evaluate the gem structure.
I see a few possibilities:
- Group APIs by high-level API group, e.g.: Platform, Compute, Storage, etc... (some APIs are in multiple groups)
- Group by low-level API group, e.g.: Resource Controller has resource_controller/resource_controller_v2 and resource_controller/resource_manager_v2
- Have all APIs in one monolithic ibm_cloud gem
- Some combination of the first three, e.g. maybe group all platform APIs into one gem, then separate ibm_cloud_vpc / ibm_cloud_power / ibm_cloud_object_storage
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the current gem layout and the upstream openapi-generator output, then compare them with the downstream IBM openapi-sdkgen model described here. Done means selecting and documenting a gem-grouping strategy from the alternatives, including how APIs that belong to multiple groups should be handled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100