Complete the examples --> openApi migration; affects [node sonar travis wordpress visualstudio librariesio] (#9977)

* you missed one

* remove examples from deprecatedService()

I'm not going to replace this with openApi
We have zero examples of deprecated services that declare examples

* remove examples from redirector()

* update test

* remove compatibility code for converting examples to openApi

* remove all the code for handling examples

* remove a few bits of redundant code

* improve docs for openApi property

* last one, I promise
This commit is contained in:
chris48s
2024-02-24 18:14:44 +00:00
committed by GitHub
parent 8ab9dfa9a1
commit 9cfd301b82
23 changed files with 194 additions and 941 deletions

View File

@@ -350,8 +350,6 @@ Save, run `npm start`, and you can see it [locally](http://127.0.0.1:3000/).
If you update `openApi`, you don't have to restart the server. Run `npm run prestart` in another terminal window and the frontend will update.
Note: Some services define this information in an array property called `examples`. This is deprecated and we're in the process of converting them. New services should declare an `openApi` object.
### (4.5) Write Tests<!-- Change the link below when you change the heading -->
[write tests]: #45-write-tests