romusz opened a new issue, #9070:
URL: https://github.com/apache/iceberg/issues/9070

   ### Apache Iceberg version
   
   1.4.2 (latest release)
   
   ### Query engine
   
   None
   
   ### Please describe the bug 🐞
   
   Hi,
   
   Trying to generate Go code from `rest-catalog-open-api.yaml` (tested on the 
last 3 versions of the spec) results in an error:
   ```sh
   > oapi-codegen -package iceberg rest-catalog-open-api.yaml > iceberg.gen.go
   error loading swagger spec in rest-catalog-open-api.yaml
   : kin-openapi bug found: circular schema reference not handled - 
#/components/schemas/LoadTableResult -> #/components/schemas/TableMetadata -> 
#/components/schemas/Schema -> #/components/schemas/StructType -> 
#/components/schemas/StructField -> #/components/schemas/Type -> 
#/components/schemas/ListType -> #/components/schemas/Type -> 
#/components/schemas/MapType -> #/components/schemas/Type -> 
#/components/schemas/MapType -> #/components/schemas/Type%        
   ```
   
   Using: https://github.com/deepmap/oapi-codegen


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to