Skip to content

Commit 515452c

Browse files
authored
feat: add generated clerk_backend_api package (#158)
1 parent d41557a commit 515452c

File tree

531 files changed

+66690
-0
lines changed

Some content is hidden

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

531 files changed

+66690
-0
lines changed

.github/workflows/main.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
- name: 'Install tools: melos and fvm'
2424
run: dart pub global activate melos && dart pub global activate fvm
2525

26+
- name: Install FVM
27+
run: fvm install
28+
2629
- name: Install top-level dependencies
2730
run: dart pub get
2831

openapi_generator/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## Generates clerk_backend_api package from open-api spec
2+
3+
Generated with https://pub.dev/packages/openapi_generator_cli
4+
5+
```sh
6+
dart pub global activate openapi_generator_cli
7+
```
8+
9+
```sh
10+
openapi-generator generate --generator-name dart --config openapi-generator-config.json --output ../packages/clerk_backend_api --input-spec https://raw.githubusercontent.com/clerk/openapi-specs/refs/heads/main/bapi/2024-10-01.yml
11+
```
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"generator-name": "dart",
3+
"input-spec": "https://raw.githubusercontent.com/clerk/openapi-specs/refs/heads/main/bapi/2024-10-01.yml",
4+
"pubName": "clerk_backend_api",
5+
"pubDescription": "The Clerk REST Backend API, meant to be accessed by backend servers.",
6+
"pubVersion": "0.0.1-dev",
7+
"pubHomepage": "https://clerk.com/docs",
8+
"pubRepository": "https://github.com/clerk/clerk-sdk-flutter/tree/main/packages/clerk_backend_api"
9+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# See https://dart.dev/guides/libraries/private-files
2+
3+
.dart_tool/
4+
.packages
5+
build/
6+
pubspec.lock # Except for application packages
7+
8+
doc/api/
9+
10+
# IntelliJ
11+
*.iml
12+
*.ipr
13+
*.iws
14+
.idea/
15+
16+
# Mac
17+
.DS_Store
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# OpenAPI Generator Ignore
2+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
#!docs/README.md

0 commit comments

Comments
 (0)