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

Provide built-in support for "write-only" fields for secret/hidden values #19

Open
emk opened this issue May 9, 2022 · 0 comments
Open

Comments

@emk
Copy link
Contributor

emk commented May 9, 2022

When using an OpenAPI interface to manage passwords, we may want to allow fields like password to appear in the input, but not in the results of GET requests. We could do this by adding a field secret: true, and either:

  1. Removing the field entirely from the GET version of a structure, or
  2. Allowing it to be present, but only with a placeholder value.

The decision between these two choices is ongoing inside Faraday.

@emk emk changed the title Provide built-in support for Provide built-in support for "write-only" fields for secret/hidden values May 9, 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

No branches or pull requests

1 participant