@@ -14,8 +14,9 @@ GET https://api.dev.smartclide.eu/architectural-patterns/supported-patterns
1414
1515### Response
1616
17- Responses ( application/json)
17+ Content-Type: ` application/json `
1818
19+ ``` json
1920[
2021 " EVENT_DRIVEN" ,
2122 " LAYERED" ,
@@ -24,6 +25,7 @@ Responses (application/json)
2425 " SERVICE_ORIENTED" ,
2526 " SPACE_BASED"
2627]
28+ ```
2729
2830## Survey
2931
@@ -35,7 +37,7 @@ GET https://api.dev.smartclide.eu/architectural-patterns/survey
3537
3638### Response
3739
38- Responses ( application/json)
40+ Content-Type: ` application/json `
3941
4042Please see [ survey.json] ( src/main/resources/jsonfiles/survey.json ) .
4143
@@ -49,16 +51,21 @@ POST https://api.dev.smartclide.eu/architectural-patterns/evaluation
4951
5052Body: required
5153
54+ Content-Type: ` application/json `
55+
5256Example value:
5357
58+ ``` json
5459[" Q1_1" ," Q2_1" ," Q2_2" ," Q3_3" ," Q3_4" ," Q4_1" ," Q4_2" ," Q5_3" ]
60+ ```
5561
5662### Response
5763
58- Responses ( application/json)
64+ Content-Type: ` application/json `
5965
6066A JSON object of a list of patterns with their evaluation scores in terms of percentages corresponding to their calculated ranking.
6167
68+ ``` json
6269{
6370 "EVENT_DRIVEN" : 16 ,
6471 "LAYERED" : 35 ,
@@ -67,6 +74,7 @@ A JSON object of a list of patterns with their evaluation scores in terms of per
6774 "SERVICE_ORIENTED" : 11 ,
6875 "SPACE_BASED" : 17
6976}
77+ ```
7078
7179## Application
7280
@@ -103,4 +111,7 @@ Example POST request: https://api.dev.smartclide.eu/architectural-patterns/appli
103111
104112### Response
105113
106- A repository URL on GitHub, e.g., https://github.com/che-samples/web-java-spring-boot
114+ Content-Type: ` text/plain `
115+
116+ A repository URL on GitHub, e.g., ` https://github.com/che-samples/web-java-spring-boot `
117+
0 commit comments