@xrengine/server-core
Version:
Shared components for XREngine server
35 lines (34 loc) • 619 B
text/typescript
/**
* An object for swagger documentation configuration
*/
export default {
definitions: {
'static-resource': {
type: 'object',
properties: {
sid: {
type: 'string'
},
name: {
type: 'string'
},
description: {
type: 'string'
},
url: {
type: 'string'
},
mimeType: {
type: 'string'
},
metadata: {
type: 'string'
}
}
},
'static-resource_list': {
type: 'array',
items: { $ref: '#/definitions/static-resource' }
}
}
}