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

[release/5.x] Cherry pick: Return schema correctly in gov/service/javascript-app endpoint (#6432) #6437

Merged
merged 2 commits into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [5.0.3]

[5.0.3]: https://github.com/microsoft/CCF/releases/tag/ccf-5.0.3

### Bug fix

- In `GET gov/service/javascript-app`, `openApi` now correctly returns the schema set for the endpoint (#6430)

## [5.0.2]

[5.0.2]: https://github.com/microsoft/CCF/releases/tag/ccf-5.0.2
Expand Down
2 changes: 1 addition & 1 deletion src/node/gov/handlers/service_state.h
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ namespace ccf::gov::endpoints
operation["authnPolicies"] = policies;

operation["mode"] = properties.mode;
operation["openApi"] = properties.authn_policies;
operation["openApi"] = properties.openapi;

operations[key.verb.c_str()] = operation;

Expand Down