Tag: java
-
Generating JSON Schema in Java with "additionalProperties" set to "true"
Recently i was working on a new tool for contract testing that we decided to develop in New10 from scratch. We decided that we would like to use JSON Schema's for contracts validation and for that i needed to implement several SDK's in typescript, java, python in order to support…
-
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…
-
Fabricator - my first publication to public repository
This is actually happenned ! Last year i had a dream - i wanted to create a library that i will publish to Maven Centrar repository, so not only me , but the rest of the world could use it. I took me a year to finalize first version of Fabricator and…
-
How to write a custom JIRA plugin that will send email on custom field value change
So, as i described here it was decided to write a custom plugin that will acomplish concrete goal for our need : We have custom fields that has various values We need to send e-mail to specific people when custom field was modified with specific value Email should be sent only…
-
How to setup JIRA plugin Project in Intelij IDEA on Mac
As i said previously in my post i came to conclusion that i need to write my own custom JIRA plugin. To do that , we first need to setup project and make sure that it's possible to debug the code you write. I usually use Intelij IDEA for writing code…
-
Found my own solution for WebDriver "StaleElementReferenceException" problem
Currenlty i'm working on a WebDriver framework using Java bindings and i kept facing one problem pretty often - "StaleElementReferenceException". I think this is a big pain in the ass for every UI Automation Engineer who's working with WebDriver. I tried several approaches to fix this problem and…