Skip to content

Commit

Permalink
feat(images): allow more generated props
Browse files Browse the repository at this point in the history
  • Loading branch information
eljefedelrodeodeljefe committed Jan 14, 2019
1 parent edb8e1e commit cb4e5d7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
14 changes: 13 additions & 1 deletion lib/v0/branches/base.js
Expand Up @@ -119,15 +119,27 @@ module.exports = {
anyOf: [
{
type: 'object',
additionalProperties: false,
additionalProperties: true,
properties: {
'1x': {
type: 'string',
format: 'uri'
},
'2x': {
type: 'string',
format: 'uri'
},
'3x': {
type: 'string',
format: 'uri'
},
avatar: {
type: 'string',
format: 'uri'
},
original: {
type: 'string',
format: 'uri'
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion lib/v0/customers/create.request.js
Expand Up @@ -191,7 +191,7 @@ module.exports = {
anyOf: [
{
type: 'object',
additionalProperties: false,
additionalProperties: true,
properties: {
'1x': {
type: 'string',
Expand Down
2 changes: 1 addition & 1 deletion lib/v0/customers/update.request.js
Expand Up @@ -191,7 +191,7 @@ module.exports = {
anyOf: [
{
type: 'object',
additionalProperties: false,
additionalProperties: true,
properties: {
'1x': {
type: 'string',
Expand Down

0 comments on commit cb4e5d7

Please sign in to comment.