Skip to content
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

Fix DocC warnings when running swift package generate-documentation #37

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

andrewheard
Copy link
Collaborator

Fixed the following warnings:

  • Sources/GoogleAI/GenerationConfig.swift:60:26: warning: 'String' doesn't exist at '/GoogleGenerativeAI/GenerationConfig/stopSequences'
    • Shouldn't use double backticks because String isn't a type provided by our library
  • Sources/GoogleAI/Safety.swift:22:9: warning: 'SafetySetting.HarmCategory' doesn't exist at '/GoogleGenerativeAI/SafetyRating/category'
    • DocC references use / instead of . for nested types

@github-actions github-actions bot added component:swift sdk Issue/PR related to Swift SDK status:awaiting review PR awaiting review from a maintainer labels Dec 12, 2023
@andrewheard andrewheard merged commit e7b4d51 into main Dec 12, 2023
8 checks passed
@andrewheard andrewheard deleted the ah/docc-fixes branch December 12, 2023 17:55
@github-actions github-actions bot removed the status:awaiting review PR awaiting review from a maintainer label Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:swift sdk Issue/PR related to Swift SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants