1. Fixing "io.swagger.client.ApiException: Content type "text/plain" is not supported" problem

    Let's say we have a endpoint definition in swagger like this : /hello: post: summary: Say hello description: '' operationId: sayHello consumes: - text/plain produces: - application/json parameters: - in: body name: body required: false schema: type: string responses: '200': description: successful operation schema: $ref: '#/definitions/Hello' You…

    on swagger-codegen swagger java

  2. Keeping your serverless project size nice and clean

    At New10, as a Software Engineer in Test, i'm quite often build some small serverless projects that help our teams to make test automation and debugging of our system. Easier. I'm working now more and more with things like yarn, javascript and serverless framework. Today i discovered a nice yarn…

    on javascript serverless yarn npm

  3. Cool git trick for setting author

    Don't know about you, but in the past i had couple times burned myself when wrong git configuration of the project was making me to commit things under wrong author. I'm using my work laptop for personal projects as well, so sometimes i mix "identities" and get in…


  4. How to pretty print JSON in bash console

    Recently i was playing with Swagger Codegen tool and i needed to look at available configuration fields for java language. You can do it easily by running : curl -X GET --header 'Accept: application/json' 'https://generator.swagger.io/api/gen/clients/java' But, as an output, you'll get this : {"…

    on swagger-codegen javascript bash json prettyprint

  5. How to fix docker-machine installation on Mac OS X

    Recently i got a new macbook pro and i started setting it up. Everything was going great until i tried to install docker and create default docker machine. After i installed Docker for Mac, i tried to start virtual machine : docker-machine create -d virtualbox default Running pre-create checks... Creating machine.…

    on virtualbox docker docker-machine macosx

  6. Reading plist resource from your iOS Framework library

    Currently at my work i'm writing a lot of XCUITest tests and therefore have to work closely to iOS development field and Swift ( which is exciting). However, moving from Scala/Java/Python field into this new language is a bit challenging, since iOS world works a lot different. So, in…

    on swift frameword plist