{"openapi":"3.0.0","info":{"title":"3rdwave Public API","version":"1.0.0","contact":{"email":"bill.zhao@3rdwave.co"},"license":{"name":"Testing","url":"https://www.apache.org/licenses/LICENSE-2.0"}},"servers":[{"description":"first version of 3rdwave public api","url":"localhost:http://localhost:8080/blinco-3ww-webapp/"}],"paths":{"/product/{productId}":{"get":{"parameters":[{"$ref":"#/components/parameters/parthParam"},{"$ref":"#/components/parameters/headerParam"}],"responses":{"200":{"description":"This is a list of info","content":{"application/json":{"schema":{"$ref":"https://api.swaggerhub.com/domains/rdwave/publicapi/1.0.0#/components/schemas/product"}},"application/xml":{"schema":{"$ref":"https://api.swaggerhub.com/domains/rdwave/publicapi/1.0.0#/components/schemas/product"}}}},"400":{"$ref":"#/components/responses/400ApiError"}}}},"/product":{"get":{"parameters":[{"$ref":"#/components/parameters/parthParam"},{"$ref":"#/components/parameters/headerParam"}],"responses":{"200":{"description":"This is a list of info","content":{"application/json":{"schema":{"$ref":"https://api.swaggerhub.com/domains/rdwave/publicapi/1.0.0#/components/schemas/product"}},"application/xml":{"schema":{"$ref":"https://api.swaggerhub.com/domains/rdwave/publicapi/1.0.0#/components/schemas/productList"}}}},"400":{"$ref":"#/components/responses/400ApiError"}}}},"/productUpdate":{"post":{"security":[{"password":["write"]}],"description":"update the product","requestBody":{"content":{"application/json":{"schema":{"$ref":"https://api.swaggerhub.com/domains/rdwave/publicapi/1.0.0#/components/schemas/product"}}}},"responses":{"200":{"description":"The product has been created.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"2025-06-07 updated"}}}}}},"500":{"$ref":"#/components/responses/400ApiError"}}}}},"components":{"schemas":null,"responses":{"400ApiError":{"description":"Unexpected error message","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"unfound error message"}}}}}}},"parameters":{"parthParam":{"in":"path","name":"productId","required":true,"schema":{"type":"integer","example":12345}},"headerParam":{"in":"header","name":"customer-security-header","required":false,"schema":{"type":"integer","example":12123212}}},"securitySchemes":{"password":{"type":"oauth2","flows":{"password":{"tokenUrl":"http://example.com/oauth/token","scopes":{"write":"allows modifying resources","read":"allows reading resources"}}}}}}}