Skip to content

Feature/restapi-interface #529

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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

rkrishnasanka
Copy link
Contributor

  • Added a new file OPENAPI_INFRASTRUCTURE_REUSE.md detailing the reuse of existing GraphJin infrastructure for OpenAPI generation.
  • Introduced core/openapi.go to define OpenAPI structures and generate specifications from GraphQL queries.
  • Enhanced core/internal/allow/allow.go with ListAll method to retrieve all queries from the allow list.
  • Implemented core/osfs.go with a List method to list files in a directory.
  • Updated core/plugin.go to include List method in the FS interface.
  • Created REST API handlers for OpenAPI specification in serv/api.go and serv/http.go.
  • Defined new routes for OpenAPI endpoints in serv/routes.go.
  • Added test_openapi.go to create a temporary environment for testing OpenAPI generation and output.

… for postgres

- Fixed issue where multiple protocols for postgres are not supported
Fixed the parser to have the right parser query was saved
- Fixed issue where connectionstring is being overwritten by defaults…
- Added a new file OPENAPI_INFRASTRUCTURE_REUSE.md detailing the reuse of existing GraphJin infrastructure for OpenAPI generation.
- Introduced core/openapi.go to define OpenAPI structures and generate specifications from GraphQL queries.
- Enhanced core/internal/allow/allow.go with ListAll method to retrieve all queries from the allow list.
- Implemented core/osfs.go with a List method to list files in a directory.
- Updated core/plugin.go to include List method in the FS interface.
- Created REST API handlers for OpenAPI specification in serv/api.go and serv/http.go.
- Defined new routes for OpenAPI endpoints in serv/routes.go.
- Added test_openapi.go to create a temporary environment for testing OpenAPI generation and output.
Copy link

vercel bot commented Aug 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
graphjin ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 8, 2025 11:24am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant