Update schema processing from swagger 2.0 to openapi 3.0
The api-doc of amivapi has changed from Swagger 2.0 to OpenAPI 3.0. Therefore, we have to update the processing of that schema.
Only minor changes were necessary as OpenAPI 3.0 is the successor of Swagger 2.0.