Skip to content

Commit 1df36d1

Browse files
HavenDVclaude
andcommitted
Initial SDK generation
C# SDK for the Roboflow Inference API — 55 endpoints covering object detection, segmentation, classification, OCR, CLIP embeddings, SAM/SAM2/SAM3, gaze detection, depth estimation, and custom model inference workflows. Generated from https://inference.roboflow.com/openapi.json using AutoSDK. Co-Authored-By: Claude Opus 4.6 <[email protected]>
0 parents  commit 1df36d1

1,364 files changed

Lines changed: 115458 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/dependabot.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "nuget" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "weekly"
12+
groups:
13+
all:
14+
patterns:
15+
- "*"
16+
- package-ecosystem: "github-actions"
17+
directory: "/"
18+
schedule:
19+
interval: "weekly"
20+
groups:
21+
github-actions:
22+
patterns:
23+
- "*"

.github/workflows/auto-merge.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Auto-approve and auto-merge bot pull requests
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
11+
jobs:
12+
auto-merge:
13+
uses: tryAGI/workflows/.github/workflows/auto-merge.yml@main
14+
secrets: inherit

.github/workflows/auto-update.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Opens a new PR if there are OpenAPI updates
2+
on:
3+
schedule:
4+
- cron: '0 */3 * * *'
5+
workflow_dispatch:
6+
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
actions: write
11+
12+
jobs:
13+
auto-update:
14+
uses: tryAGI/workflows/.github/workflows/auto-update.yml@main
15+
with:
16+
library-path: src/libs/Roboflow
17+
secrets: inherit

.github/workflows/dotnet.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Publish
2+
on:
3+
push:
4+
branches:
5+
- main
6+
tags:
7+
- v**
8+
9+
permissions:
10+
contents: write
11+
12+
jobs:
13+
publish:
14+
name: Publish
15+
uses: HavenDV/workflows/.github/workflows/dotnet_build-test-publish.yml@main
16+
with:
17+
generate-build-number: false
18+
conventional-commits-publish-conditions: false
19+
enable-caching: false
20+
additional-test-arguments: '--logger GitHubActions'
21+
secrets:
22+
nuget-key: ${{ secrets.NUGET_KEY }}
23+
24+
trim-check:
25+
name: Trimming Check
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v6
30+
31+
- name: Setup .NET
32+
uses: actions/setup-dotnet@v5
33+
34+
- name: Install AutoSDK CLI
35+
run: dotnet tool install --global autosdk.cli --prerelease
36+
37+
- name: Run trimming check
38+
run: autosdk trim src/libs/Roboflow/Roboflow.csproj
39+
40+
release:
41+
name: Release
42+
runs-on: ubuntu-latest
43+
needs: [publish]
44+
if: startsWith(github.ref, 'refs/tags/v')
45+
steps:
46+
- name: Checkout
47+
uses: actions/checkout@v6
48+
49+
- name: Create release
50+
run: gh release create ${{ github.ref_name }}
51+
--title "${{ github.ref_name }}"
52+
--generate-notes
53+
env:
54+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/mkdocs.yml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: MKDocs Deploy
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'docs/**'
9+
- 'mkdocs.yml'
10+
- 'autosdk.docs.json'
11+
- '.github/workflows/mkdocs.yml'
12+
- 'src/tests/IntegrationTests/**'
13+
- 'README.md'
14+
15+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
16+
permissions:
17+
contents: read
18+
pages: write
19+
id-token: write
20+
21+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
22+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
23+
concurrency:
24+
group: "pages"
25+
cancel-in-progress: false
26+
27+
jobs:
28+
build:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- name: Checkout
32+
uses: actions/checkout@v6
33+
34+
- name: Setup Pages
35+
uses: actions/configure-pages@v5
36+
37+
- name: Install .NET SDK
38+
uses: actions/setup-dotnet@v5
39+
with:
40+
dotnet-version: 10.0.x
41+
42+
- name: Install AutoSDK CLI
43+
run: dotnet tool install --global autosdk.cli --prerelease
44+
45+
- name: Generate docs
46+
run: autosdk docs sync .
47+
48+
- name: Build with MkDocs
49+
run: |
50+
python -m venv myenv
51+
source myenv/bin/activate
52+
pip install mkdocs-material
53+
mkdocs build -d ./_site
54+
55+
- name: Upload artifact
56+
uses: actions/upload-pages-artifact@v4
57+
58+
deploy:
59+
environment:
60+
name: github-pages
61+
url: ${{ steps.deployment.outputs.page_url }}
62+
runs-on: ubuntu-latest
63+
needs: build
64+
steps:
65+
- name: Deploy to GitHub Pages
66+
id: deployment
67+
uses: actions/deploy-pages@v4

.github/workflows/pull-request.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Test
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
7+
jobs:
8+
test:
9+
name: Test
10+
if: github.event.pull_request.draft == false
11+
uses: HavenDV/workflows/.github/workflows/dotnet_build-test-publish.yml@main
12+
with:
13+
generate-build-number: false
14+
conventional-commits-publish-conditions: false
15+
enable-caching: false
16+
additional-test-arguments: '--logger GitHubActions'

0 commit comments

Comments
 (0)