- Updated response methods to standardize Content-Type header to "application/json" across OAuth endpoints, enhancing compliance with JSON standards. - Refactored error and success response methods to streamline response generation without unnecessary wrappers, improving clarity and maintainability. - Enhanced security by ensuring all responses include appropriate OAuth security headers, aligning with best practices for sensitive endpoints. - Simplified test assertions for Content-Type in OAuth tests, ensuring consistency in response validation. |
||
|---|---|---|
| .. | ||
| agent | ||
| audit | ||
| docs | ||
| job | ||
| kb | ||
| oauth | ||
| config.go | ||
| config_test.go | ||
| hello.go | ||
| hello_test.go | ||
| oauth.go | ||
| oauth_test.go | ||
| oauth_token_test.go | ||
| openapi.go | ||
| openapi_test.go | ||
| README.md | ||
| response.go | ||
| types.go | ||
| well-known.go | ||