Proposals: add a Fern SDK generator scaffold and modernize the CI test matrix#288
Closed
bartes wants to merge 2 commits into
Closed
Proposals: add a Fern SDK generator scaffold and modernize the CI test matrix#288bartes wants to merge 2 commits into
bartes wants to merge 2 commits into
Conversation
Add a fern/ directory that configures Fern-based SDK generation: - fern.config.json with the Castle organization and CLI version. - generators.yml defining a ruby-sdk group that runs the fernapi/fern-ruby-sdk generator against the OpenAPI spec, writing output to ../generated/ruby. - openapi/openapi.yml, the OpenAPI spec covering the scoring, Lists, Privacy and Events endpoints. - README.md documenting the layout and the fern check / fern generate workflow. Generated SDK output goes to ../generated/ruby and is not committed.
Add a Ruby 3.1 (Rails 7.0) entry to the Specs workflow matrix so the test matrix now covers Ruby 3.1, 3.2, 3.3 and 3.4 across the existing Rails gemfiles.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add a Fern SDK generator scaffold
Adds a
fern/directory that configures Fern-based SDK generation:fern.config.jsonwith the Castle organization and CLI version.generators.ymldefining aruby-sdkgroup that runs thefernapi/fern-ruby-sdkgenerator against the OpenAPI spec, writing output to../generated/ruby.openapi/openapi.yml, the OpenAPI spec covering the scoring, Lists, Privacy and Events endpoints.README.mddocumenting the layout and thefern check/fern generate --group ruby-sdk --localworkflow.Generated SDK output goes to
../generated/rubyand is not committed.Modernize the CI test matrix
Adds a Ruby 3.1 (Rails 7.0) entry to the Specs workflow matrix so the test matrix now covers Ruby 3.1, 3.2, 3.3 and 3.4 across the existing Rails gemfiles.