diff options
author | 2022-12-07 13:52:46 +0000 | |
---|---|---|
committer | 2022-12-07 15:55:11 +0000 | |
commit | 1e2d336a332c3b58d07ebc6d4e9c448178281ee3 (patch) | |
tree | 8e4f3a202a7927469ac7af5800ce3ad0bfa46348 /aai-schema-gen/pom.xml | |
parent | 33db2e9d0c0e9da96a7507b1695cbfa2e5394489 (diff) |
Generated AAI Swagger file has schema violations
Fixes for violations
- provide a valid host (localhost) for the `host` key
- remove `example` keys for parameters
- remove `also requires` property from definitions
Other changes
- remove the license header from description and add it instead as a yaml comment (like we do it for any other file)
- remove the `contact` block since it does not contain actual contact information
- remove the reference to the AT&T wiki for the default response codes
- remove `description: n/a` values in parameters that are set when there is no description available
Issue-ID: AAI-3611
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I057f7f3a49a861891c49b52bff80e5a9810f18a7
Diffstat (limited to 'aai-schema-gen/pom.xml')
-rw-r--r-- | aai-schema-gen/pom.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/aai-schema-gen/pom.xml b/aai-schema-gen/pom.xml index 31da141..5858cfe 100644 --- a/aai-schema-gen/pom.xml +++ b/aai-schema-gen/pom.xml @@ -202,7 +202,7 @@ </systemProperty> <systemProperty> <key>yamlresponses_label</key> - <value>Response codes found in [response codes]</value> + <value>Response codes are uniform across all endpoints.</value> </systemProperty> <systemProperty> <key>schema.configuration.location</key> @@ -472,7 +472,7 @@ </systemProperty> <systemProperty> <key>yamlresponses_label</key> - <value>Response codes found in [response codes]</value> + <value>Response codes are uniform across all endpoints.</value> </systemProperty> <systemProperty> <key>schema.configuration.location</key> |