ContributionsMost RecentMost LikesSolutionsSchema displayed in https://editor.swagger.io/ is not showing in swagger ui I am trying to generate a spring server using a yaml file onhttps://editor.swagger.io/,but after I generate my spring server and I execute my spring boot application, I could not see a schema named 'error' referenced under response code 400. Below is the contents of my yaml file openapi: 3.0.0 info: title: Dealer Management System description: REST APIs to manage dealers version: 1.0.0 contact: name: Srinivasan Ramu email: srinimarva@gmail.com tags: - name: Dealer description: REST endpoints to manage dealers paths: /dealers/addNew: post: summary: Add new dealer description: To add a new dealer tags: - Dealer requestBody: content: application/json: schema: $ref: "#/components/schemas/dealer" responses: "200": description: Dealer added successfully content: application/json: schema: $ref: "#/components/schemas/dealer" "400": description: Bad request content: application/json: schema: $ref: "#/components/schemas/error" components: schemas: dealer: type: object properties: dealerId: type: integer description: Unique id to represent a dealer example: 34089 dealerName: type: string description: Name of the dealer example: Town North Mazda dealerAddress: type: string description: Address of the dealer example: 1715 North Central Expressway dealerCity: type: string description: City where the dealer is located example: Richardson dealerState: type: string description: State where the dealer is located example: TX dealerZip: type: integer description: Zip code where the dealer is located example: 75080 error: type: object properties: id: type: string description: Unique id to represent a type of error example: bad_request message: type: string description: Meaningful message about what went wrong example: dealer id already exists Steps to reproduce the issue Go tohttps://editor.swagger.io/ Copy paste my yaml file and witness there are two schemas displayed - dealer and error Click Generate Server -> spring menu option Unzip the downloaded project and import the Maven project into (Spring Tools Suite) STS application Run the spring boot project and go to http://localhost:8080/swagger-ui/index.html Go to schemas section and check if you can see both dealer and error models Please help me understand on what mistake am I making while generating my spring boot server? How to clear all existing properties of a data source using groovy code? Hi, Is there a way to clear all existing properties of a data source using Groovy code? Thanks, Srini Unsupported File Format using Data Source - File Option When trying to import properties from a text file, I am getting the above error. Could anyone please help me to resolve this? I attached the text file that I am using to import the properties Re: How do I read value from JSON node using its path without parsing? Hi Rao, Thanks for your reply. When I followed the instructions in the link you have shared I am facing the below issue Could you please help me in resolving this? How do I read value from JSON node using its path without parsing? { "title": "Person", "type": "object", "properties": { "firstName": { "type": "string" }, "lastName": { "type": "string" }, "age": { "description": "Age in years", "type": "integer", "minimum": 0 } }, "required": ["firstName", "lastName"] } Json path I have is -$.properties..description Now how do I get the result from above JSON using this json path in groovy. Re: How do I setup test case property key using a variable value? Hi Lucian, How do I add a property named Property1 at test case level using the variable 'a' reference? Re: How do I setup test case property key using a variable value? Hi Lucian, Thanks for your reply. I want to add a property name (key) using a variable value and not the property value. How do I do that? How do I setup test case property key using a variable value? def a = Property1 testRunner.testCase.addProperty(<Value of a>) As you can see in the above piece of code, I have declared a variable named 'a' and assigned a value of Property1. Now how do I add a property using the variable 'a'? SolvedRe: How do I retrieve Raw Request using Context variable in Groovy? log.info "Request is: "+context.expand('${GetRebates#Request}') log.info "Raw Request is: "+context.expand('${GetRebates#RawRequest}') Both the lines of code returns me the same content. How do I retrieve Raw Request using Context variable in Groovy? Is there a way I can get the Raw Request contents using Context variable in Groovy? If so, how do I achieve this?