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

Experiment with using native OpenAPI generator library for Board Server API spec #3168

Draft
wants to merge 18 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
9e40674
Add openapitools.json for generating client libraries and documentation
Mearman Sep 13, 2024
bee3772
Add script to generate client libraries and documentation
Mearman Sep 13, 2024
a8223fd
formatting
Mearman Sep 13, 2024
fe63311
Refactor openapi.yaml to remove redundant security field
Mearman Sep 13, 2024
2c20015
enhance openapi.yaml
Mearman Sep 16, 2024
650affe
Add linting scripts for OpenAPI specification
Mearman Sep 16, 2024
be6a665
Update linting command to skip no-server-example.com rule in openapi.…
Mearman Sep 16, 2024
1d4a8f9
Add license information to openapi.yaml
Mearman Sep 16, 2024
19dc1df
Update OpenAPI server configuration to use dynamic host variable and …
Mearman Sep 16, 2024
af16284
Add security definition for API key authentication in openapi.yaml
Mearman Sep 16, 2024
85983fe
Add 4xx error response definitions to OpenAPI specification
Mearman Sep 16, 2024
6ff79ec
Add preview command for OpenAPI specification documentation
Mearman Sep 16, 2024
5b802a0
Add TypeScript client generators and documentation output paths in op…
Mearman Sep 16, 2024
044f524
Refactor operation IDs in OpenAPI specification to use underscores
Mearman Sep 16, 2024
3f496d6
Add .gitignore file to exclude generated files in board-server
Mearman Sep 16, 2024
08b0f75
Fix generate script to remove all files in generated directories
Mearman Sep 16, 2024
574a08c
Add Postman, WSDL, Kotlin, and Node.js server generators to openapito…
Mearman Sep 16, 2024
3d79023
Add support for pull requests in Docker workflow and conditionally pu…
Mearman Sep 16, 2024
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
9 changes: 6 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- main
pull_request:
branches:
- main

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -107,7 +110,7 @@ jobs:
type=gha,ref=${{ needs.setup.outputs.board_server_sqlite_image_name }}
type=registry,ref=${{ needs.setup.outputs.board_server_sqlite_image_path }}
cache-to: type=gha,mode=max,ref=${{ needs.setup.outputs.board_server_sqlite_image_name }}
push: true
push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && !github.event.pull_request.head.repo.fork }}
provenance: true
tags: >
${{ needs.setup.outputs.board_server_sqlite_image_path }}:${{ github.sha }},
Expand All @@ -125,7 +128,7 @@ jobs:
with:
subject-name: ${{ needs.setup.outputs.board_server_sqlite_image_path }}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true
push-to-registry: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && !github.event.pull_request.head.repo.fork }}

board-server-firestore-image:
name: Build board server firestore image
Expand Down Expand Up @@ -183,4 +186,4 @@ jobs:
with:
subject-name: ${{ needs.setup.outputs.board_server_firestore_image_path }}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true
push-to-registry: true
1 change: 1 addition & 0 deletions packages/board-server/generated/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*/
Loading
Loading