Skip to content

docgen: include Authorization header requirement in OpenRPC method de…#4818

Open
Sushil-19 wants to merge 1 commit intocelestiaorg:mainfrom
Sushil-19:fix-openrpc-auth-example
Open

docgen: include Authorization header requirement in OpenRPC method de…#4818
Sushil-19 wants to merge 1 commit intocelestiaorg:mainfrom
Sushil-19:fix-openrpc-auth-example

Conversation

@Sushil-19
Copy link

This change improves the OpenRPC documentation by explicitly indicating that
authenticated RPC methods require the HTTP header:

Authorization: Bearer

Previously the documentation only indicated the permission level
(e.g. "Auth level: read"), which could lead to confusion when users
copied request examples and encountered authorization errors.

This change updates the OpenRPC generator so that all methods with
permissions automatically include the required Authorization header
information in their descriptions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external Issues created by non node team members

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant