graphql-engine/server/tests-py/queries/openapi
Antoine Leblanc 74513e351f Use an enum for EndpointMethod and fix incorrect response aggregation.
### Description

This small PR improves the representation of an endpoint method from `Text` to an enum of the supported methods. Additionally, it cleans some of the instances defined on surrounding types (such as Postgres-specific instances on Endpoint types).

Due to a name conflict, this makes `RQL.Types.Endpoint` impossible to re-export from `RQL.Types`, which in turn forces several other modules to import it explicitly, which I think is fine since we want to ultimately get rid of `RQL.Types`.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3965
GitOrigin-RevId: 33869007d0d818ddf486fb61d1f6099f9dad7570
2022-03-13 07:41:02 +00:00
..
openapi_empty.yaml Add request body to OpenAPI 2021-12-22 08:31:14 +00:00
openapi_endpoint_with_aliases.yaml Fixed GQL aliases not being respected in the OpenAPI schema 2022-01-27 05:55:55 +00:00
openapi_endpoint_with_multiple_methods.yaml Use an enum for EndpointMethod and fix incorrect response aggregation. 2022-03-13 07:41:02 +00:00
openapi_get_endpoint_test_complex_arg.yaml Add request body to OpenAPI 2021-12-22 08:31:14 +00:00
openapi_get_endpoint_test_complex_args.yaml Add request body to OpenAPI 2021-12-22 08:31:14 +00:00
openapi_get_endpoint_test_duplicate_field_name.yaml server: add analyzeGraphqlQuery 2022-01-21 05:40:20 +00:00
openapi_get_endpoint_test_simple.yaml Add request body to OpenAPI 2021-12-22 08:31:14 +00:00
openapi_inconsistent_schema.yaml server: add validation for query collections 2022-03-08 09:49:18 +00:00
openapi_multiple_endpoints_same_path.yaml Add request body to OpenAPI 2021-12-22 08:31:14 +00:00
openapi_multiple_endpoints_test.yaml Add request body to OpenAPI 2021-12-22 08:31:14 +00:00
openapi_multiple_endpoints_with_path_segments.yaml Fix REST endpoints with path segments not showing correctly in the OpenAPI spec 2022-01-25 06:28:47 +00:00
openapi_post_endpoint_test_recursive_arg.yaml Add request body to OpenAPI 2021-12-22 08:31:14 +00:00
openapi_post_endpoint_test_with_args_url.yaml Add request body to OpenAPI 2021-12-22 08:31:14 +00:00
openapi_post_endpoint_test_with_args.yaml Add request body to OpenAPI 2021-12-22 08:31:14 +00:00
openapi_post_endpoint_test_with_default_arg.yaml Add request body to OpenAPI 2021-12-22 08:31:14 +00:00
setup.yaml Fixed GQL aliases not being respected in the OpenAPI schema 2022-01-27 05:55:55 +00:00
teardown.yaml Add request body to OpenAPI 2021-12-22 08:31:14 +00:00