Skip to content

Commit

Permalink
Feature/swagger spec (#332)
Browse files Browse the repository at this point in the history
* Add v3.0 of swagger.yaml

* Add initial swagger.yaml pushign via GitHub Actions

* Test commit

* Switch to PUT for pushing to Swagger API

* Update Swagger API url for posting

* Use SwaggerHub CLI

* Reset swagger.yaml

* Change url parameter names

* Add main_viewpoint_guid property to Swagger (#333)

* Add main_viewpoint_guid property to Swagger

* Rename property

* Add markers to Swagger spec (#334)

* Remove BIM Snippet in Swagger spec (#335)

* Add topic file ids to viewpoints (#336)

* Swagger custom fields (#341)

* Swagger custom fields

* Update missing objects

* Fix schema errors

---------

Co-authored-by: Jon Anders Sollien <jon.anders.sollien@catenda.no>

* Include related topics in topic model (#343)

* Add viewpoint audit information (#342)

* Feature/translucency in swagger (#344)

* Add models for translucency

* Add endpoint to get translucency

* Update to reflect changes from d92ce0d

* Add topic relations to Swagger spec

* Update swagger.yaml

Co-authored-by: Georg Dangl <10274404+GeorgDangl@users.noreply.github.com>

* Update swagger.yaml

Co-authored-by: Georg Dangl <10274404+GeorgDangl@users.noreply.github.com>

* Update swagger.yaml

Co-authored-by: Georg Dangl <10274404+GeorgDangl@users.noreply.github.com>

* Update swagger.yaml

Co-authored-by: Georg Dangl <10274404+GeorgDangl@users.noreply.github.com>

* Update swagger.yaml

Co-authored-by: Georg Dangl <10274404+GeorgDangl@users.noreply.github.com>

* Update swagger.yaml

Co-authored-by: Georg Dangl <10274404+GeorgDangl@users.noreply.github.com>

* Update swagger.yaml

Co-authored-by: Georg Dangl <10274404+GeorgDangl@users.noreply.github.com>

* Update swagger.yaml

Co-authored-by: Georg Dangl <10274404+GeorgDangl@users.noreply.github.com>

* Update swagger.yaml

Co-authored-by: Jon Anders Sollien <jon.anders.sollien@catenda.no>

* Update swagger.yaml

Co-authored-by: Jon Anders Sollien <jon.anders.sollien@catenda.no>

* Update params for translucency endpoint

* Update params for related_topics endpoint

* Feature/id and name in swagger spec (#351)

* Add user_GET model and use it in author fields

* Update event action

* Add extension related changes to Swagger

* Fix errors in Swagger

* Remove JSON schemas

* Add date format

* Add readOnly (#354)

* Fix warnings according to Swagger tool

* Only deploy Swagger spec when in master branch

* Add colors to lines

* Feature/update links to swagger spec (#355)

* Update all links from local embedded schemas to Swagger spec on SwaggerHub

* Fix broken links

---------

Co-authored-by: pkoska <pkoska@xmil.de>
Co-authored-by: Jon Anders Sollien <jon.anders.sollien@catenda.no>
  • Loading branch information
3 people authored Jul 15, 2024
1 parent edfde64 commit 222198c
Show file tree
Hide file tree
Showing 67 changed files with 2,943 additions and 1,471 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/swagger-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: swagger-update

on: [push]

jobs:
ubuntu-latest:
name: ubuntu-latest
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: Install SwaggerHub CLI
run: 'npm i -g swaggerhub-cli'
- name: Push Swagger API to Swagger Hub
run: 'swaggerhub api:update buildingSMART/BCF/4.0 -f swagger.yaml'
env:
SWAGGERHUB_API_KEY: ${{ secrets.SWAGGER_HUB_API_KEY }}
107 changes: 54 additions & 53 deletions README.md

Large diffs are not rendered by default.

10 changes: 0 additions & 10 deletions Schemas/Collaboration/Action/comment_actions.json

This file was deleted.

11 changes: 0 additions & 11 deletions Schemas/Collaboration/Action/project_actions.json

This file was deleted.

15 changes: 0 additions & 15 deletions Schemas/Collaboration/Action/topic_actions.json

This file was deleted.

7 changes: 0 additions & 7 deletions Schemas/Collaboration/Action/viewpoint_actions.json

This file was deleted.

46 changes: 0 additions & 46 deletions Schemas/Collaboration/Comment/comment_GET.json

This file was deleted.

18 changes: 0 additions & 18 deletions Schemas/Collaboration/Comment/comment_POST.json

This file was deleted.

14 changes: 0 additions & 14 deletions Schemas/Collaboration/Comment/comment_PUT.json

This file was deleted.

14 changes: 0 additions & 14 deletions Schemas/Collaboration/Document/document_GET.json

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

29 changes: 0 additions & 29 deletions Schemas/Collaboration/Events/comment_event_GET.json

This file was deleted.

13 changes: 0 additions & 13 deletions Schemas/Collaboration/Events/event_action.json

This file was deleted.

12 changes: 0 additions & 12 deletions Schemas/Collaboration/Events/event_action_value.json

This file was deleted.

25 changes: 0 additions & 25 deletions Schemas/Collaboration/Events/topic_event_GET.json

This file was deleted.

32 changes: 0 additions & 32 deletions Schemas/Collaboration/File/file_GET.json

This file was deleted.

26 changes: 0 additions & 26 deletions Schemas/Collaboration/File/file_PUT.json

This file was deleted.

16 changes: 0 additions & 16 deletions Schemas/Collaboration/File/project_file_display_information.json

This file was deleted.

13 changes: 0 additions & 13 deletions Schemas/Collaboration/File/project_file_information.json

This file was deleted.

Loading

0 comments on commit 222198c

Please sign in to comment.