We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
According to the documentation for dictionaries, they can contain free-form objects which are specified in one of the following forms:
type: object "additionalProperties": {}
type: object "additionalProperties": true
How would I annotate the following Java code so the Gradle resolve task generates an OpenApi dictionary in the form above?
public class CreateRequest { private Map<String, Object> contextData; }
Without any annotation I end up with the following specification:
"additionalProperties": { "type": "object", "nullable": true }
This isn't quite the same as this dictionary couldn't hold strings, for example (a "string" is not an "object" in OpenApi).
The text was updated successfully, but these errors were encountered:
No branches or pull requests
According to the documentation for dictionaries, they can contain free-form objects which are specified in one of the following forms:
How would I annotate the following Java code so the Gradle resolve task generates an OpenApi dictionary in the form above?
Without any annotation I end up with the following specification:
This isn't quite the same as this dictionary couldn't hold strings, for example (a "string" is not an "object" in OpenApi).
The text was updated successfully, but these errors were encountered: