Skip to content

Commit

Permalink
[release/5.x] Cherry pick: Return schema correctly in gov/service/jav…
Browse files Browse the repository at this point in the history
…ascript-app endpoint (#6432) (#6437)

Co-authored-by: Amaury Chamayou <[email protected]>
  • Loading branch information
ccf-bot and achamayou authored Aug 12, 2024
1 parent 6eab9f0 commit 86ad542
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
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

0 comments on commit 86ad542

Please sign in to comment.