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

openapi: update misc 'features'-tagged endpoints #4192

Merged
merged 8 commits into from
Jul 11, 2023

Conversation

thomasheartman
Copy link
Contributor

This PR updates a slew of miscellaneous endpoints tagged Features

@vercel
Copy link

vercel bot commented Jul 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Jul 10, 2023 2:13pm
unleash-monorepo-frontend ⬜️ Ignored (Inspect) Jul 10, 2023 2:13pm

@@ -38,17 +38,20 @@ export default class ConstraintController extends Controller {
tags: ['Features'],
operationId: 'validateConstraint',
requestBody: createRequestSchema('constraintSchema'),
summary: 'Validate constraint',
description:
'Validates a constraint definition. Checks whether the context field exists and whether the applied configuration is valid. Additional properties are not allowed on data objects that you send to this endpoint.',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This endpoint uses a schema which doesn't allow additional properties. Usually we wouldn't do that, but we validate that the payload has no additional properties in the service method anyway, so I've left it as is and informed the user of it.

Copy link
Contributor

@sjaanus sjaanus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG

@thomasheartman thomasheartman merged commit b927615 into main Jul 11, 2023
10 checks passed
@thomasheartman thomasheartman deleted the openapi/features-misc branch July 11, 2023 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants