Skip to content

Conversation

@WyriHaximus
Copy link

This is mainly useful when dealing with webhooks to use the array index as a name for the given webhook as the spec uses it as a unique
identifier: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#openapi-object

@WyriHaximus WyriHaximus mentioned this pull request Jan 17, 2023
3 tasks
This is mainly useful when dealing with webhooks to use the array index
as a name for the given webhook as the spec uses it as a unique
identifier: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#openapi-object
@WyriHaximus WyriHaximus force-pushed the openapi-31-preserve-property-keys branch from 16c20be to a030e01 Compare March 23, 2023 15:49
@cebe
Copy link
Owner

cebe commented Apr 23, 2025

if the value is a map instead of an array, the definition should be changed, so that switch case 2 applies.

@cebe cebe closed this Apr 23, 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.

2 participants