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

added support for (array of) object without properties #3247

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

rparree
Copy link
Contributor

@rparree rparree commented Oct 16, 2023

I came across the across the following openAPI def (https://github.com/dahag-ag/keycloak-openapi/blob/0ec0f45ec0890ca12f9733aa4f5794a2e7a1d98b/OpenApiDefinitions/keycloak-21.0.0.yml#L7623):

The current version of the sbt-openapi-codegen does not support this and halts the import. This PR fixes that

components:
  schemas:
    ClientPoliciesRepresentation:
      type: object
      properties:
        policies:
          type: array
          items:
            type: object
            description: ClientPolicyRepresentation

@rparree
Copy link
Contributor Author

rparree commented Oct 16, 2023

Just noticed a regression on "parse map"

@rparree rparree force-pushed the array-object-no-props branch from 36c27dd to 87538f2 Compare October 16, 2023 16:45
@rparree
Copy link
Contributor Author

rparree commented Oct 16, 2023

fixed the regression

@adamw adamw merged commit 0474730 into softwaremill:master Oct 17, 2023
10 checks passed
@adamw
Copy link
Member

adamw commented Oct 17, 2023

Thanks :)

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.

2 participants