Se vcs tiver tendo este problema ao execultar a api com caminho (localhost:8080/api/pedidos/aguardando) e estiver dando este erro (There was an unexpected error (type=Internal Server Error, status=500). Type definition error: [simple type, class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: java.util.ArrayList[0]->br.com.wso.mvc.model.Pedido["user"]->br.com.wso.mvc.model.User$HibernateProxy$aCxw6MPQ["hibernateLazyInitializer"])).
A solucao que achei foi esta , na classe Pedido incluir o: @ManyToOne(fetch = FetchType.LAZY) @JsonIgnoreProperties(value = {"applications", "hibernateLazyInitializer"}) - (Incluir) private User user;
Voltou a funcionar.
Espero que tenha ajudado.