Moritz Lintterer

Results 7 comments of Moritz Lintterer

> Furthermore, I believe the Open API generated by smithy4s contains a _media-type_ at the content level. Take this response for example. Here the media-type is `application/json`: > > ```...

For example, I'd like to be able to mark a blob as an image/png in a smithy file, and this content type should be displayed in the generated open api.

@Baccata thank you for providing such valuable information! Will the codegen and and open api part of the project still work with the aws.protocols#restJson1 annotation?

Thanks for your answers once again. I will give a shot tomorrow. tyvm @Baccata @daddykotex ! dont worry about it @daddykotex :)

So, I tried to use the > aws.protocols#restJson1 but unfortunately the codegen doesn't work. I'm not sure if I'm missing the aws package for the protocols or something similar because...

> @LiiMooTBM you can pull in the `smithy4s-aws-kernel` dependency, which contains the generated code for a few aws-namespaces. Tyvm that worked! Just for my information is there an easy way...

Okay, I think I've looked enough into it get a basic understanding. My understanding is that it's pretty hard to extract the @mediatype when using the Smithy4sAbstractRestProtocol class. So is...