Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
f0b2eaf
Update project repository links and authors
mattcoulter7 Jan 13, 2026
301f907
Add is_sse flag to ServiceOperation model
mattcoulter7 Jan 13, 2026
a4fe585
Add SSE detection and improve return type selection
mattcoulter7 Jan 13, 2026
eedba32
Add SSE streaming support to httpx template
mattcoulter7 Jan 13, 2026
1f7a626
Refactor httpx.jinja2 template for readability
mattcoulter7 Jan 13, 2026
3875fde
Add support for union and discriminated union property aliases
mattcoulter7 Jan 13, 2026
bc94314
Improve alias name generation for model properties
mattcoulter7 Jan 13, 2026
2ccbe0d
Refactor union alias module generation to use Jinja2 template
mattcoulter7 Jan 13, 2026
6221145
temp
mattcoulter7 Jan 13, 2026
c80e3bf
Refactor discriminated union discovery in model generator
mattcoulter7 Jan 13, 2026
c219a09
Use PascalCase for generated enum class names
mattcoulter7 Jan 13, 2026
0ae9f30
Collapse nullable wrapper components to Optional types
mattcoulter7 Jan 13, 2026
8756ecc
Rename package and add alias for compatibility
mattcoulter7 Jan 13, 2026
e5394c3
Merge pull request #1 from auth-broker/support-see-and-discriminator-…
mattcoulter7 Jan 13, 2026
4e35889
correct action secret
mattcoulter7 Jan 13, 2026
8006b52
Merge branch 'main' of https://github.com/auth-broker/openapi-python-…
mattcoulter7 Jan 13, 2026
33cd98a
Migrate project to uv and update workflows
mattcoulter7 Jan 13, 2026
e23dcae
Update test_service_generator_edges.py
mattcoulter7 Jan 13, 2026
6d1905d
Rename package to ab_openapi_python_generator
mattcoulter7 Jan 13, 2026
fc12388
Update imports to ab_openapi_python_generator namespace
mattcoulter7 Jan 13, 2026
994813c
Refactor Python generator to use client modules
mattcoulter7 Jan 13, 2026
2ee8020
Refactor service generation to clients and exceptions
mattcoulter7 Jan 13, 2026
db64e2f
Refactor Python generator to modularize exceptions and clean up templ…
mattcoulter7 Jan 13, 2026
ae525cf
Bump version to 2.2.0
mattcoulter7 Jan 13, 2026
bf98f9c
Remove regression tests and update test structure
mattcoulter7 Jan 13, 2026
c9b2465
Merge pull request #2 from auth-broker/feat/clients-instead-of-services
mattcoulter7 Jan 13, 2026
238152b
Refactor output structure and Jinja config, update tests
mattcoulter7 Jan 13, 2026
f73aa6a
Bump version to 2.2.1
mattcoulter7 Jan 13, 2026
6e5daae
Rename base_path to base_url in client and docs
mattcoulter7 Jan 13, 2026
bf1c21e
Bump version to 2.2.2
mattcoulter7 Jan 13, 2026
d5fa778
Add SSE support to async and sync client templates
mattcoulter7 Jan 13, 2026
2bf5471
Bump version to 2.2.3
mattcoulter7 Jan 13, 2026
7b8ffda
Support discriminated response unions and improve validation
mattcoulter7 Jan 31, 2026
8dadf53
Ignore generated openapi.json
mattcoulter7 Feb 6, 2026
837f9d4
Add Python debug config for file with args
mattcoulter7 Feb 6, 2026
d3d44f4
Propagate nested item imports for array types
mattcoulter7 Feb 6, 2026
eb6fc54
Handle nullable refs, maps, and imports
mattcoulter7 Feb 6, 2026
ebea8d4
Add logging, adjust Jinja autoescape, tidy model code
mattcoulter7 Feb 6, 2026
80f0253
Bump version to 2.2.4
mattcoulter7 Feb 6, 2026
53b5010
Merge pull request #3 from auth-broker/fix/invalid-union-return-type
mattcoulter7 Feb 6, 2026
e17018b
Make access token getters/setters asynchronous
mattcoulter7 Feb 6, 2026
89e7f3f
Bump version to 2.2.5
mattcoulter7 Feb 6, 2026
e90698e
Merge pull request #4 from auth-broker/fix/invalid-union-return-type
mattcoulter7 Feb 6, 2026
0263b8d
Generate response union alias models
mattcoulter7 Feb 26, 2026
02c2bde
Use Pydantic v2 dumps, defaults and auth
mattcoulter7 Feb 27, 2026
21362bf
decouple from auth broker
Aug 12, 2026
0641e6e
Merge pull request #5 from mattcoulter7/decouple-from-auth-broker
mattcoulter7 Aug 12, 2026
cf33625
finalise migration from auth broker
Aug 12, 2026
1e900b5
Merge branch 'main' of https://github.com/mattcoulter7/pydantic-opena…
Aug 12, 2026
fa3ba86
fix: missing headers
Aug 14, 2026
e8c8dd7
Merge pull request #6 from mattcoulter7/fix/missing-headers
mattcoulter7 Aug 14, 2026
1eeedb2
chore: bump minor version
Aug 14, 2026
a9d3d9a
fix: ruff
Aug 14, 2026
a3f275b
Merge pull request #7 from mattcoulter7/fix/missing-headers
mattcoulter7 Aug 14, 2026
5ea99f1
feat: support argument configuration for class var or function
mattcoulter7 Aug 14, 2026
8c9d01a
refactor: use a proper abstraction layer from the configuration
mattcoulter7 Aug 14, 2026
d173791
chore: bump minor version
mattcoulter7 Aug 14, 2026
183fc5c
fix: ruff
mattcoulter7 Aug 14, 2026
b6dea2a
Merge pull request #8 from mattcoulter7/feat/configuration-arguments
mattcoulter7 Aug 14, 2026
53477da
simplify, error handling and response model validation
mattcoulter7 Aug 14, 2026
0b43f9d
fix: typed sse
mattcoulter7 Aug 14, 2026
569e176
fix: ruff
mattcoulter7 Aug 14, 2026
fea153d
Merge pull request #9 from mattcoulter7/fix/error-handling
mattcoulter7 Aug 14, 2026
66bfa2e
refactor: raise_for_status -> TypeAdapter for json response
mattcoulter7 Aug 14, 2026
944dd56
chore: bump patch version
mattcoulter7 Aug 14, 2026
bed8d1e
Merge pull request #10 from mattcoulter7/refactor
mattcoulter7 Aug 14, 2026
4d16dcf
test: openapi overlay
Sep 1, 2026
e800e5b
feat: deep merge
Sep 1, 2026
f49ccb3
feat: overlay paths
Sep 1, 2026
8f7286b
bump minor version
Sep 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .coveragerc

This file was deleted.

File renamed without changes.
38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

18 changes: 18 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "saturday"
time: "03:00"
timezone: "Australia/Melbourne"

- package-ecosystem: "pip"
directory: "/"
open-pull-requests-limit: 2
schedule:
interval: "weekly"
day: "saturday"
time: "03:00"
timezone: "Australia/Melbourne"
16 changes: 0 additions & 16 deletions .github/workflows/build_docs.yml

This file was deleted.

75 changes: 75 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: CI

permissions:
contents: read
pull-requests: write

on:
pull_request:
push:
branches: [main]

concurrency:
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} - ci-pipeline"
cancel-in-progress: true

jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- uses: actions/checkout@v7

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
python-version: "3.12"

# Private Git deps (optional; remove if not needed)
- name: Configure Git credentials for private deps
if: env.GH_READ_TOKEN != ''
env:
GH_READ_TOKEN: ${{ secrets.GH_READ_TOKEN }}
run: |
git config --global url."https://${GH_READ_TOKEN}:[email protected]/".insteadOf "https://github.com/"

- name: Install Python
run: uv python install

- name: Sync deps
run: uv sync

- name: Lint
run: |
uv run ruff check
uv run ruff format --check

test:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v7

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
python-version: "3.12"

- name: Configure Git credentials for private deps
if: env.GH_READ_TOKEN != ''
env:
GH_READ_TOKEN: ${{ secrets.GH_READ_TOKEN }}
run: |
git config --global url."https://${GH_READ_TOKEN}:[email protected]/".insteadOf "https://github.com/"

- name: Install Python
run: uv python install

- name: Sync deps
run: uv sync

- name: Test
run: uv run pytest -v -m "not integration"
24 changes: 0 additions & 24 deletions .github/workflows/continous_deployment.yml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Publish to PyPI

on:
release:
types: [published]
workflow_dispatch:

permissions: read-all

# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: "${{ github.workflow }} @ ${{ github.head_ref || github.ref }} - release"
cancel-in-progress: true

jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- name: Checkout code
uses: actions/checkout@v7

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
python-version: "3.12"

- name: Install project Python
run: uv python install

- name: Build
run: uv build --no-sources

- name: Publish to PyPI
env:
UV_PUBLISH_TOKEN: ${{ secrets.UV_PUBLISH_TOKEN }}
run: uv publish --verbose
47 changes: 0 additions & 47 deletions .github/workflows/release.yml

This file was deleted.

58 changes: 0 additions & 58 deletions .github/workflows/tests.yml

This file was deleted.

Loading