loopbackio / loopback-next

LoopBack makes it easy to build modern API applications that require complex integrations.
https://loopback.io
Other
4.96k stars 1.07k forks source link

fix: show readOnly in openapi specs if readOnly is true in mode #10717

Closed aaqilniz closed 1 week ago

aaqilniz commented 1 week ago

My previous PR added readOnly to openapi specs if a model property is generated - which was not a correct implementation. This PR fixes that.

Checklist

👉 Check out how to submit a PR 👈

aaqilniz commented 1 week ago

That makes sense. We can do that at the PR with Github's revert option, right?

aaqilniz commented 1 week ago

Closing for PR#10719