Skip to content

add: OpenAPI v2 tools support #345

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

Merged
merged 3 commits into from
May 22, 2024

Conversation

iwilltry42
Copy link
Contributor

Support OpenAPI v2 spec for tools by converting them up to v3 and re-using the existing v3 logic.

Is Yaml? -> Transform to JSON -> Is JSON? -> Unmarshal to OpenAPI v2 spec -> convert to OpenAPI v3 spec -> treat with existing v3 logic.

@iwilltry42 iwilltry42 force-pushed the feat/openapiv2 branch 2 times, most recently from 4fe8b2d to 8c1cca1 Compare May 14, 2024 21:02
@iwilltry42
Copy link
Contributor Author

Rebased on top of #340

@iwilltry42 iwilltry42 force-pushed the feat/openapiv2 branch 2 times, most recently from 931e906 to 8278463 Compare May 21, 2024 13:59
@iwilltry42
Copy link
Contributor Author

Rebased once more

@iwilltry42 iwilltry42 requested a review from thedadams May 21, 2024 19:02
@iwilltry42 iwilltry42 merged commit d82ed66 into gptscript-ai:main May 22, 2024
1 check passed
@iwilltry42 iwilltry42 deleted the feat/openapiv2 branch May 22, 2024 05:43
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.

3 participants