import { JSONAPISerializer } from 'ember-cli-mirage';

export default JSONAPISerializer.extend({
});

@@ -2,23 +2,20 @@
 mport %7B 
-JSONAPI
+Rest
 Serializ
@@ -64,34 +64,428 @@
 ult 
-JSONAPISerializer.extend(%7B
+RestSerializer.extend(%7B%0A  serialize(object, request) %7B%0A    let json = RestSerializer.prototype.serialize.call(this, object, request);%0A    return json%5BObject.keys(json)%5B0%5D%5D;%0A  %7D,%0A%0A  keyForForeignKey(relationshipName) %7B%0A    if (relationshipName === 'wp:featuredmedia') return relationshipName;%0A    return RestSerializer.prototype.keyForForeignKey.apply(this, arguments);%0A  %7D,%0A%0A  keyForAttribute(attr)%7B%0A    return attr;%0A  %7D
 %0A%7D);

implement mirage serializer to mock wordpress api