Open gustawdaniel opened 2 months ago
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
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