Describe the bug
I have an OpenAPI definition, Master-OB-OpenAPI.json, which doesn't have any path in it, only schema definitions. I've tried to generate the Graphql schema file, but it only generated this
schema {
query: QueryPlaceholder
}
"""Placeholder object"""
type QueryPlaceholder {
"""Placeholder field"""
message: String
}
To Reproduce
Steps to reproduce the behavior:
- Execute
npx openapi-to-graphql .\Master-OB-OpenAPI.json --save output.sdl
- Inspect the
output.sdl file
- See the output written above
Expected behavior
I would expected an sdl file with all the schemas in it
Describe the bug
I have an OpenAPI definition, Master-OB-OpenAPI.json, which doesn't have any
pathin it, onlyschemadefinitions. I've tried to generate the Graphql schema file, but it only generated thisTo Reproduce
Steps to reproduce the behavior:
npx openapi-to-graphql .\Master-OB-OpenAPI.json --save output.sdloutput.sdlfileExpected behavior
I would expected an sdl file with all the schemas in it