You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/05/19 16:51:34 UTC

[GitHub] [superset] jtornblad opened a new issue #14715: OpenAPI specification returned by /api/v1/_openapi contains errors and numerous warnings

jtornblad opened a new issue #14715:
URL: https://github.com/apache/superset/issues/14715


   Operating system name and version: MacOS 10.15 but n/a 
   Superset version: 1.10
   
   Detailed steps to reproduce the bug:
   
   1. Save JSON response from http://SUPERSET_HOST/api/v1/_openapi to file
   2. Import JSON file with https://editor.swagger.io/
   
   Observe these errors:
   
   Structural error at paths./chart/import/.post.requestBody.content.multipart/form-data.schema.properties.overwrite.type
   should be equal to one of the allowed values
   allowedValues: array, boolean, integer, number, object, string
   Jump to line 4973
   Structural error at paths./dashboard/import/.post.requestBody.content.multipart/form-data.schema.properties.overwrite.type
   should be equal to one of the allowed values
   allowedValues: array, boolean, integer, number, object, string
   Jump to line 5818
   Structural error at paths./database/import/.post.requestBody.content.multipart/form-data.schema.properties.overwrite.type
   should be equal to one of the allowed values
   allowedValues: array, boolean, integer, number, object, string
   Jump to line 6260
   Semantic error at paths./database/{pk}/select_star/{table_name}/.get.parameters.2.name
   Path parameter "schema_name" must have the corresponding {schema_name} segment in the "/database/{pk}/select_star/{table_name}/" path
   Jump to line 6566
   Structural error at paths./dataset/import/.post.requestBody.content.multipart/form-data.schema.properties.overwrite.type
   should be equal to one of the allowed values
   allowedValues: array, boolean, integer, number, object, string
   Jump to line 6948
   Semantic error at paths./dataset/{pk}.put.parameters.1.name
   Path parameter "override_columns" must have the corresponding {override_columns} segment in the "/dataset/{pk}" path
   Jump to line 7118
   Structural error at paths./dataset/{pk}.put.parameters.1.schema.type
   should be equal to one of the allowed values
   allowedValues: array, boolean, integer, number, object, string
   Jump to line 7121
   
   Additionally, there are many warnings about unused object definitions.


-- 
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] betodealmeida commented on issue #14715: OpenAPI specification returned by /api/v1/_openapi contains errors and numerous warnings

Posted by GitBox <gi...@apache.org>.
betodealmeida commented on issue #14715:
URL: https://github.com/apache/superset/issues/14715#issuecomment-848296964


   I fixed the API. The only error that I see now is:
   
   > Semantic error at paths./database/{pk}/select_star/{table_name}/.get.parameters.2.name
   Path parameter "schema_name" must have the corresponding {schema_name} segment in the "/database/{pk}/select_star/{table_name}/" path
   Jump to line 7650
   
   Which I'm not sure how to handle since a single method is exposed in 2 different paths (one without `schema_name`).


-- 
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org