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

Support changing default table schema property name #555

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cnizzardini
Copy link
Owner

@cnizzardini cnizzardini commented Sep 7, 2024

Adds name to OpenApiSchema attribute. This will change the OpenAPI property name for a given schema. For instance, if your table is user_requests, the default alias would be UserRequests and it would appear in OpenAPI schema as 'UserRequests'. You can now change this to Requests with the following:

[OpenApiSchema(name: 'Requests')]
class UserRequests extends Entity
{

@cnizzardini cnizzardini closed this Oct 2, 2024
@cnizzardini cnizzardini reopened this Oct 2, 2024
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.

1 participant