Skip to content
New issue

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

Specify default value for the integer example #91

Closed
hverlin opened this issue Jan 27, 2020 · 1 comment
Closed

Specify default value for the integer example #91

hverlin opened this issue Jan 27, 2020 · 1 comment

Comments

@hverlin
Copy link

hverlin commented Jan 27, 2020

This is a feature request.

Would it be possible to change the default example value for the integer type?
Right now the default is 0, but since an integer is usually an id, it often makes more sense to use 1 in the examples.

Right now, the workaround is to specify the example every time an integer type is defined.

Not sure if this feature request would make sense for other types as well?

@RomanHotsiy RomanHotsiy transferred this issue from Redocly/redoc Mar 13, 2020
@RomanHotsiy
Copy link
Member

This makes sense. PR would be appreciated!

@hverlin hverlin closed this as not planned Won't fix, can't repro, duplicate, stale Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants