{"openapi":"3.1.0","info":{"title":"rpe demo","description":"rpe demo","license":{"name":"MIT","url":"https://opensource.org/licenses/MIT"},"version":"v0.0.1"},"externalDocs":{"description":"README","url":"https://github.com/hmcts/spring-boot-template"},"servers":[{"url":"http://localhost","description":"Generated server url"}],"paths":{"/v1/search/address/{postcode}":{"get":{"tags":["address-controller"],"operationId":"getAddress","parameters":[{"name":"postcode","in":"path","required":true,"schema":{"type":"string","pattern":"([Gg][Ii][Rr] 0[Aa]{2})|((([A-Za-z][0-9]{1,2})|(([A-Za-z][A-Ha-hJ-Yj-y][0-9]{1,2})|(([A-Za-z][0-9][A-Za-z])|([A-Za-z][A-Ha-hJ-Yj-y][0-9][A-Za-z]?))))\\s?[0-9][A-Za-z]{2})"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NsplAddress"}}}}}}},"/":{"get":{"tags":["root-controller"],"operationId":"welcome","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string"}}}}}}}},"components":{"schemas":{"JsonNode":{},"NsplAddress":{"type":"object","properties":{"postcode":{"type":"string"},"fourCharLaCode":{"type":"string"},"nineCharLaCode":{"type":"string"},"addresses":{"type":"array","items":{"$ref":"#/components/schemas/JsonNode"}}}}}}}
