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

Documenting enum schemas #304

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

benilovj
Copy link

@benilovj benilovj commented Jun 23, 2022

What’s changed

The tech docs template doesn't appear to allow documenting enums in schemas.

This change adds basic support for this feature:

image

Identifying a user need

Within DfE, we have a need to display enums when generating the API docs for the Qualified Teachers API.

@benilovj benilovj changed the title Enums support Documenting enum schemas Jun 23, 2022
If a schema provides an list of enum values, generate them as a (sorted) list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant