-
Notifications
You must be signed in to change notification settings - Fork 23
feat: add HCP Vault Secrets API docs #2050
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git βοΈ
|
π¦ Next.js Bundle AnalysisThis analysis was generated by the next.js bundle analysis action π€ New Page AddedThe following page was added to the bundle from the code in this PR:
|
emilypersson1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice, thank you!
|
@zchsh working on updating the title & Is the intent that multiple sub-sections can exist? For the |
|
@kartiklunkad26 Great question! The intent behind showing that subheading is to display the service name, which made sense in the context of the Boundary API docs for which this template was originally built (see https://developer.hashicorp.com/boundary/api-docs/account-service)... but obviously isn't quite as applicable in this case! If we'd like, I can remove the |
|
Perfect! |
|
@kartiklunkad26 I've update this PR to remove the subheading, and updated the screenshot in the PR description. Should take just a couple minutes for the preview to rebuild! |
| * Intended to be used with a `<PathTruncationAside />` in each operation intro. | ||
| */ | ||
| function truncateVaultSecretsOperationPath(path: string) { | ||
| return path.replace( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
βοΈ Could we add a bit more clarity as to what the regex should match on in the comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π Great call! Added in a comment on this regex matching a standard prefix π
kendallstrautman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Co-authored-by: Kendall Strautman Swarthout <36613477+kendallstrautman@users.noreply.github.com>
π Relevant links
ποΈ What
This PR adds API documentation for HCP Vault Secrets at /hcp/api-docs/vault-secrets.
π€· Why
To better expose documentation for this API to users.
π οΈ How
Applies existing work with HCP Packer API docs to the analogous Swagger file for HCP Vault Secrets.
πΈ Design Screenshots
π§ͺ Testing
π Anything else?