Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: database API OpenAPI spec and location #10303

Merged
merged 3 commits into from
Jul 16, 2020

Conversation

dpgaspar
Copy link
Member

@dpgaspar dpgaspar commented Jul 13, 2020

SUMMARY

Cuts verbosity down from OpenAPI spec, using marshmallow schemas to define the API response.
Also changes the database API location, and cuts the cord from DatabaseMixin shared between ModelView and ModelRestApi.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

New improved spec for api/v1/database/{pk}/table/{table_name}/{schema_name}/

Screenshot 2020-07-15 at 15 59 46

TEST PLAN

Manually check OpenAPI spec on swagger view

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Requires DB Migration.
  • Confirm DB Migration upgrade and downgrade tested.
  • Introduces new feature or API
  • Removes existing feature or API

@dpgaspar dpgaspar marked this pull request as ready for review July 15, 2020 15:07
@dpgaspar dpgaspar closed this Jul 15, 2020
@dpgaspar dpgaspar reopened this Jul 15, 2020
@dpgaspar dpgaspar merged commit 4529812 into apache:master Jul 16, 2020
@dpgaspar dpgaspar deleted the refactor/database-api branch July 16, 2020 08:02
auxten pushed a commit to auxten/incubator-superset that referenced this pull request Nov 20, 2020
* refactor: database API OpenAPI spec and location

* fix isort and license

* fix description
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.38.0 labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.38.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants