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
8 files changed
tree: 8e4f3a202a7927469ac7af5800ce3ad0bfa46348
  1. aai-annotations/
  2. aai-queries/
  3. aai-schema/
  4. aai-schema-gen/
  5. aai-schema-service/
  6. plantuml/
  7. releases/
  8. .editorconfig
  9. .gitattributes
  10. .gitignore
  11. .gitreview
  12. generate-uml-snapshot.sh
  13. INFO.yaml
  14. LICENSE.TXT
  15. LICENSE_ALT1.txt
  16. onap-java-formatter.xml
  17. pom.xml
  18. README.md
  19. version.properties
  20. yaml2json.py
README.md

AAI Schema Service

Development

Local setup

In order to start the service locally, here is what needs to be done

mvn clean install 

Above command only needs to be run the first time.

The command below actually starts the microservice

mvn -pl aai-schema-service -PrunAjsc

Run code formatter

mvn formatter:format spotless:apply process-sources