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

Add pre-application advice to swagger examples #2068

Merged
merged 1 commit into from
Dec 10, 2024
Merged

Conversation

pixeltrix
Copy link
Member

Description of change

Add pre-application example to swagger

Story Link

https://trello.com/c/iWGN8LwR

Known issues

The main branch of the ODP schemas repo has a broken version of the pre-application schema and example because the build scripts were failing. To workaround this the PR uses a fixed version from theopensystemslab/digital-planning-data-schemas#281 which adds the data.application.type. The intent is to migrate to a root level applicationType key but this is left until the work on the prototypeApplication schema is complete.

The format of the files in the pre-application example is different to the application schema with a simple string being returned instead of an object. To workaround this we do a type check and copy the tag to both the tags and description column because there's no lookup within BOPS for the description.

@pixeltrix pixeltrix force-pushed the add-preapp-to-swagger branch from 09f226e to 86d7201 Compare December 10, 2024 06:50
@pixeltrix pixeltrix marked this pull request as ready for review December 10, 2024 06:51
@pixeltrix pixeltrix merged commit d366802 into main Dec 10, 2024
23 checks passed
@pixeltrix pixeltrix deleted the add-preapp-to-swagger branch December 10, 2024 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants