Microserver is a zero configuration, standards based, battle hardened library to run Java Rest Microservices via a standard Java main class.
People
Repo info
Activity
Marco Castigliego
@marcocast
If i send a json request to a previous working rest service, then i get : Status 415 Unsupported Media Type
John McClean
@johnmcclean
just on that resource - or on all other resources ?
Marco Castigliego
@marcocast
all
John McClean
@johnmcclean
wow - let’s try Stackoverflow
Marco Castigliego
@marcocast
it looks like it is overriding all the other default classes
John McClean
@johnmcclean
oh hold on. let me check the code
it should still add the other resources looking at the code. You can try adding them in manually to confirm, if you like. They are : JacksonFeature.class, ApiListingResourceJSON.class,JerseyApiDeclarationProvider.class, JerseyResourceListingProvider.class
Marco Castigliego
@marcocast
ok let me try
Marco Castigliego
@marcocast
works now
let me test the multipart as well
John McClean
@johnmcclean
ok cool - what version of Microserver are you using ?
Marco Castigliego
@marcocast
59
Ciaran Treanor
@ciarant
Hey all - you get your Multipart stuff working ok?
John McClean
@johnmcclean
looks like there was some sort of conflict between multipart and non-multipart
(or is should I say)
Marco Castigliego
@marcocast
looks like. i m running many tests
why not adding the MultiPartFeature.class directly in the default classes of the module class?
John McClean
@johnmcclean
sure, if you have it working, submit a PR for it :)