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

Allow developers to add descriptions to endpoints #2

Conversation

Rocksheep
Copy link
Collaborator

This commit allows developers to add descriptions to their generated documents. I have added the change to schema so that developers can create their descriptions without having to create controllers.

See tests/Feature/OpenApiSchemaTest.php and tests/Support/JsonApi/V1/Posts/PostSchema.php for an example.

@Rocksheep Rocksheep requested a review from bbrala February 21, 2022 09:57
composer.json Show resolved Hide resolved
src/Descriptors/Actions/ActionDescriptor.php Outdated Show resolved Hide resolved
src/Descriptors/Schema/Schema.php Show resolved Hide resolved
src/Descriptors/Schema/Schema.php Show resolved Hide resolved
tests/Support/JsonApi/V1/Posts/PostSchema.php Show resolved Hide resolved
@Rocksheep Rocksheep force-pushed the feature/allow-developers-to-add-descriptions-to-endpoints branch from 5757ea1 to 507a8d3 Compare February 21, 2022 10:58
@Rocksheep Rocksheep merged commit 59ab11d into swisnl:master Feb 21, 2022
@Rocksheep Rocksheep deleted the feature/allow-developers-to-add-descriptions-to-endpoints branch February 21, 2022 11:19
@JaZo JaZo changed the title Feature/allow developers to add descriptions to endpoints Allow developers to add descriptions to endpoints Feb 21, 2022
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