Skip to content

Commit

Permalink
Return schema correctly in gov/service/javascript-app endpoint (micro…
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou authored Aug 12, 2024
1 parent 4cbc7eb commit 4089c91
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 4089c91

Please sign in to comment.