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

Add graphql api creation by SDL url and introspection #845

Merged
merged 3 commits into from
Jan 30, 2025

Conversation

nisan-abeywickrama
Copy link
Contributor

@nisan-abeywickrama nisan-abeywickrama commented Jan 7, 2025

Purpose

This feature enhances the GraphQL API creation capabilities by adding support for additional methods: creating APIs using an SDL URL and using the introspection method by providing an endpoint.

Implementation

  • Added new radio buttons for GraphQL API creation using SDL URL and endpoint (for introspection).
  • Made the endpoint input in the API creation UI readonly when creating a GraphQL API using an endpoint.
  • Added new API call functions for validateGraphQLSchema using SDL URL and endpoint.
  • Updated existing UI texts to reflect the new functionality.

Related to issue: wso2/api-manager#3444

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
27.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@hisanhunais hisanhunais merged commit 50e2f96 into wso2:main Jan 30, 2025
2 of 3 checks passed
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.

5 participants