We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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: 3.0.1 info: title: Test version: v1.0 paths: /test: get: description: Test operationId: test responses: 200: description: Test content: application/json: schema: example: {}
client: fetch
export type testResponse = { data: ; status: number; headers: Headers; }
export type testResponse = { data: unkown; status: number; headers: Headers; }
The text was updated successfully, but these errors were encountered:
Also, when using this schema:
openapi: 3.0.1 info: title: Test version: v1.0 paths: /test: get: description: Test operationId: test responses: 200: description: Test content: application/json: schema: example: {} 400: description: Error content: application/json: schema: type: string
this is generated:
export type testResponse = { data: string; status: number; headers: Headers; };
which is wrong, since data should be unknown, which in turn generates another error:
data
Sorry, something went wrong.
AllieJonsson
Successfully merging a pull request may close this issue.
What are the steps to reproduce this issue?
client: fetch
What happens?
What were you expecting to happen?
The text was updated successfully, but these errors were encountered: