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 functionality for custom problem details extensions #1

Open
AmielCyber opened this issue Aug 11, 2023 · 0 comments
Open

Add functionality for custom problem details extensions #1

AmielCyber opened this issue Aug 11, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@AmielCyber
Copy link
Owner

Add functionality for custom problem details extensions to replace errors. The default extension in ASP.NET is errors. You may have a different name for this property. Hence, I will implement the option to change errors to the name of your extension.
For example:
From default

"errors": {
    "PasswordRequiresDigit": [
      "Passwords must have at least one digit ('0'-'9')."
    ],
    "PasswordRequiresUpper": [
      "Passwords must have at least one uppercase ('A'-'Z')."
    ],
    "PasswordRequiresNonAlphanumeric": [
      "Passwords must have at least one non alphanumeric character."
    ]
}

to

"invalid-params": {
   ...
  }
@AmielCyber AmielCyber added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant