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

OpenAPI import fails on Procore OpenAPI specs in Hasura Graphql 2.37.0 #10171

Open
maheshsomaraj-nsqr opened this issue Mar 19, 2024 · 1 comment
Labels
k/bug Something isn't working

Comments

@maheshsomaraj-nsqr
Copy link

Version Information

Server Version:
CLI Version (for CLI related issue): v2.37.0

Environment

What is the current behaviour?

What is the expected behaviour?

How to reproduce the issue?

  1. Download the Procore OpenAPI specs document using link - https://developers.procore.com/api/v1/resource_groups/full_oas?version=1
  2. Import the the OpenAPI Specs into Hasura Actions tab (using File Import)
  3. All Available Procore APIs are shown in Available endpoints section
  4. Click on Create button for any of available endpoints to see the error in GUI.

Screenshots or Screencast

Please provide any traces or logs that could help here.

Any possible solutions/workarounds you're aware of?

Keywords

@maheshsomaraj-nsqr maheshsomaraj-nsqr added the k/bug Something isn't working label Mar 19, 2024
@maheshsomaraj-nsqr
Copy link
Author

Environment

Docker
graphql-engine:
image: hasura/graphql-engine:v2.37.0

data-connector-agent:
image: hasura/graphql-data-connector:v2.37.0

What is the current behaviour?

Experiencing errors trying to import Procore OpenAPI OAS3 spec into Hasura to create Actions. After importing the spec document I can see the available Actions but when clicking on Create button I see below errors in GUI.

Hasura_OpenAPI_Action_Error

**Failed to generate action** Enum type UseFilterTz cannot include value: true. Enum type Role6 cannot include value: null. Enum type FiltersItemResponseStatus cannot include value: null. Enum type FiltersVisible cannot include value: true. Enum type FiltersVisible cannot include value: false.

This looks like client side error since I don't see any errors in Docker container logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
k/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant