[Question] What is recommended practices for developers when making changes to our api specification
- Lingua principale
- C#
- Stelle
- 448
- Fork
- 247
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### Release version
Not sure
### Question Details
Creating a new API in APIM from an API spec (using swagger) is super easy with some caveats.
Go into API, upload openAPI spec, run extract pipeline, the artifacts here and there, and then commit and publish.
Where i'm struggling is making modifications. There are so many things that differ when running in APIM vs what is extracted from a swagger API spec makes this very difficult. For example, all my serviceUrls, OAuth security protocols, examples, etc get wiped or modified even adding a single property to an API is annoying.
We basically have to manually do everything, or optionally completely republish/extract but that removes API from developer portal during the process.
### Expected behavior
Maybe break up api specification up in a way that might be easier to digest and only need to modify particular files. Maybe provide a openapi specification (extracted from service) and have overrides in other configuration files for securityschemas as an example.
### Actual behavior
everything is contained in api specification
### Reproduction Steps
I think i put enough detail above.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia con il flusso della pipeline di caricamento ed estrazione della specifica API descritto nell’issue, inclusi gli artefatti generati e il passaggio di pubblicazione in APIM. Esamina come gli URL dei servizi, i protocolli di sicurezza OAuth, gli esempi e le proprietà aggiunte sono rappresentati nella specifica estratta e in APIM. Il lavoro sarà considerato completato quando sarà definito un approccio per modificare parti selezionate della specifica senza cancellare le impostazioni di APIM né rimuovere l’API dal portale per sviluppatori.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- azure
- Ambito
- api, devops
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 30/100