aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/main/resources/openapi
AgeCommit message (Collapse)AuthorFilesLines
2023-08-08Removed db-based statistics featureSuresh Charan1-730/+2
Statistics code cleanup Issue-ID: POLICY-4109 Change-Id: I543080e1ed3ce9c4f16d01df8f13219cba0a9c8c Signed-off-by: Suresh Charan <suresh.charan@bell.ca>
2023-01-17Use generated PAP interface for Swaggerlapentafd1-130/+181
This commit removes the Swagger V2 annotations on the Rest Controllers in policy-pap. The OpeApi annotations (Swagger v3 annotations) are on a generated Java Interface. The code is changed so that the controller implements that interface. There are minimal code changes to the controller and the order of the parameters is switched in some cases. Issue-ID: POLICY-4404 Change-Id: I060709806a8e5bc04d9873c8d212a5c9fe13c4d4 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2022-11-17Add OpenAPI Swagger 3 spec and API generationliamfallon1-0/+3712
This commit adds the Policy/API OpenAPI (Swagger) document as a source document under source control. This OpenAPI document was generated from the existing SpringFox annotations in the source code, was uploaded to the online Swagger editor and was converted into OpenAPI 3.0 format. It was then manually edited to correct the return types and to match the input and putput types to our Java classes. The pom.xml is also amended to generate the API interface source doe in the target/generated-sources directory. The generated code does NOT replace the existing API code as yet. Issue-ID: POLICY-4431 Change-Id: Iee1cc6a122deffcd05728e8f34172f8d423ebcef Signed-off-by: liamfallon <liam.fallon@est.tech>