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
I trying
import {SecurityRequirementObject} from 'openapi3-ts'
but getting
TS2305: Module "openapi3-ts" has no exported member SecurityRequirementObject
I see this export here:
https://github.com/metadevpro/openapi3-ts/blob/master/src/model/openapi31.ts
currently i recreating this type locally
export type SecurityRequirementObject = { [key: string]: string[] }
The text was updated successfully, but these errors were encountered:
You have to specify oas version, either:
import { oas31 } from 'openapi3-ts'; oas31.SecurityRequirementObject
or
import { SecurityRequirementObject } from 'openapi3-ts/oas31';
see: https://github.com/metadevpro/openapi3-ts?tab=readme-ov-file#version-4
Sorry, something went wrong.
No branches or pull requests
I trying
import {SecurityRequirementObject} from 'openapi3-ts'
but getting
I see this export here:
https://github.com/metadevpro/openapi3-ts/blob/master/src/model/openapi31.ts
currently i recreating this type locally
The text was updated successfully, but these errors were encountered: