Hello, when I generate the providers pact using OA...
# general
l
Hello, when I generate the providers pact using OAS, I'm getting error: "nullable" cannot be used without "type". I guess it's coming from the fact that the array type is not added to nullable objects Not working (yaml OAS):
items:
nullable: true
Working (yaml OAS):
items:
type: array
nullable: true
Is there a way fix this without having to manually edit the OAS yaml file?
m
How are you generating the OAS? It's invalid which is why that's erroring.
l
Hey Matt, thanks for replying. I'm using "serverless-openapi-documenter" lib to generate my swagger jsons for the different services that I have in the repo. After that I'm using "openapi-merge-cli" to merge those jsons and generate a single OAS file.
👍 1