exoego / exoego/rspec-openapi

Suggestion for the readOnly property

Open
#133 1 comment 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Ruby
Stars
509
Forks
76
Avg merge
12h 46m
Merged PRs (30d)
16

Description

I believe many people use `id` or `uuid` in their schematics. And always, this field is read-only.

I suggest to automatically set `readOnly: true` for such fields.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no file, test, or entry point. Start by tracing where schematic fields become OpenAPI properties and how readOnly is currently assigned; clarify which id or uuid fields qualify, then define the expected generated schema and tests before implementing the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi, ruby
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.