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

Support json objects in query parameters to create/update configurations #104

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 deletions API-proposed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2168,38 +2168,44 @@ components:
type: string
description: Describes the configuration parameter
description: A list of configuration parameter descriptors to be passed when
creating or updating a configuration instance of this type.
creating or updating a configuration instance of this type. Use this instead
of schema. Omit if not used.
ConfigurationSourceType:
type: object
properties:
parameterDescriptors:
type: array
description: A list of configuration parameter descriptors to be passed
when creating or updating a configuration instance of this type.
when creating or updating a configuration instance of this type. Use this
instead of schema. Omit if not used.
items:
$ref: '#/components/schemas/ConfigurationParameterDescriptor'
description:
type: string
description: Describes the configuration source type
schema:
$ref: '#/components/schemas/OptionalSchema'
name:
type: string
description: The human readable name
id:
type: string
description: The unique ID of the configuration source type
OptionalSchema:
type: object
description: A JSON object that describes a schema for parameters that the front-end
needs to provide with corresponding values. Use this for complex parameter
descriptions instead of parameterDescriptors. Omit if not used.
ConfigurationQueryParameters:
required:
- parameters
type: object
properties:
parameters:
type: object
additionalProperties:
type: object
description: Parameters as specified in corresponding ConfigurationTypeDescriptor.
Use key `path` for file URI string values.
description: Parameters as specified in corresponding ConfigurationTypeDescriptor.
Use key `path` for file URI string values.
description: "Parameters as JSON object as specified in the schema of the\
\ corresponding ConfigurationTypeDescriptor or as a Map<String, Object>.\
\ Use key `path` for file URI string values."
AnnotationCategoriesModel:
type: object
properties:
Expand Down
22 changes: 14 additions & 8 deletions API.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1475,38 +1475,44 @@ components:
type: string
description: Describes the configuration parameter
description: A list of configuration parameter descriptors to be passed when
creating or updating a configuration instance of this type.
creating or updating a configuration instance of this type. Use this instead
of schema. Omit if not used.
ConfigurationSourceType:
type: object
properties:
parameterDescriptors:
type: array
description: A list of configuration parameter descriptors to be passed
when creating or updating a configuration instance of this type.
when creating or updating a configuration instance of this type. Use this
instead of schema. Omit if not used.
items:
$ref: '#/components/schemas/ConfigurationParameterDescriptor'
description:
type: string
description: Describes the configuration source type
schema:
$ref: '#/components/schemas/OptionalSchema'
name:
type: string
description: The human readable name
id:
type: string
description: The unique ID of the configuration source type
OptionalSchema:
type: object
description: A JSON object that describes a schema for parameters that the front-end
needs to provide with corresponding values. Use this for complex parameter
descriptions instead of parameterDescriptors. Omit if not used.
ConfigurationQueryParameters:
required:
- parameters
type: object
properties:
parameters:
type: object
additionalProperties:
type: object
description: Parameters as specified in corresponding ConfigurationTypeDescriptor.
Use key `path` for file URI string values.
description: Parameters as specified in corresponding ConfigurationTypeDescriptor.
Use key `path` for file URI string values.
description: "Parameters as JSON object as specified in the schema of the\
\ corresponding ConfigurationTypeDescriptor or as a Map<String, Object>.\
\ Use key `path` for file URI string values."
AnnotationCategoriesModel:
type: object
properties:
Expand Down