davidmoten / openapi-codegen

OpenAPI Java client and Spring server generator, strong typing, immutability, fail-fast validation, chained builders, feature rich
Apache License 2.0
8 stars 1 forks source link

openapi-directory 3.0 generation failures #181

Open davidmoten opened 2 months ago

davidmoten commented 2 months ago

Generation+compilation is passing 93% of openapi-directory 3.0 definitions.

Compilation failures to investigate (69 out of 1863):

codegenc ./APIs/ably.net/control/1.0.14/openapi.yaml
codegenc ./APIs/amazonaws.com/apigateway/2015-07-09/openapi.yaml
codegenc ./APIs/amazonaws.com/appflow/2020-08-23/openapi.yaml
codegenc ./APIs/amazonaws.com/appintegrations/2020-07-29/openapi.yaml
codegenc ./APIs/amazonaws.com/cloudfront/2016-11-25/openapi.yaml
codegenc ./APIs/amazonaws.com/cloudfront/2017-03-25/openapi.yaml
codegenc ./APIs/amazonaws.com/cloudfront/2017-10-30/openapi.yaml
codegenc ./APIs/amazonaws.com/cloudfront/2018-06-18/openapi.yaml
codegenc ./APIs/amazonaws.com/codedeploy/2014-10-06/openapi.yaml
codegenc ./APIs/amazonaws.com/connect/2017-08-08/openapi.yaml
codegenc ./APIs/amazonaws.com/customer-profiles/2020-08-15/openapi.yaml
codegenc ./APIs/amazonaws.com/ec2/2016-11-15/openapi.yaml - file name too long
codegenc ./APIs/amazonaws.com/es/2015-01-01/openapi.yaml
codegenc ./APIs/amazonaws.com/lambda/2014-11-11/openapi.yaml - method asMap() is already defined
codegenc ./APIs/amazonaws.com/s3/2006-03-01/openapi.yaml
codegenc ./APIs/amazonaws.com/verifiedpermissions/2021-12-01/openapi.yaml
codegenc ./APIs/amazonaws.com/wafv2/2019-07-29/openapi.yaml - JsonDerializer.None name clash
codegenc ./APIs/appcenter.ms/v0.1/openapi.yaml - enum constructor cannot be public
codegenc ./APIs/apple.com/app-store-connect/1.4.1/openapi.yaml
codegenc ./APIs/asana.com/1.0/openapi.yaml
codegenc ./APIs/ato.gov.au/0.0.6/openapi.yaml
codegenc ./APIs/beezup.com/2.0/openapi.yaml
codegenc ./APIs/box.com/2.0.0/openapi.yaml
codegenc ./APIs/formapi.io/v1/openapi.yaml
codegenc ./APIs/googleapis.com/compute/alpha/openapi.yaml
codegenc ./APIs/googleapis.com/compute/beta/openapi.yaml
codegenc ./APIs/googleapis.com/compute/v1/openapi.yaml
codegenc ./APIs/googleapis.com/contentwarehouse/v1/openapi.yaml
codegenc ./APIs/googleapis.com/dataproc/v1/openapi.yaml
codegenc ./APIs/ideal-postcodes.co.uk/3.7.0/openapi.yaml
codegenc ./APIs/jellyfin.local/v1/openapi.yaml
codegenc ./APIs/journy.io/1.0.0/openapi.yaml
codegenc ./APIs/linqr.app/2.0/openapi.yaml
codegenc ./APIs/loket.nl/V2/openapi.yaml
codegenc ./APIs/mailscript.com/0.4.0/openapi.yaml
codegenc ./APIs/mastodon.local/1.0/openapi.yaml
codegenc ./APIs/microsoft.com/graph/1.0.1/openapi.yaml
codegenc ./APIs/netatmo.net/1.1.5/openapi.yaml
codegenc ./APIs/netboxdemo.com/2.4/openapi.yaml
codegenc ./APIs/netbox.dev/3.4/openapi.yaml
codegenc ./APIs/nexmo.com/application/1.0.2/openapi.yaml
codegenc ./APIs/nexmo.com/conversation/2.0.1/openapi.yaml
codegenc ./APIs/nexmo.com/reports/2.2.2/openapi.yaml
codegenc ./APIs/nexmo.com/sms/1.2.0/openapi.yaml
codegenc ./APIs/noosh.com/1.0/openapi.yaml
codegenc ./APIs/openbanking.org.uk/account-info-openapi/3.1.7/openapi.yaml
codegenc ./APIs/openbanking.org.uk/v1.3/openapi.yaml
codegenc ./APIs/plaid.com/2020-09-14_1.345.1/openapi.yaml
codegenc ./APIs/probely.com/1.2.0/openapi.yaml
codegenc ./APIs/rebilly.com/2.1/openapi.yaml
codegenc ./APIs/scideas.net/regression/1.0/openapi.yaml
codegenc ./APIs/shutterstock.com/1.1.32/openapi.yaml
codegenc ./APIs/sportsdata.io/nfl-v3-scores/1.0/openapi.yaml
codegenc ./APIs/sportsdata.io/nfl-v3-stats/1.0/openapi.yaml
codegenc ./APIs/spotify.com/sonallux/2023.2.27/openapi.yaml
codegenc ./APIs/twinehealth.com/v7.78.1/openapi.yaml
codegenc ./APIs/visualstudio.com/v1/openapi.yaml
codegenc ./APIs/vmware.local/vrni/1.0.0/openapi.yaml
codegenc ./APIs/vtex.local/Catalog-API/1.0/openapi.yaml
codegenc ./APIs/vtex.local/Checkout-API/1.0/openapi.yaml
codegenc ./APIs/vtex.local/Marketplace-APIs-/1.0/openapi.yaml
codegenc ./APIs/vtex.local/Marketplace-APIs/1.0/openapi.yaml
codegenc ./APIs/vtex.local/Message-Center-API/1.0.0/openapi.yaml
codegenc ./APIs/vtex.local/Payments-Gateway-API/1.0/openapi.yaml
codegenc ./APIs/vtex.local/Policies-System-API/1.0.0/openapi.yaml
codegenc ./APIs/vtex.local/Profile-System/1.0/openapi.yaml
codegenc ./APIs/vtex.local/Search-API/1.0/openapi.yaml
codegenc ./APIs/wealthreader.com/1.0.0/openapi.yaml
codegenc ./APIs/xtrf.eu/2.0/openapi.yaml

Output

davidmoten commented 2 months ago

UPDATE: after some fixes have been merged there are 46 compile failures, 65 generation failures out of 1863, totalling 94% success rate with 3.0 definitions, openapi-directory commit [433a94f3e], openapi-codegen commit dbac7c0f. A significant number of these failures will be because of non-compliance with the openapi standard (that are not detected by swagger-parser lib) but there will still be work to do.

oc-202405061401.log

davidmoten commented 1 month ago

187 addresses 3 compile failures