Skip to content

Conversation

@codegen-sh
Copy link
Contributor

@codegen-sh codegen-sh bot commented May 22, 2025

This PR updates the Policy schema to ensure that all abilities are always boolean values, as reported in outline/outline#9277.

Changes

  • Modified the Policy schema to use additionalProperties with type: boolean instead of listing individual abilities
  • Added a description and example to clarify the expected format
  • Generated the updated JSON file

Issue

In the current implementation, some abilities in the API response for collections.list are sometimes returned as arrays instead of boolean values. This PR ensures that the OpenAPI specification correctly defines all abilities as boolean values.

Fixes outline/outline#9277


💻 View my workAbout Codegen

@tommoor tommoor closed this May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

collections.list returning invalid policies mapping

2 participants